[FFmpeg-user] Default audio stream -- how do I set it?

Ferdi Scholten ferdi at sttc-nlp.nl
Sun Sep 10 10:24:14 EEST 2023



On 10-09-2023 03:52, Mark Filipak wrote:
> I originally had a video with
> 0:0 = video
> 0:1 = commentary
> 0:2 = dialog
> 0:3 =subtitles
>
> Of course, the commentary was the default audio.
> I wanted to switch 0:1 & 0:2
>
> ffmpeg -i SOURCE -map 0:0 -map 0:2 -map 0:1 -map 0:3 -codec copy TARGET
>
> That succeeded...
> 0:0 = video
> 0:1 = dialog
> 0:2 = commentary
> 0:3 =subtitles
>
> ...except for 1 thing: The default audio is still the commentary (now
> 0:2). For several hours I searched and tried various methods to make
> the new 0:1 the default, and failed.
>
> How can I do it? ...Thanks!
>
There is not enough information here to give an correct answer. Need to 
know the type of container and we are missing the output of the ffmpeg 
command you used.


More information about the ffmpeg-user mailing list