[FFmpeg-trac] #5472(undetermined:new): ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles
FFmpeg
trac at avcodec.org
Mon Apr 25 18:19:25 CEST 2016
#5472: ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles
-------------------------------------+-------------------------------------
Reporter: susnux | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: pgssub | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by susnux):
Tested also the current git head (static ffmpeg build from ffmpeg
website), same result.
Note: I think the real issue is when ripping the bluray using ffmpeg.
Because if I extract it with makeMKV it works (ffmpeg can then mux the
pgs, so it seems ffmpeg breaks the ffmpeg while extracting).
Note 2: I can not provide the video file due to legal reasons, in my
country private copies are allowed (e.g. I rip blurays to watch them on my
laptop which has no bd drive), but I am not allowed to share them.
Complete console output:
{{{
% ffmpeg -i a.mkv -map 0 -c copy b.mkv :(
ffmpeg version 3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8 (SUSE Linux)
configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64
--incdir=/usr/include/ffmpeg --extra-cflags='-fmessage-length=0 -grecord-
gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-
tables -fasynchronous-unwind-tables -g' --optflags='-fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables -g' --disable-htmlpages
--enable-pic --disable-stripping --enable-shared --disable-static
--enable-runtime-cpudetect --enable-gpl --disable-openssl --enable-
avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-
libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-
libdc1394 --enable-libfreetype --enable-libgsm --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger --enable-
libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-
libwebp --enable-pic --enable-pthreads --enable-vaapi --enable-vdpau
--disable-decoder=dca --enable-libdcadec --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-
libtwolame --enable-libx264 --enable-libx265 --enable-libxvid --enable-
x11grab
libavutil 55. 17.103 / 55. 17.103
libavcodec 57. 24.102 / 57. 24.102
libavformat 57. 25.100 / 57. 25.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 31.100 / 6. 31.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
[matroska,webm @ 0x1ee3520] Could not find codec parameters for stream 4
(Subtitle: hdmv_pgs_subtitle): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, matroska,webm, from 'a.mkv':
Metadata:
encoder : libebml v1.3.3 + libmatroska v1.4.4
creation_time : 2016-04-22 01:22:25
Duration: 01:59:29.50, start: 0.000000, bitrate: 20864 kb/s
Chapter #0:0: start 0.000000, end 374.458333
Chapter #0:1: start 374.458333, end 734.375000
Chapter #0:2: start 734.375000, end 1113.416667
Chapter #0:3: start 1113.416667, end 1404.125000
Chapter #0:4: start 1404.125000, end 1804.916667
Chapter #0:5: start 1804.916667, end 2184.250000
Chapter #0:6: start 2184.250000, end 2427.291667
Chapter #0:7: start 2427.291667, end 2778.166667
Chapter #0:8: start 2778.166667, end 3114.250000
Chapter #0:9: start 3114.250000, end 3377.791667
Chapter #0:10: start 3377.791667, end 3695.291667
Chapter #0:11: start 3695.291667, end 4015.375000
Chapter #0:12: start 4015.375000, end 4186.000000
Chapter #0:13: start 4186.000000, end 4512.625000
Chapter #0:14: start 4512.625000, end 4807.208333
Chapter #0:15: start 4807.208333, end 5074.041667
Chapter #0:16: start 5074.041667, end 5380.333333
Chapter #0:17: start 5380.333333, end 5750.041667
Chapter #0:18: start 5750.041667, end 6137.333333
Chapter #0:19: start 6137.333333, end 6474.333333
Chapter #0:20: start 6474.333333, end 6825.041667
Chapter #0:21: start 6825.041667, end 7169.500000
Stream #0:0: Video: h264 (High), yuv420p(tv, bt709), 1920x1080 [SAR
1:1 DAR 16:9], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
Stream #0:1(ger): Audio: dts (DTS-HD HRA), 48000 Hz, 5.1(side), s32p
(24 bit) (default)
Metadata:
title : 5.1 DTS-HRA
Stream #0:2(eng): Audio: dts (DTS-HD HRA), 48000 Hz, 5.1(side), s32p
(24 bit)
Metadata:
title : 5.1 DTS-HRA
Stream #0:3(eng): Audio: ac3, 48000 Hz, stereo, fltp, 224 kb/s
Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle (default)
Metadata:
title : Vollständig
Output #0, matroska, to 'b.mkv':
Metadata:
encoder : Lavf57.25.100
Chapter #0:0: start 0.000000, end 374.458333
Chapter #0:1: start 374.458333, end 734.375000
Chapter #0:2: start 734.375000, end 1113.416667
Chapter #0:3: start 1113.416667, end 1404.125000
Chapter #0:4: start 1404.125000, end 1804.916667
Chapter #0:5: start 1804.916667, end 2184.250000
Chapter #0:6: start 2184.250000, end 2427.291667
Chapter #0:7: start 2427.291667, end 2778.166667
Chapter #0:8: start 2778.166667, end 3114.250000
Chapter #0:9: start 3114.250000, end 3377.791667
Chapter #0:10: start 3377.791667, end 3695.291667
Chapter #0:11: start 3695.291667, end 4015.375000
Chapter #0:12: start 4015.375000, end 4186.000000
Chapter #0:13: start 4186.000000, end 4512.625000
Chapter #0:14: start 4512.625000, end 4807.208333
Chapter #0:15: start 4807.208333, end 5074.041667
Chapter #0:16: start 5074.041667, end 5380.333333
Chapter #0:17: start 5380.333333, end 5750.041667
Chapter #0:18: start 5750.041667, end 6137.333333
Chapter #0:19: start 6137.333333, end 6474.333333
Chapter #0:20: start 6474.333333, end 6825.041667
Chapter #0:21: start 6825.041667, end 7169.500000
Stream #0:0: Video: h264 (H264 / 0x34363248), yuv420p, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 24 fps, 24 tbr, 1k tbn, 1k tbc (default)
Stream #0:1(ger): Audio: dts (DTS-HD HRA) ([1] [0][0] / 0x2001), 48000
Hz, 5.1(side) (24 bit) (default)
Metadata:
title : 5.1 DTS-HRA
Stream #0:2(eng): Audio: dts (DTS-HD HRA) ([1] [0][0] / 0x2001), 48000
Hz, 5.1(side) (24 bit)
Metadata:
title : 5.1 DTS-HRA
Stream #0:3(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
224 kb/s
Stream #0:4(ger): Subtitle: hdmv_pgs_subtitle ([255][255][255][255] /
0xFFFFFFFF) (default)
Metadata:
title : Vollständig
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Stream #0:2 -> #0:2 (copy)
Stream #0:3 -> #0:3 (copy)
Stream #0:4 -> #0:4 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x2020ba0] Application provided invalid, non monotonically
increasing dts to muxer in stream 4: 14875 >= 14874
av_interleaved_write_frame(): Invalid argument
frame= 358 fps=0.0 q=-1.0 Lsize= 23484kB time=00:00:15.00
bitrate=12818.4kbits/s speed= 136x
video:15586kB audio:7870kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.118415%
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5472#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list