[FFmpeg-trac] #4200(undetermined:open): ffmpeg wont display/decode dvbsubs (was: dvbsub burning overlay not working)

FFmpeg trac at avcodec.org
Mon Jul 13 20:40:31 CEST 2015


#4200: ffmpeg wont display/decode dvbsubs
-------------------------------------+-------------------------------------
             Reporter:  gentian      |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  dvbsub       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  1
-------------------------------------+-------------------------------------
Changes (by compn):

 * status:  new => open
 * reproduced:  0 => 1


Comment:

 ffmpeg -i dvbsub-sample.ts -filter_complex "[0:v][0:s]overlay[v]" -map
 "[v]" -map 0:a out.mkv

 does indeed fail to burn subs.
 subs also do not appear in ffplay using 't' key.

 subs display in vlc 3.0.0 nb

 H:\>d:\ffmpeg -i dvbsub-sample.ts -filter_complex "[0:v][0:s]o
 verlay[v]" -map "[v]" -map 0:a -an out.mkv -y
 ffmpeg version N-73541-g944a1aa Copyright (c) 2000-2015 the FFmpeg
 developers
   built with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-avisynth --enable-bzli
 b --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
 --enable-libass --enable-libblu
 ray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-
 libfreetype --enable-libgme --enab
 le-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame
 --enable-libopencore-amrnb --enab
 le-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-
 librtmp --enable-libschroedinger
  --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame
 --enable-libvidstab --ena
 ble-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
 libvpx --enable-libwavpack --en
 able-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
 libxvid --enable-lzma --ena
 ble-decklink --enable-zlib
   libavutil      54. 28.100 / 54. 28.100
   libavcodec     56. 47.100 / 56. 47.100
   libavformat    56. 40.100 / 56. 40.100
   libavdevice    56.  4.100 / 56.  4.100
   libavfilter     5. 21.100 /  5. 21.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.100 /  1.  2.100
   libpostproc    53.  3.100 / 53.  3.100
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] non-existing SPS 0 referenced in buffering period
 [h264 @ 0320d9e0] non-existing PPS 0 referenced
 [h264 @ 0320d9e0] decode_slice_header error
 [h264 @ 0320d9e0] no frame!
 [NULL @ 031f3300] start time for stream 3 is not set in
 estimate_timings_from_pts
 [mpegts @ 031f0340] PES packet size mismatch
     Last message repeated 1 times
 Input #0, mpegts, from 'dvbsub-sample.ts':
   Duration: 04:22:55.12, start: 85235.728911, bitrate: 1 kb/s
   Program 21
     Metadata:
       service_name    : Tring Max
       service_provider: tring tv
     Stream #0:0[0x514]: Video: h264 (High) ([27][0][0][0] / 0x001B),
 yuv420p(tv, bt470bg), 720x576 [
 SAR 16:11 DAR 20:11], 25 fps, 50 tbr, 90k tbn, 50 tbc
     Stream #0:1[0x51e](eng): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
 stereo, s16p, 128 kb/s
     Stream #0:2[0x200](alb): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:3[0x202](und): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
 [mpegts @ 031f0340] sub2video: using 720x576 canvas
 [libx264 @ 034ea800] using SAR=16/11
 [libx264 @ 034ea800] using cpu capabilities: MMX2 SSE2 SSE3 Cache64
 [libx264 @ 034ea800] profile High, level 3.0
 [libx264 @ 034ea800] 264 - core 146 r2538 121396c - H.264/MPEG-4 AVC codec
 - Copyleft 2003-2015 - ht
 tp://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0
 analyse=0x3:0x113 me=hex subm
 e=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
 8x8dct=1 cqm=0 deadzone=21,
 11 fast_pskip=1 chroma_qp_offset=-2 threads=3 lookahead_threads=1
 sliced_threads=0 nr=0 decimate=1 i
 nterlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2
 b_adapt=1 b_bias=0 direct=1 we
 ightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
 intra_refresh=0 rc_lookahead=40 rc
 =crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40
 aq=1:1.00
 Output #0, matroska, to 'out.mkv':
   Metadata:
     encoder         : Lavf56.40.100
     Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p,
 720x576 [SAR 16:11 DAR 20:11],
 q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
     Metadata:
       encoder         : Lavc56.47.100 libx264
 Stream mapping:
   Stream #0:0 (h264) -> overlay:main
   Stream #0:2 (dvbsub) -> overlay:overlay
   overlay -> Stream #0:0 (libx264)
 Press [q] to stop, [?] for help
 [h264 @ 03330a40] Found reference and non-reference fields in the same
 frame, which is not implement
 ed. Update your FFmpeg version to the newest one from Git. If the problem
 still occurs, it means tha
 t your file has a feature which has not been implemented.
 [h264 @ 03330a40] If you want to help, upload a sample of this file to
 ftp://upload.ffmpeg.org/incom
 ing/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel at ffmpeg.org)
 [h264 @ 03330a40] decode_slice_header error
 [h264 @ 03ee1680] reference picture missing during reorder
 [h264 @ 03ee1680] Missing reference picture, default is 2147483647
 [h264 @ 03330a40] mmco: unref short failure
     Last message repeated 1 times
 [h264 @ 034be8a0] mmco: unref short failure
     Last message repeated 1 times
 [mpegts @ 031f0340] PES packet size mismatchime=00:00:08.04 bitrate=
 467.8kbits/s
 [h264 @ 03ee1680] error while decoding MB 22 14, bytestream -7
 frame=  245 fps= 13 q=-1.0 Lsize=     573kB time=00:00:10.16 bitrate=
 461.7kbits/s dup=0 drop=7
 video:570kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.419933%
 [libx264 @ 034ea800] frame I:3     Avg QP:16.44  size: 17370
 [libx264 @ 034ea800] frame P:66    Avg QP:20.30  size:  4940
 [libx264 @ 034ea800] frame B:176   Avg QP:24.00  size:  1165
 [libx264 @ 034ea800] consecutive B-frames:  1.2%  4.9% 12.2% 81.6%
 [libx264 @ 034ea800] mb I  I16..4: 32.1% 56.3% 11.6%
 [libx264 @ 034ea800] mb P  I16..4:  0.9%  3.7%  0.7%  P16..4: 30.3% 10.0%
 4.4%  0.0%  0.0%    skip:
 49.9%
 [libx264 @ 034ea800] mb B  I16..4:  0.1%  0.2%  0.0%  B16..8: 26.7%  1.9%
 0.2%  direct: 0.6%  skip:
 70.4%  L0:41.3% L1:53.3% BI: 5.5%
 [libx264 @ 034ea800] 8x8 transform intra:63.9% inter:80.8%
 [libx264 @ 034ea800] coded y,uvDC,uvAC intra: 51.6% 64.2% 25.6% inter:
 6.1% 10.4% 0.1%
 [libx264 @ 034ea800] i16 v,h,dc,p: 57% 23%  8% 12%
 [libx264 @ 034ea800] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 19%  4%  6%
 9%  5%  9%  5%
 [libx264 @ 034ea800] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 31% 15%  4%  6%
 7%  5%  6%  5%
 [libx264 @ 034ea800] i8c dc,h,v,p: 50% 19% 23%  8%
 [libx264 @ 034ea800] Weighted P-Frames: Y:0.0% UV:0.0%
 [libx264 @ 034ea800] ref P L0: 64.3% 13.3% 17.1%  5.3%
 [libx264 @ 034ea800] ref B L0: 93.5%  5.3%  1.1%
 [libx264 @ 034ea800] ref B L1: 97.0%  3.0%
 [libx264 @ 034ea800] kb/s:474.16

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


More information about the FFmpeg-trac mailing list