Plex does not seem to detect language name of audio track in AVI files

Server Version#: 1.28.2.6151
Player Version#: (web, Android, Android TV)

I’ve got a movie where I set the audio track to german using ffmpeg with the following command:

ffmpeg -i input.avi -map 0 -codec copy -metadata IAS1=ger output.avi

VLC now shows me the track language correctly as “German” (or “Deutsch”). But in Plex, even after reloading the files, the (single) audio track is still shown as “Unknown”.

This is a bit frustrating because I’ve got a bunch of AVI files that have the language set this way but won’t show up in my smart collection that should include all files with a german language track.

I guess this is a bug and Plex does not read out the IAS1 (or IAS2 etc.) properties of the files correctly?

1 Like

Try using the de as the language

also… shouldn’t that be a config of the audio stream (e.g. using -metadata:s:a selector)? I’m not sure Plex will recognize a global file metadata attribute as the audio track language of a specific audio track.

as far as I know, the syntax you use is for mpeg or even mp4 files but for AVI files the syntax is different.

I did this, but it changes nothing in Plex. VLC also identifies such an audio stream as German/Deutsch, but for plex it is still “Unknown”.

The metadata in Plex for this file looks like this (note stream 2 details):

<Media id="176637" duration="5627360" bitrate="904" width="640" height="304" aspectRatio="2.20" audioChannels="2" audioCodec="mp3" videoCodec="msmpeg4v3" videoResolution="sd" container="avi" videoFrameRate="PAL">
<Part accessible="1" exists="1" id="177247" key="/library/parts/177247/1662491345/file.avi" duration="5627360" file="/vol/vid/Rush Hour (1998)/Rush Hour (1998).avi" size="635761558" container="avi">
<Stream id="194230" streamType="1" codec="msmpeg4v3" index="0" bitrate="764" bitDepth="8" chromaSubsampling="4:2:0" codedHeight="304" codedWidth="640" frameRate="25.000" height="304" refFrames="1" width="640" displayTitle="SD (MSMPEG4V3)" extendedDisplayTitle="SD (MSMPEG4V3)"> </Stream>
<Stream id="194231" streamType="2" selected="1" codec="mp3" index="1" channels="2" bitrate="128" audioChannelLayout="stereo" samplingRate="44100" streamIdentifier="1" displayTitle="Unbekannt (MP3 Stereo)" extendedDisplayTitle="Unbekannt (MP3 Stereo)"> </Stream>
</Part>
</Media>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.