[FFmpeg-trac] #3309(avformat:new): Support text subtitles in mpeg transport streams

FFmpeg trac at avcodec.org
Sun Apr 6 17:10:11 CEST 2014


#3309: Support text subtitles in mpeg transport streams
-------------------------------------+------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mpegts sub   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------
Changes (by anssi):

 * cc: anssi.hannula@… (added)


Old description:

> http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/173165
> http://samples.ffmpeg.org/sub/dvbtextualsubtitles.ts
> The sample contains text subtitles in a transport stream, this is
> apparently supported by xbmc.
> {{{
> $ ffmpeg -i dvbtextualsubtitles.ts
> ffmpeg version N-59860-g53e6977 Copyright (c) 2000-2014 the FFmpeg
> developers
>   built on Jan 15 2014 10:01:34 with gcc 4.7 (SUSE Linux)
>   configuration: --enable-gpl
>   libavutil      52. 62.100 / 52. 62.100
>   libavcodec     55. 48.101 / 55. 48.101
>   libavformat    55. 23.103 / 55. 23.103
>   libavdevice    55.  5.102 / 55.  5.102
>   libavfilter     4.  1.100 /  4.  1.100
>   libswscale      2.  5.101 /  2.  5.101
>   libswresample   0. 17.104 /  0. 17.104
>   libpostproc    52.  3.100 / 52.  3.100
> [mpeg2video @ 0x1cae120] Invalid frame dimensions 0x0.
>     Last message repeated 13 times
> [NULL @ 0x1cacc60] start time is not set in estimate_timings_from_pts
> [mpegts @ 0x1ca8100] PES packet size mismatch
> Input #0, mpegts, from 'dvbtextualsubtitles.ts':
>   Duration: 00:00:34.15, start: 5684.061789, bitrate: 2279 kb/s
>   Program 2904
>     Stream #0:0[0x40c](txt): Subtitle: dvb_subtitle ([6][0][0][0] /
> 0x0006)
>     Stream #0:1[0x40d](por): Subtitle: dvb_subtitle ([6][0][0][0] /
> 0x0006)
>     Stream #0:2[0x45a](por): Audio: mp2 ([4][0][0][0] / 0x0004), 48000
> Hz, stereo, s16p, 192 kb/s (clean effects)
>     Stream #0:3[0x4dc]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
> yuv420p(tv), 480x480 [SAR 16:9 DAR 16:9], max. 4492 kb/s, 29.97 fps,
> 29.97 tbr, 90k tbn, 59.94 tbc
> At least one output file must be specified
> }}}

New description:

 http://thread.gmane.org/gmane.comp.video.ffmpeg.devel/173165
 http://samples.ffmpeg.org/sub/dvbtextualsubtitles.ts
 The sample contains text subtitles in a transport stream, this is
 apparently supported by VDR.
 {{{
 $ ffmpeg -i dvbtextualsubtitles.ts
 ffmpeg version N-59860-g53e6977 Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jan 15 2014 10:01:34 with gcc 4.7 (SUSE Linux)
   configuration: --enable-gpl
   libavutil      52. 62.100 / 52. 62.100
   libavcodec     55. 48.101 / 55. 48.101
   libavformat    55. 23.103 / 55. 23.103
   libavdevice    55.  5.102 / 55.  5.102
   libavfilter     4.  1.100 /  4.  1.100
   libswscale      2.  5.101 /  2.  5.101
   libswresample   0. 17.104 /  0. 17.104
   libpostproc    52.  3.100 / 52.  3.100
 [mpeg2video @ 0x1cae120] Invalid frame dimensions 0x0.
     Last message repeated 13 times
 [NULL @ 0x1cacc60] start time is not set in estimate_timings_from_pts
 [mpegts @ 0x1ca8100] PES packet size mismatch
 Input #0, mpegts, from 'dvbtextualsubtitles.ts':
   Duration: 00:00:34.15, start: 5684.061789, bitrate: 2279 kb/s
   Program 2904
     Stream #0:0[0x40c](txt): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:1[0x40d](por): Subtitle: dvb_subtitle ([6][0][0][0] /
 0x0006)
     Stream #0:2[0x45a](por): Audio: mp2 ([4][0][0][0] / 0x0004), 48000 Hz,
 stereo, s16p, 192 kb/s (clean effects)
     Stream #0:3[0x4dc]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
 yuv420p(tv), 480x480 [SAR 16:9 DAR 16:9], max. 4492 kb/s, 29.97 fps, 29.97
 tbr, 90k tbn, 59.94 tbc
 At least one output file must be specified
 }}}

--

Comment:

 Fixed description, XBMC => VDR.

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


More information about the FFmpeg-trac mailing list