[FFmpeg-user] Forced Subtitles Only

Nicholas Robbins nickrobbins at yahoo.com
Fri Feb 20 02:15:46 CET 2015


> On Thursday, February 19, 2015 2:20 PM, "petesea at frontier.com" <petesea at frontier.com> wrote:

> > OS: Fedora 14
> FFMPEG: 2.5.3 (full version info below)
> 
> I'm trying to generate a vob (from dvd) that contains a subtitle stream 
> into an mpeg2 with "hard" subtitles, but I only want to include the 
> "forced" subtitles.
> 
> I'm able to generate an mpeg2 with hard-subtitles using the following 
> command (see complete output below):
> 
>    $ ffmpeg -analyzeduration 250M -probesize 250M -i video.vob -filter_complex 
> "[0:v][0:11]overlay" -codec:v mpeg2video -b:v 16384k -maxrate 30000k 
> -bufsize 4096k -codec:a copy -f vob video-HARDSUBS.mpg
> 
> But it includes all the subtitles in the specified subtitle stream.  I 
> only want to include the subtitles marked as "forced".  Is this 
> possible 
> with ffmpeg?


Try adding "-forced_subs_only 1" between "-probesize 250M" and "-i"

-Nick


More information about the ffmpeg-user mailing list