Opened 13 years ago
Closed 4 years ago
#2758 closed defect (invalid)
DVD-A LPCM in vob cannot be decoded
| Reported by: | Underground78 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avformat |
| Version: | git-master | Keywords: | mpegps |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | no |
Description
Summary of the bug:
Sample: http://mpchc.omertabeyond.com/incorrect_audio_stream.AOB
This AOB sample is incorrectly detected as PCM audio.
How to reproduce:
% ffplay.exe incorrect_audio_stream.AOB
ffplay version N-54277-gff130d7 Copyright (c) 2003-2013 the FFmpeg developers
built on Jun 30 2013 01:20:12 with gcc 4.7.3 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 10.100 / 55. 10.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Input #0, mpeg, from 'incorrect_audio_stream.AOB':sq= 0B f=0/0
Duration: 00:04:18.27, start: 0.006500, bitrate: 6141 kb/s
Stream #0:0[0xa0]: Audio: pcm_s16be, 44100 Hz, 2 channels, s16, 1411 kb/s
[pcm_s16be @ 0464b240] Invalid PCM packet, data has size 8 but at least a size of 16 was expected
[pcm_s16be @ 0464b240] Invalid PCM packet, data has size 13 but at least a size of 16 was expected
Last message repeated 10 times
...
Attachments (2)
Change History (22)
follow-up: 5 comment:1 by , 13 years ago
comment:2 by , 13 years ago
| Summary: | AOB file detected as PCM file → MLP audio detected as PCM |
|---|
comment:3 by , 13 years ago
| Keywords: | mpegps thd added |
|---|
Which application plays the sample / are you sure it is not encrypted?
comment:5 by , 13 years ago
Replying to heleppkes:
To elaborate, the stream is actually supposed to be MLP instead of PCM.
Why do you think so?
From a quick look, this is 16bit PCM DVD-Audio, unsupported by FFmpeg.
comment:6 by , 13 years ago
Hm right, i tried to confirm its really MLP but i couldn't find the usual markers.
Thats what i get for believing the downstream error report.
by , 13 years ago
| Attachment: | patchpcm16dvd.diff added |
|---|
comment:7 by , 13 years ago
| Component: | undetermined → avformat |
|---|---|
| Reproduced by developer: | set |
| Status: | new → open |
| Summary: | MLP audio detected as PCM → 16bit PCM in vob cannot be decoded |
PoC attached.
comment:8 by , 13 years ago
| Keywords: | thd removed |
|---|
comment:11 by , 13 years ago
| Summary: | 16bit PCM in vob cannot be decoded → DVD-A LPCM in vob cannot be decoded |
|---|
comment:12 by , 13 years ago
I had sent a patch once that shows how this could be done (the detection is definitely wrong):
http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/166791
comment:16 by , 8 years ago
| Resolution: | → needs_more_info |
|---|---|
| Status: | open → closed |
It is not PCM-DVD it is not MLP, it is not anything else - broken file.
by , 8 years ago
| Attachment: | patchaobpcmpoc.diff added |
|---|
comment:19 by , 4 years ago
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |
comment:20 by , 4 years ago
| Resolution: | → invalid |
|---|---|
| Status: | reopened → closed |



To elaborate, the stream is actually supposed to be MLP instead of PCM.