4k playback issue for specific file

mkvtoolnix will allow you to restack (reorganize) as it remuxes (no decode/encode)… it’s a copy operation with track ID fields named.

Please don’t change anything else. Working with my team member, we found a deployment failure. We discovered the wrong build was deployed and resulted in the errors you’re seeing.

When we discover the root cause, if human then there will be an appropriate flogging. :smiling_imp:

1 Like

Had pasted the Ubuntu here… Sorry. Will update ASAP but Plex.tv will be updated too.

I can definitely give it a shot. I think the file you linked to is the wrong file. My PMS is on Synology for Intel 64-bit. Should be a SPK file.

I did. My apologies. We have operations and engineering verifying what should be made public. We all believe we have the right build (1231) but want to triple-check it.

1 Like

No worries. I really appreciate the help!

Go for it!

PMS 1.16.2.1321 is now live.

Hey @ChuckPa
Sorry for the delay, was out of town and couldn’t test this out. I installed the latest version but unfortunately was still unable to play that file (as well as a few others that weren’t playing previously as well). I did run the logs again during the playback if that helps. One thing interesting I did near the beginning of the log is when it appears to be reporting on the file and the player capabilities.

Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   videoResolution: 2560
Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   bitrate: 54970
Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   canDirectStreamAudio: false
Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   canDirectStreamVideo: true
Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   canDirectPlay: true
Jul 21, 2019 21:32:02.643 [0x7faa7b2cb700] Info — [ui-chrome-webos]   canPlay: true
Jul 21, 2019 21:32:02.644 [0x7faa7b2cb700] Info — [ui-chrome-webos] [MDE] Finished analysis of 4k (mkv, hevc, truehd, 153, main 10)
Jul 21, 2019 21:32:02.644 [0x7faa7b2cb700] Info — [ui-chrome-webos] [Player] Can direct stream? true (isAllowed: true)

It’s giving a canDirectStreamAudio: false while the video itself is canDirectStreamVideo: true. So it seems to think that the audio is the issue. It’s odd that in the line after it says Finished analysis of 4k (mkv, hevc, truehd, 153, main 10). It seems to be talking about the TrueHD stream, but I have selected the 5.1 AC3 stream.

Further down in the logs I do see:

Jul 21, 2019 21:32:37.638 [0x7faa2b735700] Info — [ui-chrome-webos] [Player] Stream codec is: ac3, selected: ac3
Jul 21, 2019 21:32:37.638 [0x7faa2b735700] Info — [ui-chrome-webos] [Player] Can direct stream? true (isAllowed: true)

If I’m reading that right it is saying that the AC3 stream is able to be direct streamed. So for some reason seems like it isn’t properly seeing that I have AC3 selected and is transcoding based on the unselected TrueHD stream.

across-the-universe-logs.txt (44.4 KB)

I will need ask the TV app guys to look. You seem to have it down to a single decision.

Thanks! I wasn’t sure if I made it clear, but this transcoding issue while AC3 is selected isn’t just with this one movie. I’ve only just begun backing up my 4k movies to my media server but it seems like maybe every 1 in 4 or 5 has the same playback issue. Definitely plenty do playback just fine with AC3 selected.

As a side note, I was able to playback the problem files just fine from my 4k Oppo blu ray player that connected to the Plex server via the DLNA option.

According to your log, PMS picked the right audio track and did try to direct play first, but ti failed.

Jul 21, 2019 21:32:37.638 [0x7faa2b735700] Info — [ui-chrome-webos] [Player] Stream codec is: ac3, selected: ac3
Jul 21, 2019 21:32:37.638 [0x7faa2b735700] Info — [ui-chrome-webos] Direct Play: true
Jul 21, 2019 21:32:38.539 [0x7faa7b2cb700] Warning — [ui-chrome-webos] [Player] Direct Play failed, but server can transcode. Attempting to fallback to either Direct Stream or transcode…

I would need to see your full unedited PMS logs to verify the above, but it looks like there is something with the file that the Plex app doesn’t like.

Sure, I’d be happy to. How do I pull the specific logs you are looking for? Currently I just go to the Console in the web player and have that open while I play the file from the TV player.

This will generate a zip file. Upload that file.

ok @anon18523487, here you go. Let me know what else I can provide you.

Plex Media Server Logs_2019-07-22_21-38-00.zip (1.4 MB)

Oh. You have debug logging turned off, so there isn’t enough info in your logs. You’ll need to turn that on, recreate the problem, and provide new logs.

@anon18523487, ok sorry about that. Here’s the logs with that option enabled.

Plex Media Server Logs_2019-07-23_22-39-48.zip (1.6 MB)

Hi @anon18523487, did you have a chance to look at the logs I sent? Any idea about the problem?

Here is what I found.

Jul 23, 2019 22:37:53.729 [0x7faa3bd11700] DEBUG - MDE: Across the Universe (2007): selected audio stream is not the first audio stream and direct play stream selection is not enabled

Ignore that last part of the message. The important part is the beginning.

selected audio stream is not the first audio stream

The Plex app on your LG should be able to handle audio being on another stream as demonstrated by the other file working, but somehow the way this file is made makes it not possible.

Is there a way I can switch the order of the streams and make the ac3 stream the first stream? I’m not sure how exactly to do that.

You need a conversion program that can support a feature called remuxing, which is basically rewrite the file without re-encoding the actual streams. FFMPEG is the most common program to use, but it is a command line tool. There are other graphical programs that use FFMPEG behind the screens. You’ll need to search for your OS and what you feel is useful for you.