Menu

Burn in subtitles in the mkv container

2022-01-16
2023-03-07
  • Phil Dicker

    Phil Dicker - 2022-01-16

    Hi, sorry if this has been asked or is an easy task but I could not find any info. Also thank you so much for the program it is fantastic!

    Is there a way to burn in subtitles that are already in the mkv containers? I have videos with srt/ass/ssa tracks and sometimes more than one in the container, like track 1/2/3/etc. I'd like to be able to select say subtitle track 1 from the container and burn it into the video during batch conversion. Is there a easy way to do this? Thank you :)

     
  • Abel

    Abel - 2022-01-17

    Hi, you can use the %ff dynamic variable to reuse input source in parameters field.
    For example:

    -map 0 -c:v libx264 -crf 23 -c:a copy -sn -vf subtitles=%ff:stream_index=0

    You have an example in online presets

     

    Last edit: Abel 2022-01-17
  • Phil Dicker

    Phil Dicker - 2022-01-17

    Fantastic, exactly what I wanted, thank you so much!

     
  • Steven T Pippin

    Steven T Pippin - 2023-03-07

    Sorry, wrong thread.

     

    Last edit: Steven T Pippin 2023-03-07

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.