My mistake and apologies. Using the procedure above to install it within the container, which installer do I need? The AMD64 Synology one?
Upgraded my docker containers, my CPU transcoder is detected as CoffeLake-S GT2. A quick test indicates HW transcoding with tone mapping working without a problem.
The AMD64 Ubuntu one on any 64-bit Intel docker container.
(The environment in the container is Ubuntu Linux). DSM is the external environment.
Synology DSM 7 Intel 64-bit seems to be working so far.
(DS918+, DSM v7.1.1-42962 Update 6)
@ChuckPa
So far it looks like I’m the only one with the test build who still has problems. I uploaded some logs for you here. Just making sure you notice my post because to me it looks like you didn’t.
Sorry if I missed. It’s been crazy.
You have subtitles, HW won’t enable because of them. Try something else.
Sep 19, 2023 13:01:40.369 [139774247512888] DEBUG - [Req#4796/Transcode] Found session GUID of tm0ft96j8ecr213ngsk95ly7 in session start.
Sep 19, 2023 13:01:40.369 [139774247512888] DEBUG - [Req#4796/Transcode] Cleaning directory for session tm0ft96j8ecr213ngsk95ly7 ()
Sep 19, 2023 13:01:40.369 [139774247512888] DEBUG - [Req#4796/Transcode] Starting a transcode session tm0ft96j8ecr213ngsk95ly7 at offset -1.0 (state=3)
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: using hardware decode accelerator vaapi
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: zero-copy support present
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: not using zero-copy because subtitle burning is required
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] [Universal] Using local file path instead of URL: /Medien/Anime Serien/Zom 100 - Bucket List of the Dead/Zom 100 Bucket List of the Dead - S01E04 - Flight Attendant of the Dead.mkv
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] Codecs: hardware transcoding: testing API vaapi for device '/dev/dri/renderD128' (HD Graphics 500)
Sep 19, 2023 13:01:40.374 [139774247512888] INFO - [Req#4796/Transcode] Preparing driver imd for GPU HD Graphics 500
Sep 19, 2023 13:01:40.374 [139774247512888] DEBUG - [Req#4796/Transcode/DriverDL/imd] Skipping download; already exists
Sep 19, 2023 13:01:40.374 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Sep 19, 2023 13:01:40.375 [139774247512888] DEBUG - [Req#4796/Transcode/JobRunner] Job running: FFMPEG_EXTERNAL_LIBS='/config/Library/Application\ Support/Plex\ Media\ Server/Codecs/8217c1c-4578-linux-x86_64/' LIBVA_DRIVERS_PATH="/config/Library/Application Support/Plex Media Server/Cache/va-dri-linux-x86_64" XDG_CACHE_HOME="/config/Library/Application Support/Plex Media Server/Cache" XDG_DATA_HOME=/usr/lib/plexmediaserver/Resources X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/usr/lib/plexmediaserver/Plex Transcoder" -codec:0 h264 -hwaccel:0 vaapi -hwaccel_fallback_threshold:0 10 -hwaccel_device:0 vaapi -analyzeduration 20000000 -probesize 20000000 -i "/Medien/Anime Serien/Zom 100 - Bucket List of the Dead/Zom 100 Bucket List of the Dead - S01E04 - Flight Attendant of the Dead.mkv" -map_inlineass 0:2 -filter_complex "[0:0]scale=w=1280:h=720:force_divisible_by=4[0];[0]format=pix_fmts=nv12[1];[1]inlineass=font_scale=1.000000:font_path=/usr/lib/plexmediaserver/Resources/Fonts/NotoSans-Medium.otf:fontconfig_file=/usr/lib/plexmediaserver/Resources/fonts.conf:language=de[2];[2]hwupload[3]" -map "[3]" -codec:0 h264_vaapi -b:0 9000k -r:0 23.975999999999999 -force_key_frames:0 "expr:gte(t,n_forced*3)" -map 0:1 -metadata:s:1 language=jpn -codec:1 copy -copypriorss:1 0 -f dash -seg_duration 3 -dash_segment_type mp4 -init_seg_name 'init-stream$RepresentationID$.m4s' -media_seg_name 'chunk-stream$RepresentationID$-$Number%05d$.m4s' -window_size 5 -delete_removed false -skip_to_segment 1 -time_delta 0.0625 -manifest_name "http://127.0.0.1:32400/video/:/transcode/session/tm0ft96j8ecr213ngsk95ly7/48ad4e84-75df-49cb-a7cf-f10835367e9f/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -map 0:2 -f null -codec ass nullfile -start_at_zero -copyts -vsync cfr -init_hw_device vaapi=vaapi:/dev/dri/renderD128 -filter_hw_device vaapi -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/tm0ft96j8ecr213ngsk95ly7/48ad4e84-75df-49cb-a7cf-f10835367e9f/progress
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: zero-copy support present
Sep 19, 2023 13:01:40.370 [139774247512888] DEBUG - [Req#4796/Transcode] TPU: hardware transcoding: not using zero-copy because subtitle burning is required
Well yes, subtitles were enabled and there are no problems when subtitles are disabled. But the same episode with subtitles in version 1.32.1.6999 works fine without buffer timeouts. Is this another problem that needs to be fixed then?
Candidly? I have no clue.
- We’re just now getting this version working again
- Finding and understanding what changes were made with that version is still “Must Do”.
Your choice what you want.
I will need the XML of the file and, if you can chop a sample for me for us to replicate with (200 MB works) that would be great.
Is the XML something I can generate somehow? I tried the tool MediaInfo to save the metadata but it saves a TXT file. Not sure if that would help you in any way.
It’s a MKV file. I tried Avidemux to safe a ~200 MB sample but the subtitles get lost when I save the file. Do you have a recommended way to create that sample for you?
You better study this article: https://support.plex.tv/articles/201998867-investigate-media-information-and-formats/
- Hover over the item
- Expose the ellipsis (lower right)
- “Get Info”
- (lower left) “View XML”
- COPY from the top line
<Media>down through</Media> - Place in text file or paste in quoted code block (the ‘’ button in the reply window)
Looks like this:
```
Paste <XML> here
```
Posts as this:
Paste <XML> here
Thank you, @charlie2alpha!
Here’s the XML:
18601.zip (2.8 KB)
Or just look here:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="4" librarySectionTitle="Anime Serien" librarySectionUUID="195a764e-2eca-46d9-acba-9a295064fe46" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1682413660">
<Video ratingKey="18601" key="/library/metadata/18601" skipParent="1" parentRatingKey="18417" grandparentRatingKey="18416" guid="plex://episode/649a4bd28bf42b51d33d2b8c" parentGuid="plex://season/63b89f650d2426385fa072e2" grandparentGuid="plex://show/63b89f640d2426385fa072df" type="episode" title="Flight Attendant of the Dead" grandparentKey="/library/metadata/18416" parentKey="/library/metadata/18417" librarySectionTitle="Anime Serien" librarySectionID="4" librarySectionKey="/library/sections/4" grandparentTitle="Zom 100: Bucket List of the Dead" parentTitle="Staffel 1" originalTitle="CA オブ ザ デッド" contentRating="TV-MA" summary="Kencho schließt sich Akira an und die beiden widmen sich dem nächsten Punkt auf der Bucket List: einen riesigen Fernseher aufzutreiben! In Ikebukuro werden sie jedoch prompt von Zombies in den Untergrund gejagt, wo sie auf eine Gruppe Überlebender treffen. Da diese rein zufällig Flugbegleiterinnen von Beruf sind, nimmt Akira schnell einen anderen Punkt auf der Bucket List ins Visier: er wollte schon immer einmal mit Flugbegleiterinnen abhängen!" index="4" parentIndex="1" audienceRating="8.8" viewCount="5" lastViewedAt="1695122365" year="2023" thumb="/library/metadata/18601/thumb/1694239094" art="/library/metadata/18416/art/1694302008" parentThumb="/library/metadata/18417/thumb/1694239093" grandparentThumb="/library/metadata/18416/thumb/1694302008" grandparentArt="/library/metadata/18416/art/1694302008" duration="1447044" originallyAvailableAt="2023-07-30" addedAt="1690955973" updatedAt="1694239094" audienceRatingImage="themoviedb://image.rating" chapterSource="media">
<Media id="20389" duration="1447044" bitrate="4133" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" videoResolution="720" container="mkv" videoFrameRate="24p" audioProfile="lc" videoProfile="high">
<Part accessible="1" exists="1" id="32637" key="/library/parts/32637/1690955964/file.mkv" duration="1447044" file="/Medien/Anime Serien/Zom 100 - Bucket List of the Dead/Zom 100 Bucket List of the Dead - S01E04 - Flight Attendant of the Dead.mkv" size="747651970" audioProfile="lc" container="mkv" deepAnalysisVersion="6" requiredBandwidths="5668,5459,5137,5137,5137,5137,5137,5137" videoProfile="high">
<Stream id="108899" streamType="1" default="1" codec="h264" index="0" bitrate="4133" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="23.976" hasScalingMatrix="0" height="720" level="40" profile="high" refFrames="6" requiredBandwidths="5539,5331,5010,5010,5010,5010,5010,5010" scanType="progressive" width="1280" displayTitle="720p (H.264)" extendedDisplayTitle="720p (H.264)"> </Stream>
<Stream id="108900" streamType="2" selected="1" default="1" codec="aac" index="1" channels="2" bitrate="128" language="Japanisch" languageTag="ja" languageCode="jpn" audioChannelLayout="stereo" profile="lc" requiredBandwidths="128,128,128,128,128,128,128,128" samplingRate="44100" title="Japanisch" displayTitle="Japanisch (AAC Stereo)" extendedDisplayTitle="Japanisch (Japanisch AAC Stereo)"> </Stream>
<Stream id="108901" streamType="3" selected="1" default="1" codec="ass" index="2" bitrate="0" language="Deutsch" languageTag="de" languageCode="deu" requiredBandwidths="1,1,1,1,1,1,1,1" title="Deutsch [Full]" displayTitle="Deutsch (ASS)" extendedDisplayTitle="Deutsch [Full] (ASS)"> </Stream>
<Stream id="108902" streamType="3" codec="ass" index="3" bitrate="0" language="Englisch" languageTag="en" languageCode="eng" requiredBandwidths="1,1,1,1,1,1,1,1" title="Englisch [Full]" displayTitle="Englisch (ASS)" extendedDisplayTitle="Englisch [Full] (Englisch ASS)"> </Stream>
</Part>
</Media>
<Guid id="imdb://tt28106669"/>
<Guid id="tmdb://4550544"/>
<Guid id="tvdb://9867229"/>
<Rating image="themoviedb://image.rating" value="8.8" type="audience"/>
<Director id="44324" filter="director=44324" tag="Katsuya Oshima" tagKey="5f3fdb7602101b0040ee7780"/>
<Writer id="24780" filter="writer=24780" tag="Hiroshi Seko" tagKey="5d9c08162df347001e3aa708" thumb="https://metadata-static.plex.tv/b/people/bbc6cf1762fd24983e929bac943fbe98.jpg"/>
<Role id="21487" filter="actor=21487" tag="Yoko Hikasa" tagKey="5d776a2196b655001fde4274" role="Reika (voice)" thumb="https://metadata-static.plex.tv/7/people/7886e853396e8a9c7bc308d79c555965.jpg"/>
<Role id="34907" filter="actor=34907" tag="Momo Asakura" tagKey="5d776b30594b2b001e6d23eb" role="Maki (voice)" thumb="https://metadata-static.plex.tv/6/people/6073386a9ef35058edae36f40afaf73c.jpg"/>
<Role id="43562" filter="actor=43562" tag="Shion Wakayama" tagKey="63231f857211e730249159d3" role="Yukari (voice)" thumb="https://metadata-static.plex.tv/2/people/2dcd3f1effa4e6ae2ff6bd3e3307838b.jpg"/>
<Role id="24695" filter="actor=24695" tag="Ikuji Nose" tagKey="5d9c08d12df347001e3b8ef1" role="Middle-aged Man (voice)" thumb="https://metadata-static.plex.tv/3/people/3ba2dd233b33380973d5dd01c3d9c987.jpg"/>
<Role id="50311" filter="actor=50311" tag="Kotomi Otsuka" tagKey="5e165a4e20b9e6003e35987a" role="Videogame Zombie (voice)" thumb="https://metadata-static.plex.tv/0/people/01c973d086ed53f456370645f346bfcb.jpg"/>
<Role id="50312" filter="actor=50312" tag="Tamako Miyazaki" tagKey="6228b6c57e88d2f00b024df1" role="Female Zombie (voice)" thumb="https://metadata-static.plex.tv/4/people/4d27a207ff1f66a59082afb0ada433a8.jpg"/>
<Role id="34228" filter="actor=34228" tag="Tetsuro Miyata" tagKey="5fc66a2b02769b002d93d39a" role="Firefighter Zombie (voice)" thumb="https://metadata-static.plex.tv/d/people/daf8e4fbfd016ee9a25d3093f74787f7.jpg"/>
<Role id="24868" filter="actor=24868" tag="Takahiro Sumi" tagKey="5f662be501c327003f7a4ec3" role="Trailer Zombie (voice)" thumb="https://metadata-static.plex.tv/people/5f662be501c327003f7a4ec3.jpg"/>
<Chapter id="7368" filter="thumb=7368" tag="Prolog" index="1" startTimeOffset="0" endTimeOffset="108020"/>
<Chapter id="4728" filter="thumb=4728" tag="Opening" index="2" startTimeOffset="108020" endTimeOffset="197990"/>
<Chapter id="5692" filter="thumb=5692" tag="Hauptteil" index="3" startTimeOffset="197990" endTimeOffset="1343650"/>
<Chapter id="4726" filter="thumb=4726" tag="Ending" index="4" startTimeOffset="1343650" endTimeOffset="1433680"/>
<Chapter id="4766" filter="thumb=4766" tag="Epilog" index="5" startTimeOffset="1433680" endTimeOffset="1447040"/>
<Marker id="11477" type="intro" startTimeOffset="106715" endTimeOffset="194456">
<Attributes id="11477"/>
</Marker>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>
And since this article also mentioned the tool MediaInfo I’ll upload the saved metadata too:
Zom 100 Bucket List of the Dead - S01E04.txt (9.3 KB)
Here’s how it looks from a real file:
<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="1" librarySectionTitle="testfiles" librarySectionUUID="4be38fc0-8db0-4624-af73-3fe715c0263b" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1695035512">
<Video ratingKey="78" key="/library/metadata/78" guid="com.plexapp.agents.none://81bfd9d6ddf40334178914ff69dc70b6ed255303?lang=xn" type="movie" title="archive-30s" librarySectionTitle="testfiles" librarySectionID="1" librarySectionKey="/library/sections/1" subtype="clip" summary="" year="2023" thumb="/library/metadata/78/thumb/1682489338" art="/library/metadata/78/art/1682489338" duration="30198" originallyAvailableAt="2023-01-31" addedAt="1674198264" updatedAt="1682489338" createdAtAccuracy="epoch" createdAtTZOffset="-18000">
<Media id="78" duration="30198" bitrate="38677" width="1920" height="1080" aspectRatio="1.78" audioChannels="6" audioCodec="dca-ma" videoCodec="h264" videoResolution="1080" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="high">
<Part accessible="1" exists="1" id="617950" key="/library/parts/617950/1674198264/file.mkv" duration="30198" file="/glock/media/testfiles/archive-30s.mkv" size="146024462" audioProfile="ma" container="mkv" deepAnalysisVersion="6" requiredBandwidths="38217,37000,33381,33381,33381,33381,33381,33381" videoProfile="high">
<Stream id="406105" streamType="1" default="1" codec="h264" index="0" bitrate="35177" language="English" languageTag="en" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="24.000" hasScalingMatrix="0" height="1080" level="41" profile="high" refFrames="4" requiredBandwidths="34692,33475,30717,30717,30717,30717,30717,30717" scanType="progressive" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>
<Stream id="406106" streamType="2" selected="1" default="1" codec="dca" index="1" channels="6" bitrate="3501" language="English" languageTag="en" languageCode="eng" audioChannelLayout="5.1(side)" bitDepth="24" profile="ma" requiredBandwidths="3022,3022,3022,3022,3022,3022,3022,3022" samplingRate="48000" title="DTS-HD MA 5.1" displayTitle="English (DTS-HD MA 5.1)" extendedDisplayTitle="DTS-HD MA 5.1 (English)"> </Stream>
</Part>
</Media>
<Chapter id="6" filter="thumb=6" tag="Chapter 02" index="1" startTimeOffset="0" endTimeOffset="30000"/>
<Extras size="0"> </Extras>
<Related> </Related>
</Video>
</MediaContainer>
I didn’t edit my post
![]()
lol
ALL:
Update on our progress
Please forgive me not testing better yesterday
Gemini Lake HW transcoding - (HDR tone mapping OFF) works.
I am playing HDR content in Plex/web and, maybe it’s the video, but saturation looks very good
4K HDR hardware transcoding now working with 1.32.6.7515. Tested with HEVC and AV1 files.
Ubuntu Server 22.04 with Intel G7400(Alder Lake with UHD 710).
Are you using containers or direct-install-on-Synology? I’d like a clear bit of info on how to get a previous version on a container too.
4K HDR hardware transcoding working with 1.32.6.7515. Ubuntu 22.04 with i5-8500T.
To change a container’s image:
- Change the version and perform a ‘docker pull’ on that container
- For Plex,inc images, you can
dpkg -i filename.debfrom inside the container at thedocker execcommand line.


