If your editor exported two audio tracks, first check that both actually exist in the input file. A stereo track has two channels inside one stream. A commentary track and a program mix usually appear as separate streams. Count the streams before changing the command.

Inspect your input

ffprobe -v error -show_entries stream=index,codec_name,codec_type,channels -of csv=p=0 input.mp4

Add the caption file

Run this in the folder containing input.mp4 and captions.srt. This example selects the first video stream, all available audio streams and the subtitle from the second input. Use a new output filename.

ffmpeg -n -i input.mp4 -i captions.srt -map 0:v:0 -map "0:a?" -map 1:s:0 -c:v copy -c:a copy -c:s mov_text captioned.mp4

Check the delivery file

Run the same ffprobe command on captioned.mp4. Compare the number of audio streams in both files, then switch between them in your player. In our one-second test clip we used separate 440 Hz and 880 Hz audio tracks. The result contained one video stream, two AAC streams and one mov_text subtitle stream. A test cue starting at 0.125 seconds and ending at 0.875 seconds retained both times when extracted again.

To inspect the text and timestamps, run:

ffmpeg -v error -i captioned.mp4 -map 0:s:0 -f srt -

When to use another workflow

This command creates a selectable text track inside an MP4. For a separate caption-file upload, keep the original SRT. For captions that must always appear in the image, use a burn-in workflow. The example omits any existing caption tracks and extra video streams. It also assumes the original audio and video codecs can be copied into MP4. If your player lists both audio tracks but you hear only one at a time, that is track selection; mixing both into one audible program requires an audio mix.