Setting up
First make sure you have FFmpeg installed. Follow this guide if you haven't already:
https://docs.tdarr.io/blog/how-to-install-ffmpeg
Running the CLI
To transcode audio using FFmpeg, you can set the audio encoder using the -c:a
flag. For example, to transcode all audio streams into aac
, use the following:
ffmpeg -i "C:\Transcode\input.mkv" -map 0 -c copy -c:a aac "C:\Transcode\output.mkv"
To transcode just the first audio stream, use the following:
ffmpeg -i "C:\Transcode\input.mkv" -map 0 -c copy -c:a:0 aac "C:\Transcode\output.mkv"
You can automate this process on your files using the following Tdarr Plugins:
To transcode specific audio stream codecs:
Tdarr_Plugin_a9hd_FFMPEG_Transcode_Specific_Audio_Stream_Codecs
Get started using Tdarr transcode automation for free with this link: