0
votes

Can anyone help me understand why my attempts at tagging an audio track with language metadata using FFMPEG CLI is failing? I've found various pieces of information on the correct syntax for the tag which I'm still not clear on (so part 1 of my question is what is the correct syntax), but even if I get it right (which I may or may not have), I am wondering if FFMPEG is failing to tag my audio track because my source is wrapped/muxed with a video essence. Does this preclude the ability to language tag?

Worth noting, attempts have been made from both MP4 and MKV sources (video and audio) to MP4 (video and audio) and M4A, MP4 and AAC audio only outputs with no success.

Also worth noting, I've also tried using the -metadata title tag with no success.

I am looking for the following metadata to show up in a mediainfo advanced mode check:

Language: en Language: English

Here is my command line:

ffmpeg -i "input.mkv" -c:v libx264 -level:v 3.0 -b:v 5000k -bufsize 4300k -flags +ildct+ilme -top 1 -x264opts tff=1:colorprim=bt470bg:transfer=bt470m:colormatrix=bt470bg -vf crop=720:576:0:32 -pix_fmt yuv420p -c:a aac -b:a 128k -metadata language="eng" -aspect 4:3 -y "output.mp4"

1

1 Answers

0
votes

Language is a stream-level metadata parameter. To apply to all streams, use -metadata:s language=eng