Hello Nicolas,
What do you mean by stream specifier ?
Does it mean I have to select audio streams by numbers (examples : -map 0:a:0 ; 
or -map 0:a:1) instead of selecting by language ?
Or something else ?
Thanks for your precisions and advices.
Regards,
HA

________________________________
From: Nicolas George via ffmpeg-user <[email protected]>
Sent: Wednesday, October 29, 2025 13:41
To: FFmpeg user questions <[email protected]>
Cc: Nicolas George <[email protected]>
Subject: [FFmpeg-user] Re: ISSUE ABOUT AUDIO PARAMETERS

Hervé ANSELME via ffmpeg-user (HE12025-10-29):
> ffmpeg -i "source movie" -y -loglevel error -sn ^
> -map 0:m:language:fre -acodec aac -ar 48k -b:a 192k ^
> -map 0:m:language:eng -acodec aac -ar 48k -b:a 128k -ac 6 -channel_layout 5.1 
> -mapping_family:a 255 ^
> -map 0:v:0 -vcodec libsvtav1 "destination movie"
>
> in order to encode differently the selected audio tracks.

You seem to be working under the assumption that the order of the
parameters is what matters. It is not. The options you think apply to
one stream but not the other actually apply either to both or to none.
You need to use stream specifiers.

Regards,

--
  Nicolas George
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
ffmpeg-user mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to