[FFmpeg-devel] [PATCH]Support DVD-A files containing LPCM

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Aug 6 01:41:55 CEST 2013

Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:

> +      } else if (lpcm_header_len > 8

This is completely wrong, lpcm_header_len is only 
valid for DVD-A so it cannot be used to identify it.

Iiuc, vlc only uses the absence of lpcm dynamic 
range control to detect DVD-A (or do I misread the 
code?), I suspect this is not completely reliable.

DVD-A files are apparently always audio-only while 
DVD program streams always (?) contain a video 
stream, perhaps this should be used to identify 

Carl Eugen

More information about the ffmpeg-devel mailing list