[FFmpeg-devel] [PATCH] Detect DTS in wav (issue70) + about ac3-in-wav

Anssi Hannula anssi.hannula
Thu Jul 22 20:35:07 CEST 2010


Michael Niedermayer kirjoitti torstai, 22. hein?kuuta 2010 14:58:02:
> On Thu, Jul 22, 2010 at 02:57:43AM -0700, Kieran Kunhya wrote:
> > >   o All the ac3-in-wav files (at least all I have)
> > > seem to have 8 bytes before
> > >     every ac3 frame: 72 f8 1f 4e 01 00 10 57. I
> > > guess this case can be added
> > >     to the probe (either checking the byte values
> > > or not).
> > 
> > That's a SPDIF Preamble, which consists of a startcode and some data
> > fields.

I had a feeling someone might recognise it :)

> so i guess this should be handled through a spdif demuxer?

IMO that would be preferable, that would take care of all the endianness & 
padding stuff.

So, add another case to the needs-chained-demuxers list :)

> is teh dts case also wraped in spdif?

Nope.

I guess that might be because DTS doesn't need padding as its maximum bitrate 
is higher than the PCM bitrate.

-- 
Anssi Hannula



More information about the ffmpeg-devel mailing list