[FFmpeg-user] DVB Subtitles On/Off

Moritz Barsnick barsnick at gmx.net
Sun Apr 27 00:35:19 CEST 2014


Hi,

On Sat, Apr 26, 2014 at 13:23:18 -0700, enri69 wrote:

[I have shorted this a slight bit]

> Input #0, matroska,webm, from 'c:\simpson.mkv':
>     Stream #0:0(eng): Video: h264 (High), yuv420p(tv, bt709), 1280x720 [SAR
>     Stream #0:1(ita): Audio: mp2, 48000 Hz, stereo, s16p, 224 kb/s (default)
> Input #1, mpeg, from 'c:\simpson.sub':
>     Stream #1:0[0x20]: Subtitle: dvd_subtitle
> Output #0, mpegts, to 'c:\simp.ts':
>     Stream #0:0(eng): Video: mpeg2video, yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 1000 kb/s, 90k tbn, 25 tbc (default)
>     Stream #0:1(ita): Audio: mp2, 48000 Hz, stereo, s16, 192 kb/s (default)
>     Stream #0:2: Subtitle: dvb_subtitle (dvbsub), 720x480
> Stream mapping:
>   Stream #0:0 -> #0:0 (h264 -> mpeg2video)
>   Stream #0:1 -> #0:1 (mp2 -> mp2)
>   Stream #1:0 -> #0:2 (dvdsub -> dvbsub)

> If I put a SRT file instead of a SUB it encodes the file but with empty DVB
> Subtream in VLC.

Can either of those formats even successfully be muxed into an MPEG-TS?
https://wiki.videolan.org/MPEG/#Accepted_subtitle_codecs

SRT shouldn't work at all, I wonder why ffmpeg doesn't refuse to do so.
I was under the impression (from personal experience, not standards)
that dvdsub shouldn't work, but dvbsub should. Caveat: ffmpeg could
have problems of its own with the latter, see trac #2024.

Moritz


More information about the ffmpeg-user mailing list