Linux Packaging - Developer's Sandbox - HDR tonemapping packaging support

echo CPU is \[$(cat /proc/cpuinfo | grep 'model name' | uniq | grep Intel | sed -e 's/^.*) //' | sed -e 's/ @.*//' | sed -e 's/ CPU.*$//')\]
CPU is [i7-1165G7]

If you need anything else, just shout! Happy to help if it gets my server up-and-running smoothly :slight_smile: HW transcoding just crashes the server, and sw just makes the cpu hurt and fan go wild :slight_smile:

@mechanimal82

How do we classify this CPU ?

Are all G series 11th gen?

Are they all “G7” ?

Intel’s documentation is fragmented at best.

When HW transcoding fails, first thing I look at is to make sure ALL the libraries are installed. Crashing is the most common symptom of incomplete library load.

I don’t think any of your statements can be true. Looking here it seems not all are ‘G’ and then checking the 10th Gen I can see some G7’s in there too!

As for the crashes, that’s not for this topic - sorry I know I went OT. However, running Ubuntu 21.0 with 5.11 kernel I have re-installed plex, the dependencies from here as well as the latest runtime here. Don’t think I’ve missed anything. But I think this is happening to a lot of people reading trough the threads - so hopefully we can find and sort whatever is causing it!

@mechanimal82

Thanks for that link. I didn’t have that bookmark . Now I do.

What I’m trying to accomplish, without trying to create a discrete exhaustive list, is how to distinguish the 10th and 11th Gen CPUs which have HEVC HDR capability from those early i7-1xxx (Nehalem) through i7-6xxx (SkyLake) which don’t have HEVC capability.

Until the 10th Gen, Intel had kept the numbering very clean (-Xxxx) where “X” is the generation.

That’s all changed now.

I’m doing this to help take as much guesswork out of how to setup the host so PMS can run successfully first time. We went from “i965” → “iHD” → Beignet → now to “ICR”.

This generational transition mapping / management is my challenge and this numbering reset (e.g. -1165) is the challenge. Is it Nehalem with a twist or is it 10-11th Gen ? I have an -8809G Fun, huh?

I would love to find a CPU feature flag which says “Hello!!! I’m a 10+ Generation” :slight_smile:

As for your machine crashing, I will gladly look at your Plex DEBUG logs ZIP which has captured this and see if anything jumps out.

I understand, and have seen, the transcoder crash with the missing libraries but PMS itself? ( There is a scanner problem which is another reason to look at the logs and make certain we’re looking at the correct cause of the failure )

I’m not going to pretend to follow all that, you’re much smarter than I am! However, I do work with technology and systems so understand some of the complexities & challenges you must be facing. I don’t envy you! All I could find was this, does that help in any way???

So the crash generates the below error. I restarted Plex and with HW transcoding on, HDR off trying to play a file crashed the whole plex server. I’ve included the crash log shown below in the zip file also.

Plex Media Server[56260]: ****** PLEX MEDIA SERVER CRASHED, CRASH REPORT WRITTEN: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Crash Reports/1.23.4.4712-1f0ed4aea/PLEX MEDIA SERVER/863ab7d5-c193-4df3-a08a539b-676afdfd.dmp

Plex Media Server Logs_2021-07-01_16-33-47.zip (3.6 MB)

Thanks for trying…

This is what I always have (the flags) on every Intel CPU.

If there is something I can key off of, or off the PCI bus, i would be golden… Anything the kernel can tell me and be deterministic is great.


processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 158
model name	: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
stepping	: 9
microcode	: 0xea
cpu MHz		: 3100.000
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d
vmx flags	: vnmi preemption_timer invvpid ept_x_only ept_ad ept_1gb flexpriority tsc_offset vtpr mtf vapic ept vpid unrestricted_guest ple pml ept_mode_based_exec
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit srbds
bogomips	: 6199.99
clflush size	: 64
cache_alignment	: 64
address sizes	: 39 bits physical, 48 bits virtual
power management:

[chuck@lizum ~.502]$ 

@ChuckPa If there’s any checks you want me to run, please just ask. I’m only half technical, bit I’ll see if I can uncover anything which may help.

To be clear; we need to know how we can identify a CPU which is capable of decoding HEVC HDR, correct?

Did my logs throw anything of concern?

Are cpu family and model useful here?

https://en.wikichip.org/wiki/intel/cpuid

And somebody’s extract-and-parse script, could be modified:

linux - how to find out intel architecture family from command line - Unix & Linux Stack Exchange

Those are but might be finer detail than i need?

This is a HadesCanyon NUC (i7-8809G)

processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6

CPU is easy.

The rest of the detail mapping is tedious. There is a limit to how much time they’ll let me invest in the effort.

These two pieces are a fair amount of complexity just to determine if ICR or not.


#ToughChoices

Notice: ApolloLake and GeminiLake are not included.

Yeah :-/ I think that’s the rock & hard place you’re stuck in. Intel keeps reformatting the “brand” name text, making it hard to parse. Extracting the model seems reliable … except it also seems like a PITA.

They’re down in the “Small Cores” table.

This is a :see_no_evil: :gun: moment.

Blind wet monkey?

Hey, hey! You said it, not me!

OMFG!

:rofl: :rofl: :rofl:

Please give this a try?

It’s the preinstall script.

  1. sudo ./preinst.sh
  2. Check the /tmp/plexinstaller.log

preinstall.tar (40 KB)

Here’s mine

# Plex Media Server installation configuration info:  Thu Jul  1 20:55:25 BST 2021
Init=0
Systemd=1
Custom=0
LinuxContainer=0
NewInstall=0
HaveOverride=0
OverrideFile=""
PlexUser="plex"
PlexGroup="plex"
VideoGroup="render"
AppSuppDir="/var/lib/plexmediaserver/Library/Application Support"
PlexTempDir="/tmp"
LangEncoding="en_US.UTF-8"
ExistingVersion=12304
HaveHardware=1
HaveTranscoderPref=0
NeedUser=0
NeedGroup=0
NeedVideo=0
Verbose=1
Running=1
Errors=0
Warnings=0
HaveIntel=1
HaveIntelCore=1
HaveIntelXeon=0
Havei915=1
HaveNvidia=0
Processor=11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
CPUSKU=11657
NeedOpenCL=1
NeedBeignet=0
NeedIntelCompute=1
HaveIntelGmmlib=1
HaveIntelIGCCore=1
HaveIntelIGCOpenCL=1
HaveIntelOpenCL=1
HaveIntelOCLoc=1
HaveIntelZeroGPU=1
HaveIntelCompute=1
HaveBeignet=1
HaveOpenCL=1
Platform="NUC11PAHi7"
Processor="11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz"
Distro="Ubuntu 21.04"
Kernel="Linux danserver 5.11.0-22-generic #23-Ubuntu SMP Thu Jun 17 00:34:23 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux"
Memory="15628 4645 172"

Yep… it got it!

Thank you.

NeedOpenCL=1
NeedBeignet=0
NeedIntelCompute=1

Is there anything I’m missing that needs installing? Would this be the cause for PMS crashing as soon as HW transcoding starts?

@mechanimal82

Now back to your issue (my apologies for the diversion)…

  1. The transcoder crashed.
  2. It also shows the client app disconnected first (2ms before that)
  3. Is this reproducible on another player?

I still do suspect something from the Intel-Compute-Runtime is not handling the video correctly. It looks like it’s probing the hardware then boom.

May i have the XML <media> --- </media> section using </> (code) formatting ?

Jul 01, 2021 16:32:02.424 [0x7f497140db38] DEBUG - [Transcode] Auth: authenticated user 1 as mechanimal82
Jul 01, 2021 16:32:02.432 [0x7f497140db38] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Jul 01, 2021 16:32:02.432 [0x7f497140db38] DEBUG - [Transcode] Selecting best audio stream for part ID 1425324 (autoselect: 1 language: en)
Jul 01, 2021 16:32:02.432 [0x7f497140db38] DEBUG - [Transcode] Audio Stream: 3334372, Subtitle Stream: -1
Jul 01, 2021 16:32:02.433 [0x7f497140db38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
Jul 01, 2021 16:32:02.433 [0x7f497140db38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jul 01, 2021 16:32:02.442 [0x7f4972a0cb38] DEBUG - Auth: authenticated user 1 as mechanimal82
Jul 01, 2021 16:32:02.442 [0x7f49715dbb38] DEBUG - Request: [192.168.1.112:41702 (Subnet)] GET /library/parts/1425324/1623311862/file.mp4?autoAdjustQuality=1&hasMDE=1&location=lan&mediaBufferSize=209664 (18 live) TLS Signed-in Token (mechanimal82) (range: bytes=4652012-) 
Jul 01, 2021 16:32:02.443 [0x7f49715dbb38] DEBUG - Content-Length of /mnt/plex/Movies/In the Heights (2020)/In The Heights (2021) - [WEBDL-2160p][EAC3 ATMOS 5.1][X265].mp4 is 20046356727 (of total: 20051008739).
Jul 01, 2021 16:32:02.552 [0x7f49729e9b38] DEBUG - Failed to stream media, client probably disconnected after 1998848 bytes: 104 - Connection reset by peer
Jul 01, 2021 16:32:02.552 [0x7f49729e9b38] DEBUG - Completed after connection close: [192.168.1.112:41700] 206 GET /library/parts/1425324/1623311862/file.mp4?autoAdjustQuality=1&hasMDE=1&location=lan&mediaBufferSize=209664 (18 live) TLS 499ms 1998848 bytes (range: bytes=27973477-) 
Jul 01, 2021 16:32:02.554 [0x7f497140db38] WARN - [Transcode] Crash: Crash reporting disabled

No worries, appreciate the help… and after all, it’s me digressing!

I’ve tried it using my new LG C1 TV, My Samsung S20Ultra and the Plex Web - all create the same error. Like you say, the app throws a ‘network error’ or similar, then Plex becomes immediately unavailable for a couple of minutes until it comes back up again.

Here’s some yummy xml from one file, it seems to be anything that’s transcoded down; even 1080p…

</Media>

<Genre id="61" filter="genre=61" tag="Comedy"/>

<Genre id="816" filter="genre=816" tag="Romance"/>

<Genre id="26" filter="genre=26" tag="Drama"/>

<Director id="19295" filter="director=19295" tag="Michael Lembeck"/>

<Writer id="210485" filter="writer=210485" tag="Donald Martin"/>

<Writer id="715687" filter="writer=715687" tag="Harrison Powell"/>

<Producer id="399896" filter="producer=399896" tag="Dominique Telson"/>

<Producer id="287543" filter="producer=287543" tag="Fred Bernstein"/>

<Producer id="715688" filter="producer=715688" tag="Harrison Powell"/>

<Country id="302533" filter="country=302533" tag="United States of America"/>

<Guid id="imdb://tt8338076"/>

<Guid id="tmdb://553592"/>

<Guid id="tvdb://182044"/>

<Role id="8910" filter="actor=8910" tag="Ellen Burstyn" role="Helen" thumb="https://metadata-static.plex.tv/b/people/b19af7b4a1a1466f2c5a7384bb79a17c.jpg"/>

<Role id="4140" filter="actor=4140" tag="James Caan" role="Dan" thumb="https://metadata-static.plex.tv/8/people/847caf31a2bf48208393f253512baf84.jpg"/>

<Role id="72943" filter="actor=72943" tag="Ann-Margret" role="Margot" thumb="https://image.tmdb.org/t/p/original/7cq76gMW4Mal5cctMLCK8wilJ6.jpg"/>

<Role id="62417" filter="actor=62417" tag="Jane Curtin" role="" thumb="https://metadata-static.plex.tv/people/5d7768328718ba001e313faa.jpg"/>

<Role id="41841" filter="actor=41841" tag="Christopher Lloyd" role="" thumb="https://metadata-static.plex.tv/c/people/c2d2c2ab21e34db5837877ca386d43c3.jpg"/>

<Role id="65236" filter="actor=65236" tag="Loretta Devine" role="" thumb="https://metadata-static.plex.tv/2/people/209cb7454e855acf182c9747e7ee41c7.jpg"/>

<Role id="38821" filter="actor=38821" tag="Elizabeth Mitchell" role="" thumb="https://metadata-static.plex.tv/people/5d776831999c64001ec2e77d.jpg"/>

<Role id="508612" filter="actor=508612" tag="Matthew Barnes" role=""/>

<Role id="96983" filter="actor=96983" tag="French Stewart" role="" thumb="https://metadata-static.plex.tv/0/people/0ed7d71e9312302206613f3ec2cf8b69.jpg"/>

<Role id="444237" filter="actor=444237" tag="Alec Mapa" role="" thumb="https://metadata-static.plex.tv/people/5d77682861141d001fb13828.jpg"/>

<Role id="412398" filter="actor=412398" tag="Marianne Muellerleile" role="" thumb="https://metadata-static.plex.tv/people/5d776825151a60001f24a3db.jpg"/>

<Role id="71576" filter="actor=71576" tag="Courtney Gains" role="" thumb="https://metadata-static.plex.tv/people/5d7768244de0ee001fcc80d3.jpg"/>

<Role id="715686" filter="actor=715686" tag="Cindy Hogan" role="" thumb="https://image.tmdb.org/t/p/original/cxvTYhKbII0Vp0uAQ8v9pohkIiD.jpg"/>

<Role id="480789" filter="actor=480789" tag="Ricky Russert" role=""/>

<Role id="319041" filter="actor=319041" tag="Matt Lewis" role="" thumb="https://metadata-static.plex.tv/people/5d776ef251dd69001fe50b02.jpg"/>

<Review id="263483" filter="art=263483" tag="Todd Jorgenson" text="An esteemed cast cannot rescue this sweet yet contrived golden-years romantic comedy that doesn't exactly age gracefully." image="rottentomatoes://image.review.rotten" link="http://cinemalogue.com/2021/06/11/capsule-reviews-for-june-11/" source="Cinemalogue"/>

<Review id="644" filter="art=644" tag="Glenn Kenny" text="Each of these stalwarts bring more than charisma to their roles, and when the writing itself displays some snap (which admittedly isn't that often) the performers bite right into it." image="rottentomatoes://image.review.fresh" link="https://www.nytimes.com/2021/06/11/movies/queen-bees-review.html" source="New York Times"/>

<Review id="384627" filter="art=384627" tag="Russ Simmons" text="The cast gets A's, but "Queen Bees" gets a C-." image="rottentomatoes://image.review.rotten" link="https://kkfi.org/program-episodes/freeze-frame-awake-tv-ma-queen-bees-pg-13/" source="KKFI-FM (Kansas City)"/>

<Review id="649" filter="art=649" tag="Adam Graham" text="A middling comedy that plays like it was underwritten by the Retirement Community Association of America, if there were such a thing." image="rottentomatoes://image.review.rotten" link="https://www.detroitnews.com/story/entertainment/movies/2021/06/11/review-assisted-living-comedy-queen-bees-needs-comedy-assist/7600252002/" source="Detroit News"/>

<Review id="274926" filter="art=274926" tag="Robin Clifford" text="To the filmmakers' (minor) credit, they do briefly touch on issues like dementia and loneliness, but too little too late." image="rottentomatoes://image.review.rotten" link="http://www.reelingreviews.com/reeling/queen-bees/" source="Reeling Reviews"/>

<Review id="239847" filter="art=239847" tag="Yolanda Machado" text="For all the superficiality and shortcomings of "Queen Bees," the film's biggest draw, and strongest attribute, is its packed ensemble of iconic actors." image="rottentomatoes://image.review.rotten" link="https://www.thewrap.com/queen-bees-film-review-ellen-burstyn-james-caan-loretta-devine/" source="TheWrap"/>

<Review id="6076" filter="art=6076" tag="Joe Leydon" text="Ellen Burstyn and James Caan head an unusually strong cast of familiar faces in director Michael Lembeck's indie crowd-pleaser." image="rottentomatoes://image.review.fresh" link="https://variety.com/2021/film/reviews/queen-bees-review-ellen-burstyn-1234994129/" source="Variety"/>

<Review id="639" filter="art=639" tag="Rafer Guzman" text="The writing and directing are highly uneven, but "Queen Bees" is made generally watchable by a veritable Who's Who of vintage talent." image="rottentomatoes://image.review.fresh" link="https://www.newsday.com/entertainment/movies/queen-bees-review-1.50272979" source="Newsday"/>

<Review id="351076" filter="art=351076" tag="Pete Hammond" text="All of these actors have had stellar, awards-laden careers, and this new film, which could be described as Mean Girls in a retirement home, proves they still have a lot of firepower left." image="rottentomatoes://image.review.fresh" link="https://deadline.com/video/queen-bees-review-ellen-burstyn-ann-margret-movie/" source="Deadline Hollywood Daily"/>

<Review id="349262" filter="art=349262" tag="Carla Renata" text="Nice to see this legendary crew, led by the luminescent Ellen Burstyn, prove it's never too late to find love, friendship or take risks. Donald Martin's screenplay is acerbically hilarious" image="rottentomatoes://image.review.fresh" link="https://wp.me/p2v8yf-4Zu" source="The Curvy Film Critic"/>

<Review id="823" filter="art=823" tag="Ty Burr" text="Michael Lembeck's genial, predictable comedy rolls along on well-worn tracks elevated by the class and commitment of actors who've earned our affection over decades of work." image="rottentomatoes://image.review.fresh" link="https://www.bostonglobe.com/2021/06/11/arts/what-if-mean-girls-went-rest-home-thats-queen-bees/" source="Boston Globe"/>

<Review id="136006" filter="art=136006" tag="Nell Minow" text="Half a dozen veteran performers do their best to elevate a patchy script in Queen Bees, a gentle romantic comedy set in a retirement community." image="rottentomatoes://image.review.fresh" link="https://www.rogerebert.com/reviews/queen-bees-movie-review-2021" source="RogerEbert.com"/>

<Review id="1221" filter="art=1221" tag="David Lewis" text=""Queen Bees" is a milquetoast affair, akin to an extended "Golden Girls" episode, only with a little more drama and a lot less wit." image="rottentomatoes://image.review.rotten" link="https://datebook.sfchronicle.com/movies-tv/review-age-with-no-edge-in-bland-queen-bees" source="San Francisco Chronicle"/>

<Review id="318791" filter="art=318791" tag="John Serba" text="Pleasant enough to warrant almost two hours of your time." image="rottentomatoes://image.review.fresh" link="https://decider.com/2021/06/11/queen-bees-vod-review/" source="Decider"/>

<Review id="34326" filter="art=34326" tag="Thelma Adams" text="An ideal date night or friends' group evening out. Love is love and there's no expiration date. Or, as Curtin's bossy biddy says, tongue planted firmly in cheek, "Eighty is the new 18."" image="rottentomatoes://image.review.fresh" link="https://www.aarp.org/entertainment/movies-for-grownups/info-2021/what-to-watch-film-reviews.html" source="AARP Movies for Grownups"/>

<Review id="511713" filter="art=511713" tag="Wendy Shreve" text="As a fellow viewer noted, Queen Bees provides sweet, sometimes touching, entertainment. Yet the movie doesn't invite a second viewing." image="rottentomatoes://image.review.rotten" link="https://www.featuringfilmreviewer.com/post/queen-bees-a-study-in-hive-behavior" source="Featuring Film"/>

<Review id="283731" filter="art=283731" tag="Tara McNamara" text="Just like the card game that brings its characters together, this run-of-the-mill film could have an upside: providing a bridge for conversation between generations." image="rottentomatoes://image.review.fresh" link="https://www.commonsensemedia.org/movie-reviews/queen-bees" source="Common Sense Media"/>

<Review id="273218" filter="art=273218" tag="Andy Klein" text="Feels like a TV movie, quite frankly... I didn't think there was great chemistry between Burstyn and Caan." image="rottentomatoes://image.review.rotten" link="https://www.scpr.org/programs/filmweek/2021/06/11/66846/filmweek-in-the-heights-holler-wish-dragon-and-mor/" source="FilmWeek (KPCC - NPR Los Angeles)"/>

<Review id="2154" filter="art=2154" tag="Lindsey Bahr" text="It's a film that seems to have been dreamt up by a reverent grandchild who assumed they knew everything there was to know and never thought to ask the grandparent themselves." image="rottentomatoes://image.review.rotten" link="https://apnews.com/article/reviews-film-reviews-lifestyle-entertainment-arts-and-entertainment-5d1793a47fb38a1dcabda40175561b3b" source="Associated Press"/>

<Review id="415839" filter="art=415839" tag="Charles Koplinski" text="Nothing to offend here, just a pleasant time-filler that will help you while away an afternoon and give you an excuse to eat some movie theater popcorn." image="rottentomatoes://image.review.fresh" link="http://reeltalkwithchuckandpam.com/queen-bees-chuck-on-the-fence/" source="Reel Talk with Chuck and Pam"/>

<Preferences>

<Setting id="languageOverride" label="Metadata language" summary="Language to use for item metadata such as synopsis and title." type="text" default="" value="" hidden="0" advanced="0" group="" enumValues=":Library default|ar-SA:العربية|ca-ES:Català|cs-CZ:Česky|da-DK:Dansk|de-DE:Deutsch|el-GR:Ελληνικά|en-AU:English (Australia)|en-CA:English (Canada)|en-GB:English (United Kingdom)|en-US:English (United States)|es-ES:Español|es-MX:Español Mexicano|et-EE:Eesti Keele|fa-IR:فارسی|fi-FI:Suomi|fr-CA:Français Canadien|fr-FR:Français|he-IL:עברית|hi-IN:हिन्दी, हिंदी|hu-HU:Magyar|id-ID:Bahasa Indonesia|it-IT:Italiano|ja-JP:日本語|ko-KR:한국어|lt-LT:Lietuvių kalba|lv-LV:Latviešu valoda|nb-NO:Norsk bokmål|nl-NL:Nederlands|pl-PL:Polski|pt-BR:Português Brasileiro|pt-PT:Português|ro-RO:Română|ru-RU:русский язык|sk-SK:Slovenčina|sv-SE:Svenska|th-TH:ไทย|tr-TR:Türkçe|uk-UA:українська|vi-VN:Tiếng Việt|zh-CN:中文|zh-HK:香港|zh-TW:正體中文"/>

<Setting id="useOriginalTitle" label="Use original title" summary="Use the original title for this item regardless of the library language." type="int" default="-1" value="-1" hidden="0" advanced="0" group="" enumValues="-1:Library default|0:No|1:Yes"/>

</Preferences>

<Extras size="4">

<Video ratingKey="1099011" key="/library/metadata/1099011" guid="iva://api.internetvideoarchive.com/2.0/DataService/VideoAssets(990406)" type="clip" title="Queen Bees" summary="" index="1" thumb="/library/metadata/1099011/thumb/1625103666" subtype="trailer" duration="148000" addedAt="1625103666" extraType="1">

<Media id="1352047" duration="148000" bitrate="5000" width="1920" height="1080" aspectRatio="1.78" audioCodec="aac" videoCodec="h264" videoResolution="1080" container="mp4" optimizedForStreaming="1" protocol="mp4" premium="1">

<Part id="1427984" duration="148000" container="mp4" key="/services/iva/assets/990406/video.mp4?fmt=4&bitrate=5000">

<Stream id="3428761" streamType="1" codec="h264" index="0" bitrate="5000" height="1080" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>

<Stream id="3428762" streamType="2" selected="1" codec="aac" index="1" channels="2" displayTitle="Unknown (AAC Stereo)" extendedDisplayTitle="Unknown (AAC Stereo)"> </Stream>

</Part>

</Media>

Are you certain that’s the XML from

  1. Hover over it.
    2 Expose the ellipsis
  2. Click “Get Info”
  3. Click “View XML”

?

It should look like this:

<Media id="24456" duration="1272771" bitrate="3684" width="1280" height="720" aspectRatio="1.78" audioChannels="6" audioCodec="ac3" videoCodec="h264" videoResolution="720" container="mkv" videoFrameRate="24p" videoProfile="high">
<Part accessible="1" exists="1" id="161698" key="/library/parts/161698/1617656140/file.mkv" duration="1272771" file="/nas/media/tv2/$#! My Dad Says/Season 01/$#! My Dad Says - S01E01 - Pilot.mkv" size="586327670" container="mkv" deepAnalysisVersion="4" requiredBandwidths="5643,4242,4242,4242,4242,4242,4242,4242" videoProfile="high">
<Stream id="231960" streamType="1" codec="h264" index="1" bitrate="3300" language="English" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" frameRate="23.976" hasScalingMatrix="0" height="720" level="31" profile="high" refFrames="3" requiredBandwidths="5259,3898,3898,3898,3898,3898,3898,3898" scanType="progressive" width="1280" displayTitle="720p (H.264)" extendedDisplayTitle="720p (H.264)"> </Stream>
<Stream id="231959" streamType="2" selected="1" default="1" codec="ac3" index="0" channels="6" bitrate="384" language="English" languageCode="eng" audioChannelLayout="5.1(side)" requiredBandwidths="383,383,383,383,383,383,383,383" samplingRate="48000" displayTitle="English (AC3 5.1)" extendedDisplayTitle=" (English AC3 5.1)"> </Stream>
</Part>
</Media>