[FFmpeg-trac] #4046(undetermined:new): DVB subtitles not detected in TS file

FFmpeg trac at avcodec.org
Mon Oct 20 23:12:13 CEST 2014


#4046: DVB subtitles not detected in TS file
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  Underground78                      |                 Priority:  normal
               Status:  new          |                  Version:  git-
            Component:               |  master
  undetermined                       |               Blocked By:
             Keywords:               |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug: [http://www.datafilehost.com/d/63febb26 This sample]
 has two DVB subtitle tracks but ffmpeg doesn't detect them unless you skip
 the beginning of the file with `-skip_initial_bytes 61289`. I tried
 changing `-probesize` and `-analyseduration` without any luck.

 How to reproduce:
 {{{
 % ffmpeg.exe -i sample.ts
 ffmpeg version N-67034-gb5583fc Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Oct 20 2014 01:15:15 with gcc 4.9.1 (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-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --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-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      54. 10.100 / 54. 10.100
   libavcodec     56.  8.102 / 56.  8.102
   libavformat    56.  9.101 / 56.  9.101
   libavdevice    56.  1.100 / 56.  1.100
   libavfilter     5.  1.106 /  5.  1.106
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [mpeg2video @ 002f8360] Invalid frame dimensions 0x0.
     Last message repeated 18 times
 [mpegts @ 04707ca0] PES packet size mismatch
     Last message repeated 3 times
 Input #0, mpegts, from 'sample.ts':
   Duration: 00:01:28.42, start: 38151.295833, bitrate: 4743 kb/s
   Program 1
     Stream #0:0[0x44](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:1[0x45](qaa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:2[0x46]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:3[0x47]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25.08
 tbr, 90k tbn, 50 tbc
 }}}

 Compare to:
 {{{
 % ffmpeg.exe -skip_initial_bytes 61289 -i sample.ts
 ffmpeg version N-67034-gb5583fc Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Oct 20 2014 01:15:15 with gcc 4.9.1 (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-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme
 --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-
 libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-zlib
   libavutil      54. 10.100 / 54. 10.100
   libavcodec     56.  8.102 / 56.  8.102
   libavformat    56.  9.101 / 56.  9.101
   libavdevice    56.  1.100 / 56.  1.100
   libavfilter     5.  1.106 /  5.  1.106
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
 [mpeg2video @ 04b3d020] Invalid frame dimensions 0x0.
     Last message repeated 17 times
 [NULL @ 04bf6be0] start time for stream 4 is not set in
 estimate_timings_from_pts
 [NULL @ 04bb46c0] start time for stream 5 is not set in
 estimate_timings_from_pts
 [mpegts @ 02aae0e0] PES packet size mismatch
     Last message repeated 3 times
 Input #0, mpegts, from 'sample.ts':
   Duration: 00:01:27.71, start: 38151.998867, bitrate: 4781 kb/s
   Program 1
     Stream #0:0[0x44](fra): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:1[0x45](qaa): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:2[0x46]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
 stereo, s16p, 192 kb/s
     Stream #0:3[0x47]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25
 tbr, 90k tbn, 50 tbc
     Stream #0:4[0x48](fra): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
     Stream #0:5[0x49](eng): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006)
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4046>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list