Page 1 of 1
Avi audio.language property
Posted: 30 Oct 2015, 22:54
by Pab
Some of my movies don't have the audio language set so I have written a script using python and ffmpeg to add the eng language metadata to the audio stream of the files. This seems to be working for mp4 and mkv files, however for avi files it doesn't seem to be adding the correct properties. I looked around online and tried a few things such as setting the audio metadata title to 'English' but this doesn't seem to do the trick for filebot (however it does have English as the audio track name in VLC). I was just wondering which property I can change in the avi file metadata to get the correct output for audio.language in filebot.
Thank you
Re: Avi audio.language property
Posted: 30 Oct 2015, 23:12
by rednoah
Bindings such as {audio.language} give you direct access to MediaInfo properties. So you can use MediaInfo to inspect the available MediaInfo properties. As for how MediaInfo interprets .avi file metadata, I recommend asking that in the MediaInfo forums.

Re: Avi audio.language property
Posted: 30 Oct 2015, 23:27
by Pab
Thanks for pointing me in the right direction!

Re: Avi audio.language property
Posted: 30 Oct 2015, 23:57
by Pab
So I don't think mediainfo currently supports avi audio language as shown in this table:
https://mediaarea.net/en/MediaInfo/Support/Formats
Re: Avi audio.language property
Posted: 31 Oct 2015, 01:07
by rednoah
I'm sure avi/riff is perfectly supported as far as the standard goes, and that's not very far, because the avi container doesn't support metadata, not that people haven't found non-standard / incompatible ways of doing so anyway...
Re: Avi audio.language property
Posted: 04 Nov 2015, 00:56
by Pab
I did find out that there is a language tag in the avi container but trying to set that seemed like too much messing about as I couldn't find a simple way to do it. I just ended up changing the container to mkv as this seemed easier than delving into the avi documentation