View Single Post
Old 6th December 2018, 10:28   #1  |  Link
unknownsoldierX
Registered User
 
Join Date: Jun 2005
Posts: 236
How do I use ffmpeg forced_subs_only option?

Windows 7x64

I just discovered the ffmpeg option "-forced_subs_only 1" and I can't get it to work.

Code:
for %%f in ("*.mkv") do %ffmpeg% -forced_subs_only 1 -i "%%f" -map 0:s:0 "%%~nf.srt"
Still extracts all subtitles, flagged forced or not.

Code:
for %%f in ("*.mkv") do %ffmpeg% -i "%%f" -map 0:s:0 -forced_subs_only 1 "%%~nf.srt"
Doesn't extract anything, just gives this message:

Codec AVOption forced_subs_only (Only show forced subtitles) specified for output file #0 (movie.srt)
unknownsoldierX is offline   Reply With Quote