Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


FFmpeg, harcoding subtitles and choosing the audio track?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

FFmpeg, harcoding subtitles and choosing the audio track?

sgno1sgno1 Member

I have a video which has multiple audio tracks (dual-audio) and multiple subtitles, I use the follow command to hardcode (burn-in) subtitles when converting from .MKV to .MP4

ffmpeg -i 'INPUT_OF_MKV' -acodec aac -crf 21 -preset veryfast -filter_complex subtitles='INPUT_OF_MKV:si=0' 'OUTPUT_IN_MP4.mp4'    

This works fine for selecting the correct subtitles but I cannot seem to figure out how to choose the right audio track, it defaults it to the first audio track, but I would like to choose the 2nd one while burning-in subtitles. Any ideas?

Comments

Sign In or Register to comment.