In OSMC in the lower LH corrner the language name is displayed. Most of my mp4 movies show und for unknown. I use gpac to set the language. Does anyone know the command to set the “Media Language Code” in Exiftool? exiftool -MediaLanguageCode=“eng” moviename.mp4 doesn’t work.
Try: exiftool -MediaLang=eng moviename.mp4
Thanks for it doesn’t work. Got the following:
Warning: Tag ‘MediaLang’ is not defined
Nothing to do.
To set the media language with ‘ExifTool’, you can use the -MediaLanguageCode
option followed by the desired language code. For example, to set the language to English for an video, you would use
exiftool "-MediaLanguageCode<en" Video.mp4
Note: make sure you use a version of exiftool that supports the MediaLanguageCode
option. If this doesn’t work for you, try asking the author of the tool over at ExifTool Forum - Index.
There maybe other issues such as the warning - “Warning: No writable tags”
You can also do this with ‘MKVToolnix’ (at least for MP4/MKV video files).
Thanks for your reply. I used using MKVToolnix to do what I want and I have ended up writing a small python app to convert mp4 files to mkv then adding a “track_name” for the audio and video track and adding the desired language.