video - Extracting Subtitles from mkv using ffmpeg -


so i'm trying extract subtitles , format (how look) , trying implement them mkv of same video. long story short, i'm trying nice looking subtitles follow colour of background

enter image description here

and lovely colours

enter image description here

so when use ffmpeg check streams , how map them , whatot , shows

enter image description here

there 40 sum streams nice looking subtitles. so, how out?

to extract fonts:

ffmpeg -dump_attachment:t "" -i input.mkv 

(ffmpeg spit out error fonts extracted)

to copy subtitles , fonts new mkv

ffmpeg -i new.mp4 -i old.mkv -c copy -map 0 -map 1:s -map 1:t new.mkv 

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -