Log in

View Full Version : Disable default subtitle


alex.brown111@hotmail.com
22nd June 2021, 20:27
Hi,

I have a mkv file where I need to choose the audio / subtitle stremas and set the favorite as default:

ffmpeg.exe -y -i originale_ridotto.mkv -map 0:0 -map 0:1 -map 0:2 -map 0:5 -disposition:a:1 -default-forced -disposition:a:0 +default+forced -disposition:s -default -c copy prova.mkv

With this command I can choose the audio track that I like and make the first audio as default and work for audio but not work for subtitles

I have tried:

-disposition:s -default
-disposition:s:0 -default
-default_mode infer_no_subs


but in all case the stream 5 (subtitle) is always default. I like to copy multiple subtitles and remove all default.

Text
ID : 4
ID in the original source medium : 4613 (0x1205)
Format : PGS
Codec ID : S_HDMV/PGS
Codec ID/Info : Picture based subtitle format used on BDs/HD-DVDs
Duration : 3 min 16 s
Bit rate : 38.8 kb/s
Count of elements : 2306
Stream size : 25.0 MiB (4%)
Language : Italian
Default : Yes
Forced : No
Original source medium : Blu-ray

Thare is a way to disable all subtitles ?


Thank you !!

RanmaCanada
23rd June 2021, 15:37
It's easier if you use a front end, like Fastflix, or an actual gui like handbrake/vidcoder/staxrip.

alex.brown111@hotmail.com
23rd June 2021, 19:27
you have right but I need a command line becouse i need to process a large number of files.

benwaggoner
24th June 2021, 17:38
This isn't a HEVC-related question, and would be better asked here: https://forum.doom9.org/forumdisplay.php?f=74