Videos with AAC codec (AAC Main Stereo) don't work on Android devices

Server Version#: latest (PlexMediaServer-1.23.2.4625-a83d2d0f9-x86_64)
Player Version#: latest (Android or Google Chrome)

The problem is - videos with AAC codec (2 channel) can’t be played on Android devices (also on Google Chrome on Windows) but they can be played with Plex app for Windows.

It’s obvious that it’s a player issue for Android.

I was googling a lot and found a workaround by setting “Enable new video player setting” to OFF , but I can’t found this option in Advanced menu.

Please help to disable New video player or suggest another workaround to play videos with AAC Stereo codec.

Please post the first ~20 lines from the Plex XML info of an affected video.

"<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="10" librarySectionTitle="5) RU" librarySectionUUID="7dfd63b8-c815-4982-bb08-69a232a500d3" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1622556413">

<Video ratingKey="2356" key="/library/metadata/2356" guid="plex://movie/60200f0838acd9002c2669e3" type="movie" title="Phobias" librarySectionTitle="5) RU" librarySectionID="10" librarySectionKey="/library/sections/10" summary="Five dangerous patients, suffering from extreme phobias at a government testing facility, are put to the ultimate test under the supervision of a crazed doctor and his quest to weaponize fear." year="2021" thumb="/library/metadata/2356/thumb/1616489689" art="/library/metadata/2356/art/1616489689" duration="5213077" originallyAvailableAt="2021-02-28" addedAt="1616487934" updatedAt="1616489689">

<Media id="5324" duration="5213077" bitrate="7386" width="1912" height="952" aspectRatio="1.85" audioChannels="2" audioCodec="aac" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="main" videoProfile="high">

<Part accessible="1" exists="1" id="5434" key="/library/parts/5434/1616487854/file.mkv" duration="5213077" file="/share/external/DEV3302_2/VIDEO/RU/Phobias.2021.P.WEB-DL.1O8Op.mkv" size="4814524880" audioProfile="main" container="mkv" deepAnalysisVersion="4" requiredBandwidths="7533,7481,7467,7467,7467,7467,7467,7467" videoProfile="high">

<Stream id="14683" streamType="1" default="1" codec="h264" index="0" bitrate="7005" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="960" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="952" level="41" profile="high" refFrames="4" requiredBandwidths="7152,7099,7085,7085,7085,7085,7085,7085" scanType="progressive" width="1912" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>

<Stream id="14684" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="381" audioChannelLayout="stereo" profile="main" requiredBandwidths="382,382,382,382,382,382,382,382" samplingRate="48000" displayTitle="Unknown (AAC Main Stereo)" extendedDisplayTitle="Unknown (AAC Main Stereo)"> </Stream>"

I could be wrong, but I don’t think that 381 kbps is a valid bitrate for a 2.0 AAC stream.

Some devices might be able to handle it fine, but some may malfunction.

A lot of movies are in that format, is there any workaround to play them on Android devices or maybe there is an option to disable new video player.

Or is disabling "new video player " option no longer available at all?

Correct.

Maybe there is a way to set legacy media player by editing Plex configuration files?

There is not.

What kind of Android player device are you using?

How are your speakers connected to the Windows PC? Please describe the whole signal chain, if possible.

I suppose this problem persists on any Android device.

  1. My first device is Ugoos X3 TV Box with Android 9 connected via HDMI cable to Philips monitor. Speakers are integrated to this monitor.

  2. Second device is OnePlus 7 Pro phone with Android 10

  3. Third device is Chrome web browser latest version on Windows 10 MSI laptop with Realtek audio.

The problem is that almost all movies that are HD or lower quality have 2.0 AAC stream with 381 kbps or 384 kbps. This is a massive problem.

It is quite puzzling. 2.0 AAC is as standard as it gets. I can play this on any of my devices, including Android (both mobile and TV).

Oh wait. I was able to recreate it.
It appears the issue is with files which use the ‘Main’ profile.
As long as you use the ‘LC’ profile, all is as it should be.

I will file this as a bug.

Unfortunately I don’t understand what does it mean ‘Main’ profile or ‘LC’ profile
and how to switch to LC profile :thinking:

From the Plex mediainfo XML:
It says “AAC Main stereo” in the track description and profile="main" in the XML.

<Stream id="14684" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="381" audioChannelLayout="stereo" profile="main" requiredBandwidths="382,382,382,382,382,382,382,382" samplingRate="48000" displayTitle="Unknown (AAC Main Stereo)" extendedDisplayTitle="Unknown (AAC Main Stereo)"> </Stream>"

This is done during the preparation of the file, when the file is being compressed (usually after it has been ripped from DVD/Bluray).

For instance, here is the responsible encoder preference in XMedia Recode:

Main has long been an issue with many players - Roku Barfs every time.

For that reason any Main profiles are re-encoded (audio only, if necessary) with Xmedia Recode to LC. That’ll be quicker than a bug fix - and it’s possible your device will barf on Main anyway.

https://www.xmedia-recode.de/en/download.php

An audio only recode is fast.
It’ll only take a minute or two (usually).

I tried converting with XMedia Recode and it helped :slight_smile: Thank you very much. But still, I hope that the bug will be fixed, since an extra action does not add convenience :slight_smile:

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