> On Monday, March 16, 2015 10:58 PM, "[email protected]" 
> <[email protected]> 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.
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to