Xbox One transcoding H264

Hi.

Please forgive me, but I’m not that technically minded when it comes to video codecs and containers.

I have PMS (0.9.15.6.1714-7be11e1) installed on a QNAP 459, its able to transcode, but not at a rate for streaming (so ok for syncing content).
Most of my videos are either MKV or mp4s, all I believe to be using the H264 codecs which the xbox is able to support?

My issue is that when playing any of my mp4 and mkv files on my xbox one (plex v 1.5) the server is trying to transcode them, and killing the CPU.
When playing the file, and looking at the “now playing” section of the webapp, I can see that the audio is direct stream, but the video is being transcoded to h264 even though it is in that format.

The Xbox one is set to Direct Play and Direct Stream (though have tried turning those settings off)

I’ve checked that the server isn’t trying to put in any subtitles and causing it to transcode.

Playing the video via DNLA or to another plex app (ie Windows 10 app) works fine as can direct play.

Are there any other settings I should look at?
Is anyone else getting the same issue? is it a known problem?

Thanks in advance.

Can you show us the complete Media XML for one of the files having the issue. https://support.plex.tv/hc/en-us/articles/201998867

is the quality level set to original during playback?

I’m having a similar issue, difference being it only affects one of the Xbox Ones, out of 3 people connecting,

I’ve tried multiple files, and settings. I still cant figure it out. Running up to date version

Edit: I’m running the plex media server from windows 10 on a newly built PC, its fine doing transcoding…id just rather it not have to if its not necessary

I’m having the same issue. I encoded my entire DVD/Bluray collection using H264/MKV, and every file requires transcoding in the Xbox One plex app. Watching a single movie causes the NAS fan to constantly run and if 2 people are trying to watch a movie on the 2 different xbox ones, the NAS slows to a crawl (not good). I’d love to have these direct play. Here is the xml for one of the movies that I encoded myself. I have 400+ DVD/Blurays that I encoded myself, so I really hope I didn’t do something wrong, but please let me know if it’s possible to fix this. Also, I did insure that I was running playback as “Original”.

Thanks!
This XML file does not appear to have any style information associated with it. The document tree is shown below. <MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="Movies" librarySectionUUID="4d0b5fcb-cf9a-48a9-98af-17ac62259c10" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1456194001"> <Video ratingKey="5370" key="/library/metadata/5370" guid="com.plexapp.agents.themoviedb://118340?lang=en" librarySectionID="1" studio="Marvel Entertainment, LLC" type="movie" title="Guardians of the Galaxy 3D" contentRating="PG-13" summary="Light years from Earth, 26 years after being abducted, Peter Quill finds himself the prime target of a manhunt after discovering an orb wanted by Ronan the Accuser." rating="8.3" year="2014" tagline="All heroes start somewhere." thumb="/library/metadata/5370/thumb/1424812919" art="/library/metadata/5370/art/1424812919" duration="7250501" originallyAvailableAt="2014-08-01" addedAt="1424812770" updatedAt="1424812919" chapterSource="media"> <Media videoResolution="1080" id="5082" duration="7250501" bitrate="12075" width="1920" height="1080" aspectRatio="1.78" audioChannels="8" audioCodec="dca-ma" videoCodec="h264" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="high"> <Part accessible="1" exists="1" id="5092" key="/library/parts/5092/file.mkv" duration="7250501" file="/volume1/video/Movies/3D Bluray/Guardians of the Galaxy (2014)/Guardians of the Galaxy (2014) - 1080p.Half-SBS.3D.mkv" size="10944053872" audioProfile="ma" container="mkv" videoProfile="high"> <Stream id="6070" streamType="1" default="1" codec="h264" index="0" bitrate="12075" bitDepth="8" cabac="1" chromaSubsampling="4:2:0" codecID="V_MPEG4/ISO/AVC" colorRange="tv" colorSpace="bt709" duration="7250501" frameRate="23.976" frameRateMode="cfr" hasScalingMatrix="0" height="1080" level="41" pixelFormat="yuv420p" profile="high" refFrames="2" scanType="progressive" width="1920"/> <Stream id="6071" streamType="2" selected="1" default="1" codec="dca" index="1" channels="8" language="English" languageCode="eng" audioChannelLayout="7.1" bitDepth="24" bitrateMode="vbr" codecID="A_DTS" duration="7250493" profile="ma" samplingRate="48000"/> <Stream id="6072" streamType="3" codec="pgs" index="2" language="English" languageCode="eng" codecID="S_HDMV/PGS" format="pgs"/> </Part> </Media> <Genre id="1167" tag="Adventure" count="103"/> <Genre id="255" tag="Fantasy" count="72"/> <Genre id="265" tag="Science Fiction" count="91"/> <Writer id="2180" tag="Nicole Perlman"/> <Writer id="2181" tag="James Gunn"/> <Director id="2179" tag="James Gunn"/> <Producer id="612" tag="Kevin Feige" count="11"/> <Country id="27" tag="USA" count="285"/> <Role id="2182" tag="Chris Pratt" count="3" role="Peter Quill" thumb="http://image.tmdb.org/t/p/original/n4DD1AYU7WEMNPLga1TxqnHivn1.jpg"/> <Role id="822" tag="Zoe Saldana" count="4" role="Gamora" thumb="http://image.tmdb.org/t/p/original/ofNrWiA2KDdqiNxFTLp51HcXUlp.jpg"/> <Role id="2183" tag="Dave Bautista" count="2" role="Drax"/> <Role id="2184" tag="Vin Diesel" count="3" role="Groot (voice)" thumb="http://image.tmdb.org/t/p/original/qwyfzMKIhxJ7ols66FgEf7eGdcI.jpg"/> <Role id="2185" tag="Bradley Cooper" count="3" role="Rocket (voice)" thumb="http://image.tmdb.org/t/p/original/ifjdzZtkR5S5ifSSNQZsVarqFxD.jpg"/> <Role id="2186" tag="Lee Pace" role="Ronan"/> <Role id="2187" tag="Michael Rooker" count="2" role="Yondu Udonta"/> <Role id="2188" tag="Karen Gillan" role="Nebula" thumb="http://image.tmdb.org/t/p/original/3ip17StrlDLs9CmYaEyVxRK94t.jpg"/> <Role id="2189" tag="Djimon Hounsou" count="5" role="Korath" thumb="http://image.tmdb.org/t/p/original/y22Pb0XAVqC0l7ukzKKtXzPEuHk.jpg"/> <Role id="2190" tag="John C. Reilly" count="2" role="Corpsman Dey" thumb="http://image.tmdb.org/t/p/original/kUo2TPQp4kOWWvijvkjLl0v9PQB.jpg"/> <Role id="2191" tag="Glenn Close" role="Nova Prime" thumb="http://image.tmdb.org/t/p/original/fF6tCfuvuUhaePm5onUNnIE4FvL.jpg"/> <Role id="2192" tag="Benicio del Toro" count="5" role="The Collector" thumb="http://image.tmdb.org/t/p/original/cbkXDtNDFYHKsyQzqvzxjn7F7rX.jpg"/> <Role id="2193" tag="Laura Haddock" role="Meredith Quill" thumb="http://image.tmdb.org/t/p/original/9Krk76xvNMkIqjEbPXdARZNRX3.jpg"/> <Role id="2194" tag="Sean Gunn" role="Kraglin / On Set Rocket" thumb="http://image.tmdb.org/t/p/original/dldYyij2lt4rDUehY4wLZoZ0KUK.jpg"/> <Role id="2195" tag="Peter Serafinowicz" count="2" role="Denarian Seal" thumb="http://image.tmdb.org/t/p/original/nfXHDKeetwO16agC0S7tDmLt1il.jpg"/> <Role id="2196" tag="Gregg Henry" role="Grandpa" thumb="http://image.tmdb.org/t/p/original/ltCW4AenmpuDau3x5etBkGxiCkV.jpg"/> <Role id="596" tag="Stan Lee" count="17" role="Xandarian Ladies' Man" thumb="http://image.tmdb.org/t/p/original/dTr2gJPL7jELKVkcjtoNx80uVKR.jpg"/> <Role id="2197" tag="Nathan Fillion" count="2" role="Monstrous Inmate" thumb="http://image.tmdb.org/t/p/original/B7VTVtnKyFk0AtYjEbqzBQlPec.jpg"/> <Role id="586" tag="Alexis Denisof" count="2" role="The Other" thumb="http://image.tmdb.org/t/p/original/7UvmGWSp6biLCxFkyLAiTEKqQBC.jpg"/> <Role id="2198" tag="Rob Zombie" role="Ravager Navigator" thumb="http://image.tmdb.org/t/p/original/yolAZ3yukTNn6N7SPBDadHnz7SK.jpg"/> <Role id="2199" tag="James Gunn" role="Maskless Sakaaran" thumb="http://image.tmdb.org/t/p/original/lTXlad2538FyIbElyDyO5jCTeCX.jpg"/> <Role id="2200" tag="Tyler Bates" role="Ravager Pilot" thumb="http://image.tmdb.org/t/p/original/aN0g9Lrw03B7Hl2F4dCOo31hIKl.jpg"/> <Role id="2201" tag="Josh Brolin" count="5" role="Thanos" thumb="http://image.tmdb.org/t/p/original/x8KKnvHyPvH16M6waAnY1OeCtA8.jpg"/> <Role id="997" tag="Seth Green" count="4" role="Howard the Duck"/> <Role id="2202" tag="Mikaela Hoover" role="Nova Prime's Assistant" thumb="http://image.tmdb.org/t/p/original/l0pfM43Ep1IL58q3SQ8vFpFqCfZ.jpg"/> <Role id="2203" tag="Melia Kreiling" role="Bereet" thumb="http://image.tmdb.org/t/p/original/71PstlAEw5PAZnxXo0NOiqQ37OF.jpg"/> <Role id="2204" tag="Christopher Fairbank" count="2" role="The Broker" thumb="http://image.tmdb.org/t/p/original/OtvVhW5zzq2J9eiLC0R1H9sZb2.jpg"/> <Role id="2205" tag="Krystian Godlewski" role="On Set Groot" thumb="http://image.tmdb.org/t/p/original/A9ViCfMKxg3OiZVyKoIQ0jPObok.jpg"/> <Role id="2206" tag="Wyatt Oleff" role="Young Quill" thumb="http://image.tmdb.org/t/p/original/18K1XQR54wzaAjrBh1FUBGKFuNv.jpg"/> <Role id="2207" tag="Janis Ahern" role="Meredith's Mother" thumb="http://image.tmdb.org/t/p/original/4DpiuJEuBRm2SdMeABJ3vRZO2il.jpg"/> <Role id="2208" tag="Solomon Mousley" role="Meredith's Brother"/> <Role id="2209" tag="Lindsay Morton" role="Meredith's Best Friend" thumb="http://image.tmdb.org/t/p/original/scqrJ9ZE31v7QGpsJ9Frjmfgd1h.jpg"/> <Role id="2210" tag="Robert Firth" role="Dr. Fitzgibbon" thumb="http://image.tmdb.org/t/p/original/1mq1G9iiu5u2QBgfQpcay6i7pIi.jpg"/> <Role id="2211" tag="Tom Proctor" role="Horuz" thumb="http://image.tmdb.org/t/p/original/ueuCn76nV670Kt1UOVOPaki9Zu7.jpg"/> <Role id="2212" tag="Nick Holmes" role="Horuz's Mate" thumb="http://image.tmdb.org/t/p/original/qA8lxS0USklar0mHP5FIXlMAZQ.jpg"/> <Role id="2213" tag="Max Wrottesley" role="Sacrifice Nova Corpsman" thumb="http://image.tmdb.org/t/p/original/fUU5LC93GA9kTZ8q37qP2wXvoQG.jpg"/> <Role id="2214" tag="Nicole Alexandra Shipley" role="Pretty Xandarian" thumb="http://image.tmdb.org/t/p/original/hJB152JEsnjl4ViSjR7xVgC7gli.jpg"/> <Role id="2215" tag="Sharif Atkins" role="Nova Arresting Pilot" thumb="http://image.tmdb.org/t/p/original/9xekBI9xnNe899LtyQnqZ6Dxv1g.jpg"/> <Role id="2216" tag="Brendan Fehr" count="2" role="Corpsman Dey's Partner" thumb="http://image.tmdb.org/t/p/original/8tp3G4RMWNpxprEfyxvjhRFf6uq.jpg"/> <Role id="2217" tag="Tomas Arana" role="Kree Ambassador" thumb="http://image.tmdb.org/t/p/original/sx8tDGA7e7d5oDYpQwaydmGcc93.jpg"/> <Role id="2218" tag="Emmett Scanlan" role="Head Riot Guard" thumb="http://image.tmdb.org/t/p/original/ksm2qUuwfOSZF8OrYc043NalaOM.jpg"/> <Role id="2219" tag="Dominic Grant" role="Angry Guard"/> <Role id="2220" tag="Spencer Wilding" role="Mean Guard" thumb="http://image.tmdb.org/t/p/original/g3FJIpQZri7gG515rLehuo81T6W.jpg"/> <Role id="2221" tag="Alison Lintott" role="Sad Woman with Horns" thumb="http://image.tmdb.org/t/p/original/tD4qlyW68ENQvELw3iedAZjHO0W.jpg"/> <Role id="2222" tag="Alexis Rodney" role="Moloka Dar"/> <Role id="2223" tag="Keeley Forsyth" role="Mottled Prisoner" thumb="http://image.tmdb.org/t/p/original/5di42jElQkufxLdQZ9DwbbIJT31.jpg"/> <Role id="2224" tag="Frank Gilhooley" role="Burly Prisoner" thumb="http://image.tmdb.org/t/p/original/bHWz6d2DsgGGLakJUakELR5Pels.jpg"/> <Role id="2225" tag="Enzo Cilenti" role="Watchtower Guard" thumb="http://image.tmdb.org/t/p/original/6dlgtWOJtgaMpR2Q4asUeqFBG5W.jpg"/> <Role id="2226" tag="Richard Katz" role="One Legged Prisoner" thumb="http://image.tmdb.org/t/p/original/yvKqJCcIqPXr8sLSxEXXpTL5OBO.jpg"/> <Role id="2227" tag="Enoch Frost" role="Rifle Guard" thumb="http://image.tmdb.org/t/p/original/m1hCEli1bI9X9QBN5XARVj7Uo2v.jpg"/> <Role id="2228" tag="Ronan Summers" role="'Drop the Leg' Guard" thumb="http://image.tmdb.org/t/p/original/oqUPzj0rY7cI3QvLSVf7a6ldtOs.jpg"/> <Role id="2229" tag="Ophelia Lovibond" count="2" role="Carina" thumb="http://image.tmdb.org/t/p/original/9aPRtM9omIe2hB48yJEdyqyBNdy.jpg"/> <Role id="2230" tag="Laura Ortiz" role="Tortured Pink Girl" thumb="http://image.tmdb.org/t/p/original/mwqLiRCwFQM3YBf3qX5AvWubS0c.jpg"/> <Role id="2231" tag="Marama Corlett" role="Pit Boss" thumb="http://image.tmdb.org/t/p/original/sRKonmwHLsn4ewXJtXRujegW6De.jpg"/> <Role id="2232" tag="Rosie Jones" role="Lady of the Boot of Jemiah" thumb="http://image.tmdb.org/t/p/original/oPyn6rFqTWj33O1gSg0Oib8rZ5Z.jpg"/> <Role id="2233" tag="Abidemi Sobande" role="Lady of the Boot of Jemiah" thumb="http://image.tmdb.org/t/p/original/hY1j6Dy4f5P4E5Zac98e0ugommY.jpg"/> <Role id="2234" tag="Alex Rose" role="Lady of the Boot of Jemiah"/> <Role id="2235" tag="Ekaterina Zalitko" role="Lady of the Boot of Jemiah"/> <Role id="2236" tag="Emily Redding" role="Lady of the Boot of Jemiah"/> <Role id="2237" tag="Fred" role="Cosmo the Space Dog"/> <Role id="2238" tag="Stephen Blackehart" role="Knowhere Dispatcher" thumb="http://image.tmdb.org/t/p/original/jN1YGxv0W0zCJ2XFyGIUVaeFIfw.jpg"/> <Role id="2239" tag="Jennifer Moylan-Taylor" role="Sad Krylorian Girl" thumb="http://image.tmdb.org/t/p/original/jlR4x7L5yN57ttzTNJCgIinqQrW.jpg"/> <Role id="2240" tag="Bruce Mackinnon" role="One-Eyed Ravager" thumb="http://image.tmdb.org/t/p/original/i6RLbFsZqkflplC45XRItxVnv8V.jpg"/> <Role id="2241" tag="Ralph Ineson" count="3" role="Ravager Pilot" thumb="http://image.tmdb.org/t/p/original/zqvpAuiocN9hHjg6f9Dqu2S8y9x.jpg"/> <Role id="2242" tag="Naomi Ryan" role="Nova Centurion" thumb="http://image.tmdb.org/t/p/original/9kePQIqoSMrkbBUS004c4E2Svgt.jpg"/> <Role id="2243" tag="John Brotherton" role="Nova Starblaster Pilot" thumb="http://image.tmdb.org/t/p/original/cxCXFaFpgPRTxuXydI53hGvUMgk.jpg"/> <Role id="2244" tag="Graham Shiels" role="Alien Nova Pilot" thumb="http://image.tmdb.org/t/p/original/qH1mrJ880LQBeGsJP8b1iQRW2gL.jpg"/> <Role id="2245" tag="Douglas Robson" role="Maskless Sakaaran" thumb="http://image.tmdb.org/t/p/original/bvvPlHFsmOBS24akntc2XNmG02I.jpg"/> <Role id="2246" tag="Rachel Cullen" role="Corpsman Dey's Wife"/> <Role id="2247" tag="Isabella Poynton" role="Corpsman Dey's Daughter"/> <Role id="2248" tag="Imogen Poynton" count="2" role="Corpsman Dey's Daughter" thumb="http://image.tmdb.org/t/p/original/AlqJB5o6kLnBUYQCxEbmKir2rQt.jpg"/> <Role id="2249" tag="David Yarovesky" role="Goth Ravager"/> <Role id="2250" tag="Miriam Lucia" role="Crying Xandarian Citizen" thumb="http://image.tmdb.org/t/p/original/cuzNKyF4acFCsDVgCMStjWsaHtV.jpg"/> <Collection id="1864" tag="3D" count="18"/> <Field name="title" locked="1"/> <Field name="collection" locked="1"/> <Extras size="0"></Extras> </Video> </MediaContainer>

@cochrasc Are you enabling subtitles? Currently enabling subtitles will always trigger a transcode. Otherwise it’s possible a transcode is necessary for that media because it’s encoded with a high profile. If you enable debugging in the Xbox One app and then post your server logs here after attempting to play it will shed more light.

Subtitles are encoded into all of my files, but I am not enabling (viewing) them during playback. I’ve attached the first 5 seconds or so of playback of the same file that I posted above.

Hrm…while testing this out just now, on both xbox ones, I noticed that neither of them were transcoding the video anymore. I have no idea why. They are still transcoding the audio, but at least the video is direct stream. Interesting. I’ll have to do more research as to why. I didn’t change any settings that should have affected anything. If it happens again, I’ll check playback settings, etc, and report back. The only thing I did was a re-scan of the entire library, but I was under that impression that happened on a regular basis anyhow.

I’m still leaving the log entry attached in case that may help figure what may have changed.

That log file looks pretty normal, it’s just requesting a direct stream (as the audio track needs to be transcoded). Not sure why a re-scan helped you, but I have seen an issue with another issue who had files that were not analysed properly in the past for some reason.

I noticed that the xbox will direct play 720p h264, but transcodes the 1080p h264 files down to 720p

I had this issue, fixed it by setting the quality to something much lower while watching the 1080p file, and once a minute or so passed while watching…setting it to “original”

this fixed the issue and haven’t had issues since.

(this was one of the many suggestions given by a ninja)

@Mitchumus The Third said:
I had this issue, fixed it by setting the quality to something much lower while watching the 1080p file, and once a minute or so passed while watching…setting it to “original”

this fixed the issue and haven’t had issues since.

(this was one of the many suggestions given by a ninja)

That’s not a good solution for me to have to have my users change this on every program.

Are there any other ideas as to why the transcoder is running with 1080p h264 mkv’s and no subs being shown?