I used the following command
ffmpeg -i INPUT -c copy -metadata:s:a:0 title="name" OUTPUT.mp4
It didn't work
And I tried another command
ffmpeg -i VIDEO -i AUDIO -c:v copy -c:a copy -metadata:s:a:0 title="name" OUTPUT.mp4
It didn't workd either
But I tried to set audio track language
ffmpeg -i INPUT -c copy -metadata:s:a:0 language=jpn OUTPUT.mp4
It worked.
And if I used megui to mux and set audio track title, it worked
Is it possible to set audio track title in mp4 with ffmpeg?
I may be wrong, but I've got a hunch the MP4-container doesn't support stream titles.
Code:
ffmpeg.exe -i in.mkv -c copy out.mp4
...copies file-title and language-tag, but NOT stream-title (although ffmpeg tells you otherwise). MediaInfo and MPC-HC(LAV) don't show you any stream-titles. Not even when specifying manually:
Its not exactly undocumented, the problem is that mp4 doesn't have a "title" metadata .. so people abuse "handler" for that (both players and encoders equally, mine included)
Its more of a missing feature in mp4 than an undocumented feature of ffmpeg.