Disable video stream transcoding causes an error on streaming to LG or Samsung client

Server Version#: 1.41.6.9685
Player Version#:latest

The media is encoded in AV1 format. The LG and Samsung remote TV’s can easily decode AV1 ie when I set Force Direct Play on the client it plays perfectly. But if I set Disable video stream transcoding on the server side I get the error message on the client “Not enough CPU for conversion of this item.” Clearly this is a bug

1 Like

May I see the XML of the video which won’t play?

Is it possible to get a small sample?
( I have a LG tv )

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="6" librarySectionTitle="TV Shows" librarySectionUUID="b9901fea-2cf1-4504-8ffb-718334b3fa03" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1744189307">
<Video ratingKey="55564" key="/library/metadata/55564" parentRatingKey="55554" grandparentRatingKey="53762" guid="plex://episode/5d9c12dce264b7001fcaf901" parentGuid="plex://season/602e68872d6795002c562730" grandparentGuid="plex://show/5d9c086fffd9ef001e994d17" grandparentSlug="boston-legal" type="episode" title="Hired Guns" grandparentKey="/library/metadata/53762" parentKey="/library/metadata/55554" librarySectionTitle="TV Shows" librarySectionID="6" librarySectionKey="/library/sections/6" grandparentTitle="Boston Legal" parentTitle="Season 1" contentRating="TV-PG" summary="Lori and Brad defend a woman who is accused of murdering her husband and his mistress while they were in bed together. Alan's life is endangered when he helps a woman whose ex-husband plans to kidnap their children." index="10" parentIndex="1" audienceRating="7.5" viewOffset="1475000" viewCount="3" lastViewedAt="1746163903" year="2004" thumb="/library/metadata/55564/thumb/1710402431" art="/library/metadata/53762/art/1745603723" parentThumb="/library/metadata/55554/thumb/1710402602" grandparentThumb="/library/metadata/53762/thumb/1745603723" grandparentArt="/library/metadata/53762/art/1745603723" grandparentTheme="/library/metadata/53762/theme/1745603723" duration="2507392" originallyAvailableAt="2004-12-19" addedAt="1710402431" audienceRatingImage="themoviedb://image.rating">
<Media id="79266" duration="2507392" bitrate="1650" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="av1" videoResolution="1080" container="mp4" videoFrameRate="24p" optimizedForStreaming="0" has64bitOffsets="0" videoProfile="main" hasVoiceActivity="0">
<Part accessible="1" exists="1" id="86548" key="/library/parts/86548/1746079620/file.mp4" duration="2507392" file="/volume1/Media/TV Shows/Boston Legal (2004)/Season 1/Boston Legal S01E10_AV1.mp4" size="518285051" container="mp4" deepAnalysisVersion="6" has64bitOffsets="0" optimizedForStreaming="0" requiredBandwidths="1784,1784,1784,1784,1784,1784,1784,1784" videoProfile="main">
<Stream id="167764" streamType="1" default="1" codec="av1" index="0" bitrate="1266" language="English" languageTag="en" languageCode="eng" bitDepth="8" chromaSubsampling="4:2:0" codedHeight="1080" codedWidth="1920" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" height="1080" level="8" profile="main" refFrames="1" requiredBandwidths="1426,1426,1426,1426,1426,1426,1426,1426" scanType="progressive" streamIdentifier="1" width="1920" displayTitle="1080p" extendedDisplayTitle="1080p (AV1)"> </Stream>
<Stream id="167765" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="384" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="384,384,384,384,384,384,384,384" samplingRate="48000" streamIdentifier="2" displayTitle="English (AC3 5.1)" extendedDisplayTitle="English (AC3 5.1)"> </Stream>
</Part>
</Media>
<Image alt="Hired Guns" type="coverPoster" url="/library/metadata/53762/thumb/1745603723"/>
<Image alt="Hired Guns" type="snapshot" url="/library/metadata/55564/thumb/1710402431"/>
<Image alt="Hired Guns" type="background" url="/library/metadata/53762/art/1745603723"/>
<UltraBlurColors topLeft="4f1a0c" topRight="1c1303" bottomRight="0a0e02" bottomLeft="472b0b"/>
<Guid id="imdb://tt0530522"/>
<Guid id="tmdb://332690"/>
<Guid id="tvdb://137824"/>
<Rating image="imdb://image.rating" value="8.7" type="audience"/>
<Rating image="themoviedb://image.rating" value="7.5" type="audience"/>
<Director id="118669" filter="director=118669" tag="Dennis Smith" tagKey="5e16353510faa500400dbcca" thumb="https://metadata-static.plex.tv/4/people/49ba4165293f47f2a366e1995da6b074.jpg"/>
<Writer id="81463" filter="writer=81463" tag="David E. Kelley" tagKey="5d7768343c3c2a001fbce0c9" thumb="https://metadata-static.plex.tv/0/people/0422f7a967697743e41d3e26cac1bb92.jpg"/>
<Role id="81257" filter="actor=81257" tag="James Spader" tagKey="5d77682985719b001f3a12f8" role="Alan Shore" thumb="https://metadata-static.plex.tv/c/people/c4c809f4c87a7448503cfea0b2b2102d.jpg"/>
<Role id="81258" filter="actor=81258" tag="William Shatner" tagKey="5d7768253c3c2a001fbca9e0" role="Denny Crane" thumb="https://metadata-static.plex.tv/f/people/fc57758e773ff3364e26222fc417d135.jpg"/>
<Role id="81259" filter="actor=81259" tag="Candice Bergen" tagKey="5d7768282ec6b5001f6ba680" role="Shirley Schmidt" thumb="https://metadata-static.plex.tv/5/people/5d9896e35175e0cba992674eee0a19bb.jpg"/>
<Role id="81260" filter="actor=81260" tag="Mark Valley" tagKey="5d7768283c3c2a001fbcb65c" role="Brad Chase" thumb="https://metadata-static.plex.tv/8/people/87d3524986ae828abbc17f68cfb9b24a.jpg"/>
<Role id="81276" filter="actor=81276" tag="Rhona Mitra" tagKey="5d77682d4de0ee001fcc9ef9" role="Tara Wilson" thumb="https://metadata-static.plex.tv/2/people/2d549df98515e21b30e29e7a4d7cb57f.jpg"/>
<Role id="81273" filter="actor=81273" tag="Monica Potter" tagKey="5d776826a091de001f2e60f3" role="Lori Colson" thumb="https://metadata-static.plex.tv/e/people/edb5ccb4f746ad9ab336a9f603dd0e74.jpg"/>
<Role id="81274" filter="actor=81274" tag="Lake Bell" tagKey="5d776832151a60001f24d339" role="Sally Heep" thumb="https://metadata-static.plex.tv/c/people/cdd282434950659f619d7feac49c4ba3.jpg"/>
<Role id="81419" filter="actor=81419" tag="John Kapelos" tagKey="5d77682c6f4521001ea9a4c5" role="Detective Wayne Farley" thumb="https://metadata-static.plex.tv/0/people/0209c197f7dc9e9847dfdfceecbb2038.jpg"/>
<Role id="81312" filter="actor=81312" tag="Jodi Lyn O'Keefe" tagKey="5d776833999c64001ec2f03e" role="Nora Jacobs" thumb="https://metadata-static.plex.tv/6/people/64d259040c8e887daaadc606ab3d2f2e.jpg"/>
<Role id="118670" filter="actor=118670" tag="Megan Ward" tagKey="5d776833eb5d26001f1e0257" role="Susan May" thumb="https://metadata-static.plex.tv/4/people/48d140286edc6aee9319277b29642d16.jpg"/>
<Role id="118671" filter="actor=118671" tag="Rocky Carroll" tagKey="5d77682b999c64001ec2d650" role="A.D.A. John Shubert" thumb="https://metadata-static.plex.tv/3/people/35868e5c2c586529f5e61b531d81de61.jpg"/>
<Role id="233487" filter="actor=233487" tag="Ed O'Ross" tagKey="5d776827880197001ec90ad9" role="Judge Phillip Stevens" thumb="https://metadata-static.plex.tv/b/people/b1a417a011fc67e109f73c1fce22820f.jpg"/>
<Role id="233488" filter="actor=233488" tag="Daniel Edward Mora" tagKey="5d7768347e9a3c0020c6c9ea" role="Julio Flores" thumb="https://metadata-static.plex.tv/1/people/1911137a54b1669ddad548dbe836a6c5.jpg"/>
<Role id="81343" filter="actor=81343" tag="Aaron Lustig" tagKey="5d77682585719b001f3a056d" role="Dr. Herbert Waylon" thumb="https://metadata-static.plex.tv/people/5d77682585719b001f3a056d.jpg"/>
<Role id="224853" filter="actor=224853" tag="Ming Lo" tagKey="5d776824151a60001f24a332" role="Dr. Lee Chang" thumb="https://metadata-static.plex.tv/f/people/f7defbc49dcf9044238c0b275ff36ce6.jpg"/>
<Role id="224936" filter="actor=224936" tag="Yeniffer Behrens" tagKey="5d7768402e80df001ebdf916" role="Carmen Flores" thumb="https://metadata-static.plex.tv/2/people/2335708cfc130b3b7db313d7d204433a.jpg"/>
<Role id="233489" filter="actor=233489" tag="Scott Conte" tagKey="5d776a9923d5a3001f5067a0" role="Officer Davis" thumb="https://metadata-static.plex.tv/c/people/c64f84cc623959dc94ebef0bc4a5df5d.jpg"/>
<Role id="232200" filter="actor=232200" tag="Michael Christian Alexander" tagKey="5d776eb07a53e9001e77f1d5" role="Officer Michaels" thumb="https://metadata-static.plex.tv/people/5d776eb07a53e9001e77f1d5.jpg"/>
<Role id="233490" filter="actor=233490" tag="Shirley Saunders" tagKey="5ec408de4c5e17003eb8061e" role="Foreperson"/>
<Role id="233491" filter="actor=233491" tag="Blair Bess" tagKey="5f3fe7ae1ae710004100100e" role="Hostage Negotiator" thumb="https://metadata-static.plex.tv/2/people/26bf5fe0370f6be8fdc7917fdeb52c42.jpg"/>
<Role id="233492" filter="actor=233492" tag="Charles Emmett" tagKey="5d776834151a60001f24d8e9" role="Detective Smiley" thumb="https://metadata-static.plex.tv/e/people/e914a58441feb5808a19185ffbf5821b.jpg"/>
<Role id="233493" filter="actor=233493" tag="John Cragen" tagKey="5d776856880197001ec993a4" role="Paramedic"/>
<Role id="233494" filter="actor=233494" tag="Scott Reitz" tagKey="5d776b7d7a53e9001e7276b9" role="SWAT Police"/>
<Role id="233495" filter="actor=233495" tag="Susana G. Esteban" tagKey="5f3ff064cae2c60042eb4c55" role="DA's Assistant (uncredited)" thumb="https://metadata-static.plex.tv/6/people/69f7386f5d4c4ece63e7afd6428e3cf9.jpg"/>
<Role id="233496" filter="actor=233496" tag="Cynthia Harmon" tagKey="5d776a8723d5a3001f505916" role="Paralegal (uncredited)" thumb="https://metadata-static.plex.tv/8/people/8cc81053a572c3c7e137d4ec625a08e5.jpg"/>
<Role id="233497" filter="actor=233497" tag="Bruna Matsin" tagKey="5d7768472e80df001ebe08ab" role="Susan May's Family Member (uncredited)" thumb="https://metadata-static.plex.tv/e/people/ed34d91d1580ed88d063eea703871093.jpg"/>
<Producer id="233484" filter="producer=233484" tag="Janet Knutsen" tagKey="5d9c086fffd9ef001e994d29"/>
<Marker id="75578" type="intro" startTimeOffset="149798" endTimeOffset="182076">
<Attributes id="75578"/>
</Marker>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>

Have tried to send XML. It appears invisible in the reply but can be made visible I guess. The original file is a perfectly formed .mp4 file encoded using AV1 codec which makes it very compact. It will play perfectly when I force Direct Play but this has to be done for every file. It would be much better to just disable transcoding. I suppose I could get you a small version of it that I would mail to you but don’t know how to do that.

Let me know how to email you the files. Thanks

@les4811

Sent you a PM

I have created a short video file for you but can’t work out from your PM? how to uploasd to you

Look in the PM I sent you (upper right corner of this forum – green dot)

It’ll look like this thread.

Either upload the sample file -OR- link to wherever you uploaded it to so I can download it.

The link:

@les4811

Just went to download it.

Apple stated “Owner stopped sharing”

Fixed Link sharing

Try Google?

Got it.
Thanks

@les4811

Thanks for this.

I have confirmed. Forced DirectPlay works as expected.
My LG C1 has AV1 codec support.

This is a player error in not understanding the TV supports AV1 as well as it not understanding I allow HEVC output encoding (it’s giving me H2.64)

Unfortunately, it doesn’t surprise me at all that it’s this way. The LG app has always been a bit ‘lame’

So can we get Plex to do something about this bug? AV1 is the most compact and therefore the lowest traffic streaming protocol that I know. Streaming experience is ruined if it getstranscoded to H264 and creates 10 times as much traffic.

This is a serious bug going forward as more content is available as AV1.

@les4811

I cannot reproduce in all cases. I will need your logs.


This does look like a logic error in the LG app ↔ PMS decision engine.
Specifically that it somehow thinks ASS subs need burning in.

I am writing it up for Engineer (transcoder)

EDIT:

Futher research shows ASS subtitles are only partially supported on LG models.
My C1 does not support it.

Chuck,
Your 1st screenshot of the status is displaying “Direct Play” and this works as it is selected in the client (LG or Samsung). If you select Disable video stream transcoding in the server the client would display “Direct Stream”. So to reproduce this make sure that Direct play is not selected for the file being played on the client.

The other way to repro is to Disable Transcoding on the server.

I don’t know why the logic would:

  1. Start down the transcoding path
    a. See transcoding disabled - Break out here & fail.
    b. See transcoding enabled – continue
  2. Continue through decision logic
  3. Come to final DirectPlay decision for Video, Audio, and Subtitles.
  4. Play video stream

When they are back, this will be my first question

The subtitles are at the heart of this.

Any update to this? I can’t seem to play av1 direct streams on my LG C2

As a test,

  1. Open the TV App settings
  2. Set Force DirectPlay
  3. Now play that video.

What I’ve found, which I’m waiting for resolution on, is the ability in the app to allow video resolution switching (to match the video), which the TV does natively.

My TV is native 2160p. The video is 1080p.
This is where it’s fighting. It wants the transcoder to change the geometry.

Once that is flagged, it wants to burn-in the ASS subtitles so they render properly.

Concur?