[FFmpeg-trac] #5472(undetermined:closed): ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles

FFmpeg trac at avcodec.org
Wed Oct 5 16:43:12 EEST 2016


#5472: ffmpeg: invalid dts - ffmpeg can not handle pgs subtitles
-------------------------------------+-------------------------------------
             Reporter:  susnux       |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
              Version:  unspecified  |  undetermined
             Keywords:  pgssub       |               Resolution:
             Blocking:               |  needs_more_info
Analyzed by developer:  0            |               Blocked By:
                                     |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by hawken):

 I'll update the file in a second.
 {{{
 hawken at athena:~/sample1$ ffmpeg -i sample1.mkv -i sample1.pgs -map 0 -map
 1 -c copy sample1-broken.mkv
 ffmpeg version N-81874-ge705d62 Copyright (c) 2000-2016 the FFmpeg
 developers
   built with gcc 6.1.1 (Debian 6.1.1-11) 20160802
   configuration: --prefix=/usr/local/ --enable-gpl --enable-version3
 --enable-nonfree --enable-shared --enable-avisynth --enable-chromaprint
 --enable-fontconfig --enable-frei0r --enable-gmp --enable-gnutls --enable-
 ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-
 libcaca --enable-libcdio --enable-libdc1394 --enable-libfdk-aac --enable-
 libflite --enable-libfreetype --enable-libfribidi --enable-libgme
 --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-
 libopencore-amrnb --enable-libopencore-amrwb --enable-libopencv --enable-
 libopenjpeg --enable-libopus --enable-libpulse --enable-librubberband
 --enable-librtmp --enable-libschroedinger --enable-libshine --enable-
 libsmbclient --enable-libsnappy --enable-libsoxr --enable-libspeex
 --enable-libssh --enable-libtheora --enable-libtwolame --enable-libv4l2
 --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-
 libxcb --enable-libxcb-shm --enable-libxcb-xfixes --enable-libxcb-shape
 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-netcdf
 --enable-openal --enable-opencl --enable-opengl --arch=x86_64 --extra-
 cflags='-march=native'
   libavutil      55. 32.100 / 55. 32.100
   libavcodec     57. 60.101 / 57. 60.101
   libavformat    57. 51.102 / 57. 51.102
   libavdevice    57.  0.102 / 57.  0.102
   libavfilter     6. 63.100 /  6. 63.100
   libswscale      4.  1.100 /  4.  1.100
   libswresample   2.  2.100 /  2.  2.100
   libpostproc    54.  0.100 / 54.  0.100
 Input #0, matroska,webm, from 'sample1.mkv':
   Metadata:
     ENCODER         : Lavf57.36.100
   Duration: 00:00:09.88, start: 0.000000, bitrate: 531 kb/s
     Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR
 16:9], 25 fps, 25 tbr, 1k tbn, 25 tbc (default)
     Metadata:
       ENCODER         : Lavc57.41.102 libx265
       DURATION        : 00:00:09.880000000
 Input #1, sup, from 'sample1.pgs':
   Duration: N/A, start: 0.000000, bitrate: N/A
     Stream #1:0: Subtitle: hdmv_pgs_subtitle, 1920x1080
 Output #0, matroska, to 'sample1-broken.mkv':
   Metadata:
     encoder         : Lavf57.51.102
     Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080 [SAR 1:1 DAR
 16:9], q=2-31, 25 fps, 25 tbr, 1k tbn, 1k tbc (default)
     Metadata:
       ENCODER         : Lavc57.41.102 libx265
       DURATION        : 00:00:09.880000000
     Stream #0:1: Subtitle: hdmv_pgs_subtitle ([255][255][255][255] /
 0xFFFFFFFF), 1920x1080
 Stream mapping:
   Stream #0:0 -> #0:0 (copy)
   Stream #1:0 -> #0:1 (copy)
 Press [q] to stop, [?] for help
 [matroska @ 0x1c05e20] Application provided invalid, non monotonically
 increasing dts to muxer in stream 1: 47721795 >= 521
 av_interleaved_write_frame(): Invalid argument
 frame=  247 fps=0.0 q=-1.0 Lsize=     644kB time=13:15:21.79 bitrate=
 0.1kbits/s speed=2.76e+07x
 video:638kB audio:0kB subtitle:3kB other streams:0kB global headers:1kB
 muxing overhead: 0.579988%
 Conversion failed!
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5472#comment:10>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list