[FFmpeg-user] How do I encode DVB Subtitles?

Wagner Patriota wagner.patriota at gmail.com
Mon Jun 18 21:14:43 CEST 2012


They just don't appear!

The command line:
ffmpeg -i input.mp4 *-i a.srt* -vcodec copy -acodec copy *-scodec
dvbsub*-bsf h264_mp4toannexb -y out2.ts

Output #0, mpegts, to 'out2.ts':
  Metadata:
    major_brand     : M4V
    minor_version   : 1
    compatible_brands: M4V mp42isom
    creation_time   : 2012-02-08 15:56:57
    encoder         : Lavf54.6.101
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 1016x572
[SAR 1024:1023 DAR 260096:146289], q=2-31, 2038 kb/s, 23.96 fps, 90k tbn,
23.98 tbc
    Metadata:
      creation_time   : 2012-02-08 15:56:57
      handler_name    : Mainconcept MP4 Video Media Handler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, 125
kb/s
    Metadata:
      creation_time   : 2012-02-08 15:56:57
      handler_name    : Mainconcept MP4 Sound Media Handler
    Stream #0:2: Subtitle: dvb_subtitle
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
*  Stream #1:0 -> #0:2 (srt -> dvbsub) [look at this!]*
Press [q] to stop, [?] for help

the video process ok, apparently, no errors.... but no subtitle...



On Mon, Jun 18, 2012 at 3:37 PM, Roger Pack <rogerdpack2 at gmail.com> wrote:

> > The stream is created because I can see it with MediaInfo, but the
> > subtitles don't appear!
>
> How are you seeing if they appear?
> -r
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list