video processing – How do I prevent FFmpeg from replacing all the audio stream names with SoundHandler?

I’m using FFmpeg to change container from mkv to mov with this code:

ffmpeg -find_stream_info -probesize 84M -i input_file.mkv 
-map 0:v -map 0:a -map -0:s -codec copy output_file.mov -loglevel error;

But all the audio streams get “SoundHandler” as a name/desciption after the conversion.
Result
How can I preserve the original names?
What I’m supposed to get

I tired adding this:

-metadata:s:a:0 handler_name="" -empty_hdlr_name 1

It should tell FFmpeg to not use the default ‘SoundHandler’ name and use instead a empty string, which means it should take the normal stream name.
But it only get the first audio stream correctly, the others get the same name as the first one…
Is there any solution?

Read more here: Source link