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

FFmpeg trac at avcodec.org
Thu Nov 2 04:37:57 EET 2017


#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 tesseract):

 Replying to [comment:12 cehoyos]:
 > Please do not upload output files, this is never welcome.
 >
 > Only reopen this ticket if you can provide the sample a.mkv.

 Hello,

 I ran into the same problem.
 As I'm relatively new to ffmpeg and all that media conversion stuff, I
 used ffmpeg to copy from a BluRay .m2ts to .mkv (instead of using mkvmerge
 on the .mpls file).
 The result is a file with the problem described above.
 Also I noticed lots of metadata gets lost, i.e. language of the subtitles.

 I've uploaded a sample here:
 https://www.dropbox.com/s/j0o789ja4k9b2f1/covenant-m2ts-sample.mkv?dl=0

 The cmdline to build this was a simple -codec copy as far as I remember.

 ffmpeg -version
 ffmpeg version 3.4-1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg
 developers
 built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.5) 20160609
 configuration: --prefix=/usr --extra-version='1~16.04.york0'
 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu
 --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping
 --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa
 --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca
 --enable-libcdio --enable-libflite --enable-libfontconfig --enable-
 libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-
 libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus
 --enable-libpulse --enable-librubberband --enable-libshine --enable-
 libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-
 libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-
 libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-
 libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl
 --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint
 --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
 libavutil      55. 78.100 / 55. 78.100
 libavcodec     57.107.100 / 57.107.100
 libavformat    57. 83.100 / 57. 83.100
 libavdevice    57. 10.100 / 57. 10.100
 libavfilter     6.107.100 /  6.107.100
 libavresample   3.  7.  0 /  3.  7.  0
 libswscale      4.  8.100 /  4.  8.100
 libswresample   2.  9.100 /  2.  9.100
 libpostproc    54.  7.100 / 54.  7.100

 Best regards

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


More information about the FFmpeg-trac mailing list