[Ffmpeg-devel] [BUG] PCM audio from VOB files always decodes as 16 bit.

Baptiste Coudurier baptiste.coudurier
Fri Jan 26 10:40:18 CET 2007


Allan Hsu wrote:
> I noticed this bug today while trying to transcode a VOB file. The
> PCM track on the DVD is labeled "HD PCM" and I suspect that the PCM
> data is 20 or 24 bits per sample. ffmpeg identifies the PCM track as
> pcm_s16be and tries to decode it as such. The resulting file has an
> audio track that contains what sounds like noise plus what sounds
> like the proper audio, slowed down. The audio stream on the resulting
> file is also much longer than the video stream. I've uploaded the
> file to the FTP as neko.vob and the ffmpeg output is here:

Yes that's a bug in the mpeg demuxer. A patch relies on the list archive
though, it enables support for 20bit and 24bit per sample lpcm.

[Ffmpeg-devel] [PATCH] lpcm 20 and 24 bit support in MPEG PS

Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312

More information about the ffmpeg-devel mailing list