Opened 7 years ago

Closed 6 years ago

#2086 closed enhancement (fixed)

Teletext subtitles

Reported by: cehoyos Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: dvb_teletext sub
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I will upload a sample with two teletext subtitle streams (on pages 777 and 778). They can be viewed with the following MPlayer command lines (use "X" and "Q" to switch to the appropriate subtitle pages):
$ mplayer teletextsubtitles.ts -demuxer mpegts -sid 106
$ mplayer teletextsubtitles.ts -demuxer lavf -sid 0
FFmpeg cannot decode the subtitles.

$ ffmpeg -i teletextsubtitles.ts
ffmpeg version N-48311-gc36302a Copyright (c) 2000-2012 the FFmpeg developers
  built on Dec 30 2012 19:01:34 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl
  libavutil      52. 13.100 / 52. 13.100
  libavcodec     54. 81.100 / 54. 81.100
  libavformat    54. 50.104 / 54. 50.104
  libavdevice    54.  3.102 / 54.  3.102
  libavfilter     3. 30.102 /  3. 30.102
  libswscale      2.  1.103 /  2.  1.103
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS referenced
[h264 @ 0x346e460] non-existing SPS 0 referenced in buffering period
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] non-existing PPS 0 referenced
[h264 @ 0x346e460] decode_slice_header error
[h264 @ 0x346e460] no frame!
[mpegts @ 0x346a540] Stream #3: not enough frames to estimate rate; consider increasing probesize
[NULL @ 0x34701e0] start time is not set in estimate_timings_from_pts
[mpegts @ 0x346a540] PES packet size mismatch
    Last message repeated 1 times
Input #0, mpegts, from 'teletextsubtitles.ts':
  Duration: 00:00:55.32, start: 0.091256, bitrate: 14610 kb/s
  Program 137
    Stream #0:0[0x30]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x40](ita): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:2[0x41](und): Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fltp, 384 kb/s
    Stream #0:3[0x6a](ita): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
At least one output file must be specified

Attachments (1)

ffmpeg-72ff8ee-wg.diff (56.3 KB) - added by cehoyos 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:2 Changed 7 years ago by cehoyos

  • Component changed from undetermined to avcodec
  • Status changed from new to open

Changed 7 years ago by cehoyos

comment:4 Changed 6 years ago by cehoyos

  • Keywords dvb_teletext added; teletext removed

comment:5 Changed 6 years ago by cehoyos

  • Keywords sub added
  • Resolution set to fixed
  • Status changed from open to closed

Fixed by Marton Balint in b339dcc, based on a patch by Wolfram Gloger and work by Tudor Suciu.

Note: See TracTickets for help on using tickets.