Opened 11 years ago

Closed 2 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)

patchpcm16dvd.diff (816 bytes ) - added by Carl Eugen Hoyos 11 years ago.
patchaobpcmpoc.diff (438 bytes ) - added by Carl Eugen Hoyos 5 years ago.

Download all attachments as: .zip

Change History (22)

comment:1 by Hendrik, 11 years ago

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

comment:2 by Underground78, 11 years ago

Summary: AOB file detected as PCM fileMLP audio detected as PCM

comment:3 by Carl Eugen Hoyos, 11 years ago

Keywords: mpegps thd added

Which application plays the sample / are you sure it is not encrypted?

comment:4 by Underground78, 11 years ago

VLC works fine for example.

in reply to:  1 comment:5 by Carl Eugen Hoyos, 11 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 Hendrik, 11 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 Carl Eugen Hoyos, 11 years ago

Attachment: patchpcm16dvd.diff added

comment:7 by Carl Eugen Hoyos, 11 years ago

Component: undeterminedavformat
Reproduced by developer: set
Status: newopen
Summary: MLP audio detected as PCM16bit PCM in vob cannot be decoded

PoC attached.

comment:8 by Carl Eugen Hoyos, 11 years ago

Keywords: thd removed

comment:9 by Elon Musk, 11 years ago

What created such sample?

comment:10 by Underground78, 11 years ago

I honestly don't know and I'm afraid I can't get that info either. :/

comment:11 by Carl Eugen Hoyos, 11 years ago

Summary: 16bit PCM in vob cannot be decodedDVD-A LPCM in vob cannot be decoded

comment:12 by Carl Eugen Hoyos, 10 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:13 by Elon Musk, 6 years ago

Is sample still available somewhere?

comment:14 by Underground78, 6 years ago

Unfortunately I don't have it anymore. Sorry! :/

comment:16 by Elon Musk, 5 years ago

Resolution: needs_more_info
Status: openclosed

It is not PCM-DVD it is not MLP, it is not anything else - broken file.

comment:17 by Carl Eugen Hoyos, 5 years ago

Resolution: needs_more_info
Status: closedreopened

Still pcm_s16be

by Carl Eugen Hoyos, 5 years ago

Attachment: patchaobpcmpoc.diff added

comment:18 by Elon Musk, 5 years ago

This is invalid file.

comment:19 by Elon Musk, 2 years ago

Resolution: invalid
Status: reopenedclosed

comment:20 by Elon Musk, 2 years ago

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.