Hi this is a little tutorial about how set lenguage tags on mp4 and mkv files.
If you don’t like to see AUDIO tag as “UNKNOWN” on your videos and go from this
to this
or this
to this
you just have to:
Get MKVToolNix and GPAC both open source free an multiplataform.
*movie.mkv is the name of your movie/serie/video file, "eng" is the target language it can be eng (english), spa (spanish) , kor (korean), jpn(japanese) etc.
For MP4 On the same folder were you video are, open a terminal (command line) an type:
$ MP4Box -lang 1=eng -lang 2=eng movie.mp4
*movie.mp4 is the name of your movie/serie/video file, "eng" is the target language it can be eng (english), spa (spanish) , kor (korean), jpn(japanese) etc.
@ferezvi said:
Hi this is a little tutorial about how set lenguage tags on mp4 and mkv files.
…
That’s it enjoy Plex even more.
How do i change the track titles for multiple videos? like a loop that checks for every file in the directory. I’ve been search for days for an answer, and can’t find one. I have myMP4Box GUI installed already. I am on windows as well.
Unfortunately it doesn’t handle video mp4 files. All metatag fields pertaining to video content are missing. And it can’t set the language tags of audio streams either.
@RealPetChicken said:
How do i change the track titles for multiple videos? like a loop that checks for every file in the directory. I’ve been search for days for an answer, and can’t find one. I have myMP4Box GUI installed already. I am on windows as well.
use find for all mkv files under a given directory: find /your/media/path -iname '*.mp4' -execdir MP4Box -lang eng {} \;
you can do it interactively answering with a ‘y’ or ‘n’ for each file found: find /your/media/path -iname '*.mp4' -okdir MP4Box -lang eng {} \;
I’m running debian jessie and I didn’t need to import a key for apt or modify sources.list: sudo apt-get update && sudo apt-get install -y mkvtoolnix gpac
@RealPetChicken said:
How do i change the track titles for multiple videos? like a loop that checks for every file in the directory. I’ve been search for days for an answer, and can’t find one. I have myMP4Box GUI installed already. I am on windows as well.
use find for all mkv files under a given directory: find /your/media/path -iname '*.mp4' -execdir MP4Box -lang eng {} \;
you can do it interactively answering with a ‘y’ or ‘n’ for each file found: find /your/media/path -iname '*.mp4' -okdir MP4Box -lang eng {} \;
I’m running debian jessie and I didn’t need to import a key for apt or modify sources.list: sudo apt-get update && sudo apt-get install -y mkvtoolnix gpac
how about mkv files not mp4? i am running macOs Sierra
i have a folder with over 200 broken mp4 files. to fix them i use MP4Box -add myfile.mp4 myfile_correct.mp4 , but this command just allows me to fix one file at once:/
i searched a bit around and found this for multiples files in one folder :
for i in `find . -name '*.mp4'`; do
newName=$(echo $i | sed 's/\.mp4$/_correct.mp4/');
MP4Box -add $i $newName
done
but it seems that i do not use it correctly, i am not so familiar with terminal commands:(
i get this when i start a new terminal at folder session under OS X.
Last login: Tue Nov 15 11:46:55 on ttys000
CyberGhost:Season 1 CyberGhost$ for i in `find . -name '*.mp4'`; do
> newName=$(echo $i | sed 's/\.mp4$/_correct.mp4/');
> MP4Box -add $i $newName
> done
Option -rw-r--r-- unknown. Please check usage
[Importer] Unknown input file type for "1"
Error importing 1: Requested URL is not valid or cannot be found
I don’t see a point in setting the ‘video’ language, except maybe when you have ‘burned in’ subtitles, But even then you won’t see it easily inside of Plex, except in the mediainfo
@OttoKerner said:
I don’t see a point in setting the ‘video’ language, except maybe when you have ‘burned in’ subtitles,
Me too… However, this does bring up a question I had. I know audio lang is important for auto-selecting subtitles and such but what about the language of the video. Does PLEX use this to determine anything? And how does that coincide with the lang of the audio?