Xbox One Transcoding Supported Video Format

Hello, I just encoded some Blu Ray 1080p videos using Handbrake to H.264/Mp4 container, and the Xbox One is not direct playing, even though that option is selected in settings and is enabled in Plex. Here are my logs - any help figuring out what is wrong would be great

Oct 01, 2016 16:14:24.517 [0x7000015ec000] DEBUG - Request: [10.0.1.54:51420 (Subnet)] GET /library/metadata/2509?checkFiles=1 (19 live) TLS GZIP Signed-in Token (mikenyla)
Oct 01, 2016 16:14:24.524 [0x7000015ec000] DEBUG - We’re going to try to auto-select an audio stream for account 1.
Oct 01, 2016 16:14:24.524 [0x7000015ec000] DEBUG - Selecting best audio stream for part ID 5430 (autoselect: 0 language: en)
Oct 01, 2016 16:14:24.524 [0x7000015ec000] DEBUG - Audio Stream: 11588, Subtitle Stream: -1
Oct 01, 2016 16:14:24.524 [0x7000015ec000] DEBUG - It took 0.0 sec to serialize a list with 1 elements.
Oct 01, 2016 16:14:24.525 [0x700000a27000] DEBUG - Completed: [10.0.1.54:51420] 200 GET /library/metadata/2509?checkFiles=1 (19 live) TLS GZIP 8ms 1464 bytes (pipelined: 9)
Oct 01, 2016 16:14:24.727 [0x7000016f2000] INFO - [Plex for Xbox One] [MDE] Augmented profile: { “directPlay”: { “mp4”: { “mimeType”: “video/mp4; codecs=“avc1.42E01E””, “video”: { “codec”: [ “h264”, “hevc”, “wmv3”, “vc1”, “mpeg4” ] }, “audio”: { “codec”: [ “aac”, “ac3”, “eac3”, “mp3” ], “maxChannels”: 6 } }, “mpegts”: { “video”: { “codec”: [ “h264”, “mpeg2video” ] }, “audio”: { “codec”: [ “aac”, “ac3”, “mp2” ] } }, “mkv”: { “video”: { “codec”: [ “h264”, “hevc”, “wmv3”, “vc1”, “mpeg4” ] }, “audio”: { “codec”: [ “mp3”, “aac”, “ac3”, “eac3”, “flac”, “alac” ], “maxChannels”: 6 } }, “avi”: { “video”: { “codec”: [ “mpeg4”, “msmpeg4”, “wmv3”, “vc1” ] }, “audio”: { “codec”: [ “mp3”, “aac”, “ac3” ], “maxChannels”: 6 } }, “mov”: { “video”: { “codec”: [ “h264” ] }, “audio”: { “codec”: [ “aac” ] } } }, “directStream”: { “video”: { “codec”: [ “h264”, “hevc” ], “maxBitDepth”: 8 }, “audio”: { “codec”: [ “ac3”, “eac3”, “aac” ], “maxChannels”: 6 } } }
Oct 01, 2016 16:14:24.906 [0x700000aaa000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:24.906 [0x700000aaa000] DEBUG - Auth: authenticated user 1 as mikenyla
Oct 01, 2016 16:14:24.906 [0x700000aaa000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Oct 01, 2016 16:14:24.906 [0x700000b2d000] DEBUG - Request: [10.0.1.54:51419 (Subnet)] GET /library/parts/5430/1475337470/file.m4v (19 live) TLS GZIP Signed-in Token (mikenyla)
Oct 01, 2016 16:14:24.909 [0x700000b2d000] DEBUG - Streaming Resource: Added session 0x6180003366e0:oqbr0xvmyvqa
Oct 01, 2016 16:14:24.909 [0x700000b2d000] DEBUG - Content-Length of /Volumes/Macintosh HD 2/Videos/TV Shows:Music/Frozen Planet/04 - Autumn.m4v is 5077493499.
Oct 01, 2016 16:14:24.928 [0x700000aaa000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:24.928 [0x700000aaa000] DEBUG - Auth: Came in with the master token, authorization succeeded.
Oct 01, 2016 16:14:24.928 [0x700000486000] DEBUG - Request: [127.0.0.1:64136 (Loopback)] PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31835 (20 live) Signed-in Token (mikenyla)
Oct 01, 2016 16:14:24.928 [0x700000486000] DEBUG - HLS segment range: 513 - 1873; average bitrate: 8.86 Mbps (segment size min/avg/max: 0.3/1.1/1.8)
Oct 01, 2016 16:14:24.928 [0x700000486000] DEBUG - We want 60 segments ahead, last returned was 1502 and max is 1873.
Oct 01, 2016 16:14:24.928 [0x700000486000] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Oct 01, 2016 16:14:24.929 [0x700000aaa000] DEBUG - Completed: [127.0.0.1:64136] 206 PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31835 (20 live) 0ms 305 bytes
Oct 01, 2016 16:14:24.960 [0x700000a27000] DEBUG - Failed to stream media, client probably disconnected: 32 - Broken pipe
Oct 01, 2016 16:14:24.960 [0x700000a27000] DEBUG - Completed: [10.0.1.54:51419] 200 GET /library/parts/5430/1475337470/file.m4v (19 live) TLS GZIP 54ms 147456 bytes (pipelined: 7)
Oct 01, 2016 16:14:24.960 [0x7000018fe000] INFO - [Plex for Xbox One] [MDE] Starting analysis of 1080 (mp4, h264, ac3, 40, main)
Oct 01, 2016 16:14:24.998 [0x700000aaa000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:24.998 [0x700000aaa000] DEBUG - Auth: authenticated user 1 as mikenyla
Oct 01, 2016 16:14:24.998 [0x700000aaa000] DEBUG - Auth: Came in with a super-token, authorization succeeded.
Oct 01, 2016 16:14:24.999 [0x700001463000] DEBUG - Request: [10.0.1.54:51418 (Subnet)] GET /library/parts/5430/1475337470/file.m4v (18 live) TLS GZIP Signed-in Token (mikenyla)
Oct 01, 2016 16:14:24.999 [0x700001463000] DEBUG - Request range: 5072175104 to 5077493498
Oct 01, 2016 16:14:25.001 [0x700001463000] DEBUG - Streaming Resource: Re-using session 0x6180003366e0:oqbr0xvmyvqa for resource id dp:part-5430
Oct 01, 2016 16:14:25.001 [0x700001463000] DEBUG - Content-Length of /Volumes/Macintosh HD 2/Videos/TV Shows:Music/Frozen Planet/04 - Autumn.m4v is 5077493499.
Oct 01, 2016 16:14:25.442 [0x700000a27000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:25.442 [0x700000a27000] DEBUG - Auth: Came in with the master token, authorization succeeded.
Oct 01, 2016 16:14:25.442 [0x7000013e0000] DEBUG - Request: [127.0.0.1:64137 (Loopback)] PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31737 (17 live) Signed-in Token (mikenyla)
Oct 01, 2016 16:14:25.442 [0x7000013e0000] DEBUG - HLS segment range: 513 - 1873; average bitrate: 8.86 Mbps (segment size min/avg/max: 0.3/1.1/1.8)
Oct 01, 2016 16:14:25.442 [0x7000013e0000] DEBUG - We want 60 segments ahead, last returned was 1502 and max is 1873.
Oct 01, 2016 16:14:25.442 [0x7000013e0000] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Oct 01, 2016 16:14:25.442 [0x700000a27000] DEBUG - Completed: [127.0.0.1:64137] 206 PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31737 (17 live) 0ms 305 bytes
Oct 01, 2016 16:14:25.959 [0x700000a27000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:25.959 [0x700000a27000] DEBUG - Auth: Came in with the master token, authorization succeeded.
Oct 01, 2016 16:14:25.959 [0x70000089e000] DEBUG - Request: [127.0.0.1:64138 (Loopback)] PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31262 (18 live) Signed-in Token (mikenyla)
Oct 01, 2016 16:14:25.959 [0x70000089e000] DEBUG - HLS segment range: 513 - 1873; average bitrate: 8.86 Mbps (segment size min/avg/max: 0.3/1.1/1.8)
Oct 01, 2016 16:14:25.960 [0x70000089e000] DEBUG - We want 60 segments ahead, last returned was 1502 and max is 1873.
Oct 01, 2016 16:14:25.960 [0x70000089e000] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Oct 01, 2016 16:14:25.960 [0x700000a27000] DEBUG - Completed: [127.0.0.1:64138] 206 PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31262 (18 live) 0ms 305 bytes
Oct 01, 2016 16:14:26.495 [0x700000aaa000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:26.495 [0x700000aaa000] DEBUG - Auth: Came in with the master token, authorization succeeded.
Oct 01, 2016 16:14:26.495 [0x70000166f000] DEBUG - Request: [127.0.0.1:64139 (Loopback)] PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31086 (18 live) Signed-in Token (mikenyla)
Oct 01, 2016 16:14:26.495 [0x70000166f000] DEBUG - HLS segment range: 513 - 1873; average bitrate: 8.86 Mbps (segment size min/avg/max: 0.3/1.1/1.8)
Oct 01, 2016 16:14:26.496 [0x70000166f000] DEBUG - We want 60 segments ahead, last returned was 1502 and max is 1873.
Oct 01, 2016 16:14:26.496 [0x70000166f000] DEBUG - It took 0.0 sec to serialize a list with 0 elements.
Oct 01, 2016 16:14:26.496 [0x700000a27000] DEBUG - Completed: [127.0.0.1:64139] 206 PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=31086 (18 live) 0ms 305 bytes
Oct 01, 2016 16:14:26.763 [0x7000015ec000] INFO - [Plex for Xbox One] [MDE] Finished analysis of 1080 (mp4, h264, ac3, 40, main)
Oct 01, 2016 16:14:27.009 [0x700000a27000] DEBUG - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Oct 01, 2016 16:14:27.009 [0x700000a27000] DEBUG - Auth: Came in with the master token, authorization succeeded.
Oct 01, 2016 16:14:27.009 [0x700000f45000] DEBUG - Request: [127.0.0.1:64140 (Loopback)] PUT /video/:/transcode/session/gwozdmpra5cs/progress?progress=28.7&size=-22&remaining=25423 (19 live) Signed-in Token (mikenyla)

This is the full log. Thanks

You server appears to be direct playing the file:

Oct 01, 2016 16:14:32.799 [0x70000166f000] INFO - [Plex for Xbox One] [Player] setting src attribute https://10-0-1-17.e3bdc9af7372485b8476162fe42aaffc.plex.direct:32400/library/parts/5430/1475337470/file.m4v?X-Plex-Session-Identifier=oqbr0xvmyvqa&X-Plex-Client-Identifier=0vi7z77bv9mod&X-Plex-Product=Plex%20for%20Xbox%20One&X-Plex-Device=Xbox%20One&X-Plex-Platform=Xbox%20One&X-Plex-Platform-Version=10.0&X-Plex-Version=2.7.0&X-Plex-Device-Name=XboxOne&X-Plex-Provides=player&X-Plex-Client-Capabilities=videoDecoders%3Dh264%7Bprofile%3Ahigh%26resolution%3A1080%7D%3BaudioDecoders%3Daac%7Bchannels%3A6%7D%2Cac3%7Bchannels%3A6%7D%2Ceac3%7Bchannels%3A6%7D&X-Plex-Accept-Language=en&X-Plex-Token=xxxxxxxx

This is the line where the Xbox One is setting the source for the player. It’s pulling a direct link to the file (file.m4v), if it was transcoding in this line the source would be for a universal transcode instead of the direct connection.

With that being said there is a warning shortly after (in time, but no in lines of the log) for Excessive buffering detected with the cause being listed as network:
Oct 01, 2016 16:15:20.187 [0x700000486000] WARN - [Plex for Xbox One] Player: Excessive buffering detected; network

Thanks for the response. I’m confused, because in the Plex app it says it is transcoding the video stream to H.264 and is using 364% of my CPU with the Plex transcoder. I thought the Plex transcoder isn’t used when DirectPlay is active? The Plex app does say that the audio stream is Direct Playing - just that the video stream is not. I am seeing the excessive buffering but I thought it may be caused by my computer not being able to keep up with the transcode.

With direct play the transcoder is not used. Which app are you using to see the transcoding status? The Xbox One app doesn’t have any mechanics to show when it is transcoding. In addition there are very view reasons h264 would be transcoded (Subtitles and a bit rate limit being the two main culprits.) But looking at the Xbox One setting it’s source to the file itself is very conclusive that it isn’t transcoding.

Just for reference this is what the transcoding src looks like from one of my videos that has unsupported audio (trimmed down for space):
Oct 01, 2016 18:54:31.691 [0x7ff0b53ff700] INFO - [Plex for Xbox One] [Player] setting src attribute https://192-168-1-200.d159653486444e28bc2895e69854fcd2.plex.direct:32400/video/:/transcode/universal/start.m3u8?path=

It’s hard to read everything going on in the logs because it actually looks like you have 2-3 streams total going on and they appear to start before the log file that was attached. The best way to start trouble shooting is to restart the server, play the item causing the buffering, and then attach the Plex Media Server.log. This should keep everything contained in the single log file and allow us to see everything that is going on.

Thanks again. I took another look at the videos that were transcoding and based on your analysis that my network was showing excessive buffering, I think their bitrate was too high for my network to deal with. Based on this, I reencoded the videos at a slightly lower bitrate, and now everything is working fine. Thanks for your help.