Am 29.10.2025 um 11:10 schrieb Hervé ANSELME via ffmpeg-user:
Hello all,

I am using the release 6.1 of ffmpeg, running on Windows 11 Family OS.

I executed the following command :

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.

I noticed in the destination movie, is that the french audio track has 
effectively a 192k bitrate ;
but the english audio track kept the same bitrate as the english audio track of 
the source movie, which is not 128k.

So, is there a way to have the wished audios bitrates, with different bitrates 
among the selected audio tracks ?

If there is a way, how is it possible to do that ?

I'm sorry, I cannot answer the exact question but I believe I can give you a hint.

You need to specify the attribute for the bitrate for every stream.

If you use numbers for the streams it would be

-map 0:a -c:a:0 aac -b:a:0 96k -ar:0 44100

You use map for the languag. This may still result in stream 0 and -b:a:0 might be the solution


Best,

Bernhard


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

Reply via email to