[FFmpeg-user] Force Subtitle Detection
nickrobbins at yahoo.com
Tue Mar 17 04:53:05 CET 2015
> On Monday, March 16, 2015 10:58 PM, "petesea at frontier.com" <petesea at frontier.com> wrote:
> > Is it possible to use ffprobe to detect the number of forced subtitles?
> I've found I can use "-count_frames" and look at the
> "streams.stream.X.nb_read_frames" entry to determine the number of
> subtitles in a particular stream (at least I'm pretty sure that's what
> it's telling me). But I can't see a way to figure out the number of
> forced subtitles. Is there a way?
What happens if you add "-forced_subs_only 1" to your command. Something like:
ffprobe -forced_subs_only 1 -count_frames -select_streams s -show_streams IN.mkv
This will only work if your subs are dvdsubs.
More information about the ffmpeg-user