Opened 7 years ago

Closed 6 years ago

#6563 closed defect (fixed)

LPCM is recognised as MLP in VOB

Reported by: macdavis Owned by:
Priority: important Component: avformat
Version: git-master Keywords: mpegps regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
The sample file can be downloaded here. http://s1.demo-world.eu/sd_trailers.php?file=dts_sparks_sprite_suite_mix-DWEU.vob
The second audio track is LPCM while FFmpeg recognises as MLP and fails to decode it.
How to reproduce:

ffmpeg -i /Volumes/RamDisk/dts_sparks_sprite_suite_mix-DWEU.vob -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
[mpeg @ 0x7fe625002600] start time for stream 3 is not set in estimate_timings_from_pts
[mpeg @ 0x7fe625002600] Could not find codec parameters for stream 3 (Audio: mlp, 0 channels): unspecified sample format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mpeg, from '/Volumes/RamDisk/dts_sparks_sprite_suite_mix-DWEU.vob':
  Duration: 00:00:18.68, start: 0.300300, bitrate: 9240 kb/s
    Stream #0:0[0x1bf]: Data: dvd_nav_packet
    Stream #0:1[0x1e0]: Video: mpeg2video (Main), yuv420p(tv, top first), 720x480 [SAR 32:27 DAR 16:9], 6000 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:2[0x88]: Audio: dts (DTS-ES), 48000 Hz, 6.1, fltp, 1536 kb/s
    Stream #0:3[0xa1]: Audio: mlp, 0 channels
Stream mapping:
  Stream #0:1 -> #0:0 (mpeg2video (native) -> wrapped_avframe (native))
  Stream #0:2 -> #0:1 (dts (dca) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Video: wrapped_avframe, yuv420p(top coded first (swapped)), 720x480 [SAR 32:27 DAR 16:9], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc
    Metadata:
      encoder         : Lavc57.102.100 wrapped_avframe
    Stream #0:1: Audio: pcm_s16le, 48000 Hz, 6.1, s16, 5376 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
[null @ 0x7fe62503e200] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 475 >= 475
frame=  504 fps=0.0 q=-0.0 Lsize=N/A time=00:00:18.68 bitrate=N/A speed=63.5x    
video:260kB audio:12264kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

Change History (2)

comment:1 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: mpegps regression added
Priority: normalimportant
Reproduced by developer: set
Status: newopen

Regression since fb9036b3142e06631a70810c3d779f8e2d9f180c, related to #4786.

comment:2 by Elon Musk, 6 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.