BillOatman 502 Posted December 14, 2023 Share Posted December 14, 2023 If this is not in the correct place, please move it. I have a bunch of MP4 container files that display audio info like this in Emby: Undefined language of the audio. It's because the file is missing the language tag like this file has: Does anyone know a free simple tool that runs on Windows that could add this tag without reencoding anything? Also, same question, but for MKV container files. Thanks! Link to comment Share on other sites More sharing options...
Solution seanbuff 847 Posted December 14, 2023 Solution Share Posted December 14, 2023 (edited) 44 minutes ago, BillOatman said: Does anyone know a free simple tool that runs on Windows that could add this tag without reencoding anything? For MP4, i use MP4Box (which is available for Windows) I run a small batch script on my .mp4 files without a language set on the audio stream: for /R %%f in (*.mp4) do mp4box.exe -lang 2=eng "%%f" echo completed pause For MKV, i use mkvtoolnix and use the included mkvpropedit tool for the same result: for /R %%f in (*.mkv) do "mkvpropedit" "%%f" --edit track:a1 --set name="" --set flag-default=1 --set language=en echo completed pause FYI you'll need to add the tools location to your $PATH env variable, otherwise you'll need to specify full executable path in your script Edited December 14, 2023 by seanbuff more info 1 Link to comment Share on other sites More sharing options...
js28194 15 Posted December 15, 2023 Share Posted December 15, 2023 (edited) Emby App has a "default language" which I believe will force any media with multiple languages to play the default language. I checked and it does as does Kodi to force default language to English so you don't have to do the above scripting. Good script though so no knock on that. Ah nevermind... I see what you are trying to do. Nevermind. Edited December 15, 2023 by js28194 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now