Server Version#: 1.18.4.2171 and all newer versions
Player Version#: 7.26.0.14578 and all newer versions
I’m getting the same issue, I’ve tried changing permissions on the codec file, deleting the file and letting it re download. Reinstalled Plex app and started with a new config. Still having the same issue, seem my Roku is triggering this EAC codec error
I’m getting the same thing with any movie or TV show with this codec. Everytime it happens I have to delete /tmp/pms* and restart Plex.
Could somebody please solve this problem??? It still exists, although I reported it months ago. Works with older Plex Player clients. I’m tired of testing with every new version and then having to set up the start page anew every time, because I find that it still doesn’t work.
Feb 25, 2020 21:56:48.935 [11814] Fehlersuche — MDE: Selected protocol hls; container: mpegts
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: analyzing media item 1265
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): Direct Play is disabled
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): media must be transcoded in order to use the hls protocol
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): selected audio stream is not the first audio stream and direct play stream selection is not enabled
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): no direct play video profile exists for http/mpegts/hevc
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): no direct play video profile exists for http/mpegts/hevc/eac3
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): no direct play video profile exists for http/mpegts/hevc/eac3
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): no direct play video profile exists for http/mpegts/hevc/eac3
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Cannot direct stream audio stream due to codec eac3 when profile only allows aac
Feb 25, 2020 21:56:48.936 [11814] Fehlersuche — MDE: Public Enemies (2009): selected media 0 / 1265
Feb 25, 2020 21:56:48.937 [11814] Fehlersuche — Streaming Resource: Added session 0x29573fe5d8:5e2eed8f2fd15a83-com-plexapp-android
Feb 25, 2020 21:56:48.938 [11814] Fehlersuche — Streaming Resource: Reached Decision id=744 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=1265 part=(id=1265 decision=transcode container=mpegts protocol=hls streams=(Video=(id=3089 decision=copy width=1920 height=1080) Audio=(id=3092 decision=transcode bitrate=258 encoder=aac channels=2 rate=48000))))
Feb 25, 2020 21:56:49.164 [11814] Erweitert — * X-Plex-Client-Platform => Android
Feb 25, 2020 21:56:49.164 [11814] Erweitert — * X-Plex-Client-Profile-Extra => add-limitation(scope=videoCodec&scopeName=h264&type=upperBound&name=video.level&value=52)+add-limitation(scope=videoCodec&scopeName=h264&type=Match&name=video.profile&list=baseline&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.width&value=3840&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoAudioCodec&scopeName=aac&type=upperBound&name=audio.channels&value=8&replace=true)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=mp3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=ac3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=dca)+add-transcode-target(type=subtitleProfile&context=streaming&protocol=http&container=mkv&subtitleCodec=srt)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=mpeg2video)+add-limitation(scope=videoCodec&scopeName=hevc&type=Match&name=video.profile&list=main|main 10)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=hevc)+add-limitation(scope=videoCodec&scopeName=*&type=NotMatch&name=video.anamorphic&value=999&replace=true)
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Device => SHIELD Android TV
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Platform => Android
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Platform-Version => 9
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Product => Plex for Android (TV)
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * X-Plex-Version => 7.28.0.15501
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * audioBoost => 100
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * autoAdjustQuality => 0
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * directPlay => 0
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * directStream => 1
Feb 25, 2020 21:56:49.165 [11814] Erweitert — * directStreamAudio => 1
plex tries to convert the audio codec, which probably does not work. why does direct play not work? it is activated everywhere.
-
Please turn off VERBOSE logging. It serves no purpose here. VERBOSE is off by default.
-
Where is the transcoder temp directory?
-
Can you please recreate and then Download the full / proper logfile ZIP (Settings - Server - Troubleshooting - Download Logs)
-
Attach that ZIP file here.
- switched off
- /storage/C0E8-747B/NVIDIA_SHIELD/_transcode
- Plex Media Server Logs_2020-02-26_09-38-45.zip (1.8 MB)
4 posts were split to a new topic: Can’t play most videos
The Shield cannot decode EAC3, it can only passthrough to a receiver or TV. The receiver or TV then must support decoding EAC3. What is your Shield connected to and does it support EAC3?
And your latest logs don’t include the playback attempt that I can see. It would also be helpful if you included the logs from the Android App.
In Plex Web it can be played without any problems, because here the video format has to be transcoded anyway. On Android devices and on the TV Shield itself it cannot be played.
Here is the android log-file: android.zip (97.8 KB)
Not decoding EAC3 is an Android limitation. That won’t change anytime soon. However, I do see an issue in your logs. It’s something I’m already investigating so hopefully we can find and fix it soon.
The problem occurred for the first time with version 7.26. With version 7.25.2 it still worked. I have reported this error thereupon also immediately. In the description of this version i found this note: “[TV] Dolby Digital Plus (EAC3) passthrough could result in video frame drop.” It could have something to do with it.
Have you narrowed it down yet?
Is there any update?
No answer? No solution?
If it’s the issue which I suspect, which has to do with DNS rebinding from your router, the fix should be included in 7.31.
I’ve had this issue for so long and have been unable to find a solution until now. Posting this in hopes it helps. For the longest time any EAC3 file I tried to play through the Shield would give me an error. If I created an optimized version of the file (essentially pre-transcoding) it would work, but this was so annoying to have to do manually for everything. From the best I can tell, Plex wasn’t aware it needed to transcode the eac3 file, as technically it can play it, but either the Shield, my TV, or sound bar can’t play eac3, so it resulted in this general error. I tried literally every combination of sound/video setting in the Shield’s settings and Plex Player settings there was, and the only thing that seemed to make a difference was if I switched the Plex setting’s ‘Use new player’ to off, as then it would result in the EAC3 being transcoded, but that player has it’s own issues so I’m reluctant to use it.
I finally found a solution that works for me, hoping it helps someone out there. What this will do, I believe, is instruct Plex to force transcode all eac3 encoded media when streaming from Android or Chromecast devices. If you have other Android devices where eac3 works fine, note that this will cause those devices to transcode moving forward.
In your Plex installation folder (mine is C:\Program Files (x86)\Plex\Plex Media Server), go into the Resources\Profiles folder and make backup copies of the Android and Chromecast xml files.
Now edit the android.xml file and in the TranscodeTargets section add the following line:
<VideoProfile container="mp4" codec="h264" audioCodec="eac3" context="static" />
Now edit the chromecast.xml file in the following ways:
- Replace all contents with the version by ambroisemaupate
- Edit the file manually by changing the following:
- Under DirectPlayProfiles, remove any reference to eac3, you will find it 3 times, twice under videoprofile and once under musicprofile.
- Under TranscodeTargets, there will be one line that starts with videoprofile. Replace this line with the following:
<VideoProfile protocol="http" container="mkv,mp4" codec="h264" audioCodec="eac3,aac,mp3" context="streaming" />
Create backup copies of these files. Whenever you update Plex, it will overwrite these XML profiles with the defaults. Replace them with the backed up copies of the modified versions.
This worked for me, hopefully it helps others.
Thanks JD2005:
Just tried with Ubuntu Linux but i still get the same issue. Profiles are located in “/usr/lib/plexmediaserver/Resources/Profiles/” for linux.
Still:
Cannot direct stream audio stream due to codec eac3 when profile only allows aac
For me, I was able to fix the issue after setting “Enable new video player” to OFF in Advanced options in the device settings under the Plex App on the Shield. All EAC3 audio started working after that
MDE: The Movie (2020): Direct Play is disabled
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): media must be transcoded in order to use the hls protocol
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): no direct play video profile exists for http/mkv/h264
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): no direct play video profile exists for http/mkv/h264/eac3
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): no direct play video profile exists for http/mkv/h264/eac3
May 09, 2020 10:48:38.872 [324234234234] DEBUG - The Movie - video.profile limitation applies: main != baseline [list]
May 09, 2020 10:48:38.872 [324234234234] DEBUG - The Movie - video.profile limitation applies: main != baseline [list]
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): no remuxable profile found, so video stream will be transcoded
May 09, 2020 10:48:38.872 [324234234234] DEBUG - The Movie - video.profile limitation applies: main != baseline [list]
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
May 09, 2020 10:48:38.872 [324234234234] DEBUG - Scaled up video bitrate to 8487Kbps based on 1.500000x fudge factor.
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: Cannot direct stream audio stream due to codec eac3 when profile only allows aac
May 09, 2020 10:48:38.872 [324234234234] DEBUG - MDE: The Movie (2020): selected media 0 / 59705
May 09, 2020 10:48:38.873 [324234234234] DEBUG - Streaming Resource: Adding session 0x-com-plexapp-android which is using transcoder slot. Used slots is now 1
May 09, 2020 10:48:38.873 [324234234234] DEBUG - Streaming Resource: Added session 0x123bce0:123-com-plexapp-android
May 09, 2020 10:48:38.873 [324234234234] DEBUG - Streaming Resource: Reached Decision id=36087 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=59705 part=(id=60623 decision=transcode container=mkv protocol=hls streams=(Video=(id=12133 decision=transcode bitrate=8487 encoder=libx264 width=1920 height=1080) Audio=(id=182858 decision=transcode bitrate=774 encoder=aac channels=6 rate=48000))))
May 09, 2020 10:48:38.876 [0x7f85e6370700] DEBUG - Completed: [192.168.1.23:42598] 200 GET /video/:/transcode/universal/decision?audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F36087&protocol=*&session=801ccf5c65b26cec-com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (11 live) TLS GZIP 27ms 3054 bytes (pipelined: 1)
May 09, 2020 10:48:38.975 [324234234234] DEBUG - We’re going to try to auto-select an audio stream for account 1.
May 09, 2020 10:48:38.975 [324234234234] DEBUG - Selecting best audio stream for part ID 59959 (autoselect: 0 language: de)
May 09, 2020 10:48:38.975 [324234234234] DEBUG - Audio Stream: 180440, Subtitle Stream: -1
May 09, 2020 10:48:38.976 [324234234234] DEBUG - We’re going to try to auto-select an audio stream for account 1.
May 09, 2020 10:48:38.976 [324234234234] DEBUG - Selecting best audio stream for part ID 14329 (autoselect: 0 language: de)
May 09, 2020 10:48:38.976 [324234234234] DEBUG - Audio Stream: 149659, Subtitle Stream: -1
May 09, 2020 10:48:38.977 [324234234234] DEBUG - We’re going to try to auto-select an audio stream for account 1.
May 09, 2020 10:48:38.977 [324234234234] DEBUG - Selecting best audio stream for part ID 58879 (autoselect: 0 language: de)
May 09, 2020 10:48:38.977 [324234234234] DEBUG - Audio Stream: 175672, Subtitle Stream: -1
May 09, 2020 10:48:38.978 [324234234234] DEBUG - We’re going to try to auto-select an audio stream for account 1.
May 09, 2020 10:48:38.978 [324234234234] DEBUG - Selecting best audio stream for part ID 55418 (autoselect: 0 language: de)
May 09, 2020 10:48:38.978 [324234234234] DEBUG - Audio Stream: 162569, Subtitle Stream: -1
May 09, 2020 10:48:38.978 [324234234234] DEBUG - We’re going to try to auto-select an audio stream for account 1.
May 09, 2020 10:48:38.978 [324234234234] DEBUG - Selecting best audio stream for part ID 55414 (autoselect: 0 language: de)
May 09, 2020 10:48:38.978 [324234234234] DEBUG - Audio Stream: 162555, Subtitle Stream: -1
May 09, 2020 10:48:38.985 [asdasdasd] DEBUG - Completed: [192.168.1.123:42596] 200 GET /library/metadata/36087?includeChapters=1&includeLoudnessRamps=1&includeMarkers=1&includeRelated=1 (11 live) TLS GZIP 201ms 12592 bytes (pipelined: 1)
May 09, 2020 10:48:46.743 [asdasdasd] DEBUG - Completed: [192.168.1.123:55055] 200 GET /player/proxy/poll?deviceClass=pc&protocolVersion=3&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (11 live) GZIP 20001ms 5 bytes (pipelined: 35)
May 09, 2020 10:48:46.748 [asdasdasd] DEBUG - Auth: authenticated user 1 as jpdribbler
May 09, 2020 10:48:46.749 [324234234234] DEBUG - Request: [192.168.1.104:55055 (Subnet)] GET /player/proxy/poll?deviceClass=pc&protocolVersion=3&protocolCapabilities=timeline%2Cplayback%2Cnavigation%2Cmirror%2Cplayqueues&timeout=1 (11 live) GZIP Signed-in Token (jpdribbler)
May 09, 2020 10:48:46.749 [324234234234] DEBUG - Content-Length is -1 (of total: -1).
Hi, with Amazon firestick is imposible to play movies with EAC3,
Either with the new player o older.
I tried the solutions from @JD2005 but not work in my case.
I can see in the tmp folder under transcode a lot of file transcoding somethins I think so is the audio part but the movie never start.
I just install another PMS with sames results so is something about new versions I think so.
Any helps?
Thx.
If that’s true, then why can every other app on the same android box play EAC3 audio just fine?
In my case I solved the problem by not using the Plex client. Kodi played the files from the Plex server just fine, so the problem is that the Plex client incorrectly thinks that it can’t handle the EAC3 format. Allowing the user to force the client to play the file without transcoding will bypass that bug.
For user convenience if “no transcode” is set and a file looks like it needs it, a dialog could pop up saying “This file uses a format that may not be supported by your player. Transcoding may give you better results. Transcode? Yes/No”. Default to “No” since the user already selected “no transcode” in Settings.
It seems strange that a “no transcode” option wasn’t put into the Settings menu years ago. Is there a reason why this was not something that Plex wants to include?