Huawei Media Pad M5 Lite 10 can´t play certain H265 files

App version: 8.0.1.17411 (805584945)
Server version: 1.19.4.2865

Fellow Plexians, and hopefully dear plex devs (I am looking at you @sixones, @anon18523487 or @DaveBinM :wink: ).

My Huawei Media Pad M5 Lite does not like my H265 files, which I automatically produce out of my .ts recordings.
It starts showing the yellow spinner but never starts playing. The server doesn´t even recognise that the device wants to start playing, there is nothing in the dashboard.

Here are the details:

XML File Details
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="9" librarySectionTitle="Serien - ungeschnitten" librarySectionUUID="615e54a6-2d0d-4c0e-b4bf-2cc8fc3ca799" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1590546054">
<Video ratingKey="7004" key="/library/metadata/7004" parentRatingKey="7002" grandparentRatingKey="6903" guid="com.plexapp.agents.thetvdb://73517/11/2?lang=de" parentGuid="com.plexapp.agents.thetvdb://73517/11?lang=de" grandparentGuid="com.plexapp.agents.thetvdb://73517?lang=de" type="episode" title="Cadet Catastrophe" grandparentKey="/library/metadata/6903" parentKey="/library/metadata/7002" librarySectionTitle="Serien - ungeschnitten" librarySectionID="9" librarySectionKey="/library/sections/9" grandparentTitle="Feuerwehrmann Sam" parentTitle="Staffel 11" contentRating="TV-Y" summary="Noch nicht in Deutsch ausgestrahlt: Ellie takes the Junior Cadets into the woods for a training day, but when a small mishap causes a gas canister explosion, Fireman Sam must get things under control with strength. " index="2" parentIndex="11" year="2018" thumb="/library/metadata/7004/thumb/1591007073" art="/library/metadata/6903/art/1591007073" grandparentThumb="/library/metadata/6903/thumb/1591007073" grandparentArt="/library/metadata/6903/art/1591007073" duration="2400862" originallyAvailableAt="2018-02-10" addedAt="1566102899" updatedAt="1591007073">
<Media id="42602" duration="2400862" bitrate="1827" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="hevc" videoResolution="720" container="mp4" optimizedForStreaming="0" audioProfile="lc" has64bitOffsets="0" videoProfile="main">
<Part accessible="1" exists="1" id="42655" key="/library/parts/42655/1590598926/file.mp4" duration="2400862" file="/google/aufnahmen/serien/Feuerwehrmann Sam/Season 11/Feuerwehrmann Sam - S11E02_8x17 - Der Feuer-Hund 2000_Babysitter in Not.mp4" size="550890885" audioProfile="lc" container="mp4" deepAnalysisVersion="4" has64bitOffsets="0" indexes="sd" optimizedForStreaming="0" requiredBandwidths="7759,6501,4424,2867,2114,1838,1838,1838" videoProfile="main">
<Stream id="56306" streamType="1" default="1" codec="hevc" index="0" bitrate="1699" bitDepth="8" chromaSubsampling="4:2:0" codecID="hev1" codedHeight="720" codedWidth="1280" colorRange="tv" frameRate="50.000" height="720" level="93" profile="main" refFrames="1" requiredBandwidths="7631,6373,4296,2739,1985,1711,1711,1711" scanType="progressive" streamIdentifier="1" width="1280" displayTitle="720p (HEVC Main)"/>
<Stream id="56307" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="128" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" profile="lc" requiredBandwidths="128,128,128,128,128,128,128,128" samplingRate="48000" streamIdentifier="2" displayTitle="Deutsch (AAC Stereo)"/>
</Part>
</Media>

Client-Log: mediapad_h265.txt (1.2 MB)

The file itself is not corupt, it plays fine on my Pixel 2 and Shield TV 2017.

It does not seem to be a general problem with HEVC files since the jelly.fish HEVC files work and also this file direct plays fine with Plex:

XML File Details 2
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="6" librarySectionTitle="Kinderfilme" librarySectionUUID="1da90e5a-655c-484a-923a-1a37302a0618" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1590546054">
<Video ratingKey="3982" key="/library/metadata/3982" guid="com.plexapp.agents.imdb://tt0061852?lang=de" studio="Walt Disney Pictures" type="movie" title="Das Dschungelbuch" titleSort="Dschungelbuch" librarySectionTitle="Kinderfilme" librarySectionID="6" librarySectionKey="/library/sections/6" originalTitle="The Jungle Book" contentRating="de/0" summary="Der kleine Mogli, der bislang im Dschungel aufgewachsen ist, macht sich mit Baghira, dem schlauen Panther, auf den Weg zur Menschensiedlung. Unterwegs trifft er den swingenden King Louie, die hypnotische Schlange Kaa und den liebenswerten, unbekümmerten Bären Balu, der Mogli die gemütlichen Seiten im Leben zeigt und ihm beibringt, was wahre Freundschaft bedeutet. Doch Shir Khan, der Tiger, ist ihnen bereits auf der Spur." rating="8.7" audienceRating="8.2" year="1967" thumb="/library/metadata/3982/thumb/1578230917" art="/library/metadata/3982/art/1578230917" duration="4707200" originallyAvailableAt="1967-10-17" addedAt="1521742426" updatedAt="1578230917" audienceRatingImage="rottentomatoes://image.rating.upright" chapterSource="media" primaryExtraKey="/library/metadata/4168" ratingImage="rottentomatoes://image.rating.ripe">
<Media id="10676" duration="4707200" bitrate="2963" width="1888" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="hevc" videoResolution="1080" container="mkv" videoFrameRate="24p" videoProfile="main">
<Part accessible="1" exists="1" id="10711" key="/library/parts/10711/1521742426/file.mkv" duration="4707200" file="/google/kinderfilme/Jungle Book, The.1967.1080p.AC3-FuN/Jungle Book, The.1967.mkv" size="1743545423" container="mkv" videoProfile="main">
<Stream id="23880" streamType="1" default="1" codec="hevc" index="0" bitrate="2195" bitDepth="8" chromaSubsampling="4:2:0" codedHeight="1080" codedWidth="1888" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" height="1080" level="120" profile="main" refFrames="1" width="1888" displayTitle="1080p (HEVC Main)"/>
<Stream id="23881" streamType="2" selected="1" default="1" forced="1" codec="ac3" index="1" channels="6" bitrate="384" language="Deutsch" languageCode="ger" audioChannelLayout="5.1(side)" samplingRate="48000" displayTitle="Deutsch (AC3 5.1)"/>
<Stream id="23882" streamType="2" codec="ac3" index="2" channels="6" bitrate="384" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" displayTitle="English (AC3 5.1)"/>
<Stream id="23883" streamType="3" default="1" forced="1" codec="vobsub" index="3" language="Deutsch" languageCode="ger" headerCompression="1" displayTitle="Deutsch Erzwungen (VOBSUB)"/>
<Stream id="23884" streamType="3" codec="vobsub" index="4" language="Deutsch" languageCode="ger" headerCompression="1" displayTitle="Deutsch (VOBSUB)"/>
</Part>
</Media>

I have no clue why, so I hope you can help me figuring this out.

Did you just change the first XML file?

Edit - This one shows the file as having 50 fps as is progressive video. I wonder if that is an error and it’s actually interlaced. Can you double check your original .ts file? I’ve got another report of interlaced videos not playing.

I deleted redundant stuff, the important stuff is the same :wink:

I don’t have that very .ts file anymore, because they are auto-deleted after recording. But I have a similar file, which was recorded from the same channel:

TS File
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="9" librarySectionTitle="Serien - ungeschnitten" librarySectionUUID="615e54a6-2d0d-4c0e-b4bf-2cc8fc3ca799" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1590546054">
<Video ratingKey="7003" key="/library/metadata/7003" parentRatingKey="7002" grandparentRatingKey="6903" guid="com.plexapp.agents.thetvdb://73517/11/1?lang=de" parentGuid="com.plexapp.agents.thetvdb://73517/11?lang=de" grandparentGuid="com.plexapp.agents.thetvdb://73517?lang=de" type="episode" title="The Prince in Pontypandy" titleSort="Prince in Pontypandy" grandparentKey="/library/metadata/6903" parentKey="/library/metadata/7002" librarySectionTitle="Serien - ungeschnitten" librarySectionID="9" librarySectionKey="/library/sections/9" grandparentTitle="Feuerwehrmann Sam" parentTitle="Staffel 11" contentRating="TV-Y" summary="noch nicht in Deutsch ausgestrahlt: Norman Man and Atomic Boy are quick to test out their new-found powers when Joe's robotic dog goes on the rampage, causing Sam's dream of a fire free month to goes up in flames. " index="1" parentIndex="11" year="2017" thumb="/library/metadata/7003/thumb/1591007073" art="/library/metadata/6903/art/1591007073" grandparentThumb="/library/metadata/6903/thumb/1591007073" grandparentArt="/library/metadata/6903/art/1591007073" duration="2399418" originallyAvailableAt="2017-11-18" addedAt="1553234400" updatedAt="1591007073">
<Media id="14419" duration="2399418" bitrate="12874" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="mp2" videoCodec="h264" videoResolution="720" container="mpegts" videoProfile="high">
<Part accessible="1" exists="1" id="14454" key="/library/parts/14454/1589824370/file.ts" duration="2399418" file="/google/aufnahmen/serien/Feuerwehrmann Sam/Season 11/Feuerwehrmann Sam - S11E01_02 - Norman macht die Pferde scheu_Sams Geburtstag.ts" size="4185541196" container="mpegts" deepAnalysisVersion="4" indexes="sd" packetLength="188" requiredBandwidths="13862,13601,13295,13161,13043,13043,13043,13043" videoProfile="high">
<Stream id="55618" streamType="1" codec="h264" index="0" bitrate="11978" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="50.000" hasScalingMatrix="0" height="720" level="40" profile="high" refFrames="6" requiredBandwidths="12965,12705,12399,12264,12153,12153,12153,12153" scanType="progressive" streamIdentifier="256" width="1280" displayTitle="720p (H.264)"/>
<Stream id="55619" streamType="2" codec="mp2" index="1" channels="2" bitrate="256" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" requiredBandwidths="256,256,256,256,256,256,256,256" samplingRate="48000" streamIdentifier="257" displayTitle="Deutsch (MP2 Stereo)"/>
<Stream id="34687" streamType="2" codec="mp2" index="2" channels="2" bitrate="192" language="Uncoded Language" languageCode="mis" audioChannelLayout="stereo" requiredBandwidths="192,192,192,192,192,192,192,192" samplingRate="48000" streamIdentifier="258" displayTitle="Uncoded Language (MP2 Stereo)"/>
<Stream id="34688" streamType="2" selected="1" codec="ac3" index="3" channels="2" bitrate="448" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" requiredBandwidths="448,448,448,448,448,448,448,448" samplingRate="48000" streamIdentifier="259" displayTitle="Deutsch (AC3 Stereo)"/>
</Part>
</Media>

It is 50 fps, but as far as I can see it is progressive not interlaced. Right?

This one is 25 fps and doesn’t play either:

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="9" librarySectionTitle="Serien - ungeschnitten" librarySectionUUID="615e54a6-2d0d-4c0e-b4bf-2cc8fc3ca799" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1590546054">
<Video ratingKey="34499" key="/library/metadata/34499" parentRatingKey="31856" grandparentRatingKey="5755" guid="com.plexapp.agents.thetvdb://161441/16/15?lang=de" parentGuid="com.plexapp.agents.thetvdb://161441/16?lang=de" grandparentGuid="com.plexapp.agents.thetvdb://161441?lang=de" type="episode" title="Folge 15" grandparentKey="/library/metadata/5755" parentKey="/library/metadata/31856" librarySectionTitle="Serien - ungeschnitten" librarySectionID="9" librarySectionKey="/library/sections/9" grandparentTitle="Ab ins Beet! Die Garten-Soap" parentTitle="Staffel 16" summary="" index="15" parentIndex="16" year="2020" thumb="/library/metadata/34499/thumb/1591139220" art="/library/metadata/5755/art/1591139220" grandparentThumb="/library/metadata/5755/thumb/1591139220" grandparentArt="/library/metadata/5755/art/1591139220" duration="4469442" originallyAvailableAt="2020-05-31" addedAt="1590958411" updatedAt="1591139220">
<Media id="42812" duration="4469442" bitrate="6866" width="1920" height="1080" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="hevc" videoResolution="1080" container="mp4" videoFrameRate="PAL" optimizedForStreaming="0" audioProfile="lc" has64bitOffsets="0" videoProfile="main">
<Part accessible="1" exists="1" id="42865" key="/library/parts/42865/1590951695/file.mp4" duration="4469442" file="/google/aufnahmen/serien/Ab ins Beet! Die Garten-Soap/Season 16/Ab ins Beet! Die Garten-Soap - S16E15 - Folge 15.mp4" size="3838858411" audioProfile="lc" container="mp4" deepAnalysisVersion="4" has64bitOffsets="0" indexes="sd" optimizedForStreaming="0" requiredBandwidths="23544,12001,10042,9051,8353,8234,8078,8078" videoProfile="main">
<Stream id="56500" streamType="1" default="1" codec="hevc" index="0" bitrate="6738" bitDepth="8" chromaSubsampling="4:2:0" codecID="hev1" codedHeight="1088" codedWidth="1920" colorRange="tv" frameRate="25.000" height="1080" level="120" profile="main" refFrames="1" requiredBandwidths="23416,11872,9914,8923,8225,8106,7950,7950" scanType="progressive" streamIdentifier="1" width="1920" displayTitle="1080p (HEVC Main)"/>
<Stream id="56501" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="128" language="Deutsch" languageCode="ger" audioChannelLayout="stereo" profile="lc" requiredBandwidths="128,128,128,128,128,128,128,128" samplingRate="48000" streamIdentifier="2" displayTitle="Deutsch (AAC Stereo)"/>
</Part>
</Media>
<Extras size="0"> </Extras>
</Video>
</MediaContainer>

This should be interlaced I guess, since I know the channel sends 1080i. Dunno if this is altered during conversion tbh… Dunno if this is possible at all.

That TS file shows 50fps progressive. The lower one shows as 25 progressive. I wonder if your device just doesn’t like 25 fps (or multiples of that). Are you able to get any 25/50 fps files to play?

TS or HEVC? :smiley:
All ts files, like the one I posted play fine. The HEVC files (mp4s) don’t, regardless of 25 or 50 fps.

I would try copying one of these mp4 files manually to your device and see if you can use the built in video player to play it. If not then it’s a hardware issue.

Yeah crap, it doesn’t play…
Stupid cheap tablet pos :smiley:
What exactly do you think might be the actual issue here with the files?

I’m guessing their hevc decoder wasn’t designed to handle 25/50 fps, so it’s failing internally without any warnings or errors.

Or it’s something with the way you are converting the files. Maybe see if you can find a 25/50 fps hevc file somewhere else and see if that plays.

Haven’t found a sample yet, not a very common combination :wink:
I tried remuxing to mkv and ts to see if it’s the container, but they also don’t play.

This is the ffmpeg command that is used:

ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -i "$1" -vf 'format=nv12|vaapi,hwupload,deinterlace_vaapi' -c:v hevc_vaapi -brand mp42 -ac 2 -c:a libfdk_aac -b:a 128k "$map/$mp4

I actually use an automated docker container from here:

I am not an expert with ffmpeg so I have no clue if one of the options might trigger issues. I see that it deinterlaces, so there is why Plex shows it as progressive.

I don’t think it’s the way the file is encoded, but more your device doesn’t like that specific encoding method. It just might be with 25/50 fps hevc. Maybe try changing the output to 24 or 30 fps and see if that works.

Well first of all thanks for your swift help, really appreciate it.

Even if this would work, is changing the frame rate something one should do? I mean I have 50 and 25 fps obviously, so what should I change it too? I would need one output frame rate for both input rates. Frames will be dropped eventually, how does that come out in the end?

If I change 25 fps to 30, where do the 5 frames come from? :smiley:

Edit: Ok ffmpeg just duplicates certain frames, got it.

Maybe also check for 25/50 fps h264 files. Maybe it’s all 25/50 fps files and not just hevc.

25/50 fps .ts works at least…

Edit: Started frame rate conversions for 24 and 30 fps to keep my VPS busy :wink: I will report back when I know how it worked out.

The frame rate experiment didn’t go out as I hoped, it created H264 files… Dunno why, I am not an ffmpeg pro.

I solved it differently now:
I simply created optimized versions for the series that I want to play on that very tablet. The optimized version is auto selected and directly played neatly.

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