[FFmpeg-devel] [PATCH] DCA-in-WAV detection

Kostya kostya.shishkov
Fri May 4 14:38:05 CEST 2007

On Fri, May 04, 2007 at 11:50:37AM +0200, Michael Niedermayer wrote:
> Hi
> On Fri, May 04, 2007 at 09:30:27AM +0100, M?ns Rullg?rd wrote:
> > Kostya <kostya.shishkov at gmail.com> writes:
> > 
> > > Here is my attempt on patch discussed on Febryary 2006 
> > > Thread called "[PATCH] Fix DTS in WAV file playback."
> > 
> > Wouldn't it be simpler to call av_probe_input_format or so on some
> > data from the start of the data section of the file?  That would also
> > take care of AC3 in WAV masquerading as PCM.
> Note, also see av_find_stream_info() code releated to codec_identified

I suppose that this is only WAV related and should be treated there.
Also it is gladly is not the common practice so I think checking for
those two formats is enough. While I haven't seen AC3 in WAV, DTS in WAV
seems to be a common practice (but still a hack).
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> No human being will ever know the Truth, for even if they happen to say it
> by chance, they would not even known they had done so. -- Xenophanes

More information about the ffmpeg-devel mailing list