Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
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.