Opened 12 years ago

Closed 11 years ago

#2086 closed enhancement (fixed)

Teletext subtitles

Reported by: Carl Eugen Hoyos 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 Carl Eugen Hoyos 12 years ago.

Download all attachments as: .zip

Change History (6)

comment:2 by Carl Eugen Hoyos, 12 years ago

Component: undeterminedavcodec
Status: newopen

by Carl Eugen Hoyos, 12 years ago

Attachment: ffmpeg-72ff8ee-wg.diff added

comment:4 by Carl Eugen Hoyos, 12 years ago

Keywords: dvb_teletext added; teletext removed

comment:5 by Carl Eugen Hoyos, 11 years ago

Keywords: sub added
Resolution: fixed
Status: openclosed

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.