BUG: Plex refuses to Direct Play files that can be Direct Played

Server Version#: 1.24.5.5173
Player Version#: 5.28.1
TV: LG C1 runnning WebOS 3.20.80

Plex refuses to direct play files that direct play just fine when forced through XPlay or over DLNA using WebOS’s media browser. The file in particular is an M2TS container with 2-ch LPCM audio.

Plex Client says: Cannot direct play with protocol: http, codec: pcm_bluray. Not found in profile.

This is a problem because PMS remuxes don’t trigger Dolby Vision on the TV.

Subtitles enabled? If so, try turning them off.

What is displayed in Plex Dashboard → Now Playing? Is the video or audio transcoding?

Pull the TV & server log files. Someone can take a look and assist with troubleshooting.

  1. Set TV to log to server at debug level.
  2. Confirm server is set for debug, not verbose, level logging (Settings → Server_Name → General)
  3. Play the file for ~30 seconds, to recreate the problem and let the log files capture it.
  4. Stop playback. Wait 1 minute for the server to settle.
  5. Pull logs (Settings → Troubleshooting).
  6. Attach ZIP file to the thread.

Also attach the XML info for the file. Save the web page as a .txt file or zip it. The forum does not support .xml attachments.

Subtitles are off. Direct Play and Direct Stream is enabled on the client. Note that the file direct plays perfectly fine over DLNA or 3rd party clients (XPlay).

MediaInfo

General
ID : 1 (0x1)
Complete name : E:\00023.m2ts
Format : BDAV
Format/Info : Blu-ray Video
File size : 870 MiB
Duration : 2 min 23 s
Overall bit rate mode : Variable
Overall bit rate : 50.9 Mb/s
Maximum Overall bit rate : 35.5 Mb/s

Video
ID : 4117 (0x1015)
Menu ID : 1 (0x1)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5.1@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : 36
Duration : 2 min 23 s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 1000 cd/m2
Maximum Frame-Average Light Level : 497 cd/m2

Audio #1
ID : 4352 (0x1100)
Menu ID : 1 (0x1)
Format : DTS XLL
Format/Info : Digital Theater Systems
Commercial name : DTS-HD Master Audio
Muxing mode : Stream extension
Codec ID : 134
Duration : 2 min 23 s
Bit rate mode : Variable
Channel(s) : 8 channels
Channel layout : C L R LFE Lb Rb Lss Rss
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossless
Language : English

Audio #2
ID : 4353 (0x1101)
Menu ID : 1 (0x1)
Format : DTS
Format/Info : Digital Theater Systems
Codec ID : 130
Duration : 2 min 23 s
Bit rate mode : Constant
Bit rate : 255 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Frame rate : 93.750 FPS (512 SPF)
Bit depth : 24 bits
Compression mode : Lossy
Stream size : 4.36 MiB (0%)
Language : English

Audio #3
ID : 4354 (0x1102)
Menu ID : 1 (0x1)
Format : PCM
Format settings : Big / Signed
Muxing mode : Blu-ray
Codec ID : 128
Duration : 2 min 23 s
Bit rate mode : Constant
Bit rate : 2 304 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 48.0 kHz
Bit depth : 24 bits
Stream size : 39.4 MiB (5%)
Language : English

Text
ID : 4768 (0x12A0)
Menu ID : 1 (0x1)
Format : PGS
Codec ID : 144
Language : English

XML info (3.1 KB)
Plex Media Server.log (20.4 KB)

Also, I just realized I can trick the Plex client to direct play the video by enabling DTS audio. The TV will ignore the unsupported audio tracks in the container and automatically choose the pcm_bluray track even with with the DTS track selected.

Thanks for the info.

The situation is that the PCM track uses Big Endian byte order instead of Little Endian (Format settings : Big / Signed). Big Endian is not supported by the TV, so Plex transcodes the audio stream to a supported format.

One way this can happen when a file is copied from a disc instead of ripped using software such as MakeMKV (the file name, 000023.m2ts, looks like file names from the STREAM folder on Blu-ray discs).

If the file came from a blu-ray disc and you have access to the media (or a backup), rip the disc with MakeMKV. This will convert the audio from big endian to little endian, which is widely supported (and direct plays on LG TVs).

If you do not have access to the media, try processing the clip using XMedia Recode or similar software (or ffmpeg if you’re comfortable with CLI). Configure XMedia Recode to copy the video track and convert the audio track to little endian PCM.

When complete, MediaInfo will show the Format settings as Little / Signed instead of Big / Signed.

Follow Up: I ran a quick test with my B7 OLED. Big Endian PCM tracks are transcoded. Little Endian PCM tracks direct play.

The problem is, the TV happily plays the big endian byte order PCM just fine. I can force direct play through XPlay or play over DLNA and I can hear the audio exactly how it should be. The problem with remuxing it to mkv is that my TV would ignore the Dolby Vision metadata which is the sole reason why I bother with the LG C1’s built-in apps in the first place. Otherwise, I would just use Infuse instead.

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