Pixelated playback when Transcoding for the first 60-90sec

I just bought an Asustor AS5304T. Installed 1.18.4.2171. I can’t transcode hevc to x264 without lots of stuttering and blocking and freezing for extended periods. I think it might be the same thing the folks here are getting. I have a Plex pass and have HW acceleration options enabled.

Is there any chance of a test build for the WD PR4100 NAS?

Still have this issue on the current release 1.18.5.2309 (PlexMediaServer-1.18.5.2309-f5213a238-MyCloudPR4100.bin).

hi @Zanbarri I am working on getting updated builds today which will include a WD PR2100 build.

Hi guys, new build is available here → Hardware Transcoding broken when burning subtitles ApolloLake-based Synology NASes - #312 by chrisallen

Hi Wingman

Here are also my logs from playing ( hw transcode )H264 4k video from my 4k DJI cam.

Checked with v. 1.18.7.2318

I am playing it on UHD Samsung TV.
Video is freezing and extended time loading, sometimes also blurring
As mentioned also user brycegturner. (same NAS)

I put also screenshots from NAS performance, I dont see there much traffic, even I heard that disk is working hard :slight_smile:

Another topic is that I tried to stream it with Windows Media DLNA via my notebook.. and video was almost smoothly, but I figure out that bottleneck is TV ethernet LAN 100Mbit,
and the I just realized that all 4k TVs are branded just with 100Mbit NIC, even on 2000$ TV !!! what I read on web.

Plex Media Server Logs_2020-01-30_14-39-57.zip (41.6 KB)

The updated build seems to have fixed the issue on my end at least. Thanks for the quick reply.

Hello Team

I have also still issues with old mpeg4 movies ( blurring, when HW decoding )
Do you have any news please ?
PMS : 1.18.7.2318
Player 4.19.2 TV Samsung

XML

<MediaContainer size="1" allowSync="1" identifier="com.plexapp.plugins.library" librarySectionID="7" librarySectionTitle="Movies" librarySectionUUID="abecbe24-5bb2-41b1-bb52-3faf7689c545" mediaTagPrefix="/system/bundle/media/flags/" mediaTagVersion="1579919665">
<Video ratingKey="746" key="/library/metadata/746" guid="local://746" type="movie" title="Okamžik Zkratu" titleSort="Okamzik Zkratu" librarySectionTitle="Movies" librarySectionID="7" librarySectionKey="/library/sections/7" summary="" viewOffset="169000" lastViewedAt="1580660311" thumb="/library/metadata/746/thumb/1580605368" art="/library/metadata/746/art/1580605368" duration="6328901" addedAt="1403429945" updatedAt="1580605368">
<Media id="1363" duration="6328901" bitrate="1916" width="720" height="304" aspectRatio="2.35" audioChannels="2" audioCodec="ac3" videoCodec="mpeg4" videoResolution="sd" container="avi" videoFrameRate="24p" videoProfile="advanced simple">
<Part accessible="1" exists="1" id="1363" key="/library/parts/1363/1403429945/file.avi" duration="6328901" file="/share/Video/filmy/Okamžik zkratu.avi" size="1516003328" container="avi" deepAnalysisVersion="4" requiredBandwidths="6400,3528,2765,2057,2022,2022,2022,2022" videoProfile="advanced simple">
<Stream id="4398" streamType="1" codec="mpeg4" index="0" bitrate="1459" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="304" codedWidth="720" frameRate="23.976" height="304" level="5" profile="advanced simple" refFrames="1" width="720" displayTitle="SD (MPEG4)"/>
<Stream id="4399" streamType="2" selected="1" codec="ac3" index="1" channels="2" bitrate="448" audioChannelLayout="stereo" samplingRate="48000" streamIdentifier="1" displayTitle="Unknown (AC3 Stereo)"/>
</Part>
</Media>
<Extras size="0"> </Extras>
</Video>
</MediaContainer>

Hi Team
Nothings new ?
Only fix is disable HW transcode.
For now I quit with subscription, cause no benefit for me.

A.

I have an Intel NUC7CJYH (J4005) running Ubuntu 18.04 and PMS 1.18.6.2368. I have the 30 - 90 second blurry picture transcoding problem and can’t get rid of it. I tried removing iHD_drv_video.so from /usr/lib/plexmediaserver/lib/dri without any success. Has anyone with a similar configuration had any success with 1.18.7.2306?

As I recall the j4005 has not been evaluated for Plex. It is not listed as a compatible cpu

The J4005 is the dual-core version of the J5005 reviewed here: https://youtu.be/o82NWFnoDZw

I also purchased a NUC7PJYH back in November for the purpose of hardware transcoding. My decision was largely based on the same video that Will_M posted a link to. The NUC I purchased has the J5005 processor. In the most recent version of the Plex Media Server the blockiness that occurred in the beginning is gone for me. However playback quality frequently pauses and has pixel artifacts around motion in the video. The linked video review does not mention the pixelated playback so it worked at some point. Indeed the workaround of deleting the new version of the new iHD driver as mentioned here seems to work.

I have the J5005 CPU (ASRock J5005-ITX) in a Debian Buster OS and using the LSIO Plex docker container (latest beta: 1.18.8.2527). I’m having the same exact pixelated issue when I use hw transcoding. Any idea how to fix this? It’s very frsutrating to say the least.

@chrisallen Here’s my Plex Media Server logs that show HW and non-HW transcodings:

The suggestion in Heavy Artifacts with Hardware Transcoding with Linux Intel worked great for me.

If you’re running Plex Server using Docker (Compose), the best way would be to create a local docker image for Plex, that does not contain the file mentioned in the above post. (This assumes you have some experience using docker.)

$ cat Dockerfile
FROM plexinc/pms-docker:latest

RUN rm -rf /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so

$ docker build -t local-plex .  # run this from the directory where the Dockerfile is located

Now, in your docker configuration, make sure to use the image local-plex:latest. I run plex in Docker using Docker Compose, so my docker-compose is:

---
version: '2'
services:
  plex:
    container_name: plex
    image: local-plex:latest
    restart: unless-stopped
    ports:
      - 32400:32400/tcp
      - 3005:3005/tcp
      - 8324:8324/tcp
      - 32469:32469/tcp
      - 1900:1900/udp
      - 32410:32410/udp
      - 32412:32412/udp
      - 32413:32413/udp
      - 32414:32414/udp
    environment:
      - TZ=Europe/Amsterdam
      - ADVERTISE_IP=http://your-host.local:32400/
      - PLEX_UID=1000
      - PLEX_GID=100
      - PLEX_CLAIM=xxxxxxxxx
    hostname: NAS-plex
    volumes:
      - /your/config/dir:/config
      - /your/tv/dir:/tv
      - /your/movie/dir:/movies
      - /your/transcode/dir:/transcode
    devices:
      - "/dev/dri:/dev/dri"  # important, enables hardware encoding

Hope this helps!

Out of curiosity though, what is the difference between your method and just simply using custom scripts for LSIO’s docker containers?

I don’t have a lot of experience with the LSIO’s images; you’ll notice I’m using the official Plex images.

As long as these custom scripts run before or “right at” the start of the container and remove the same file you should be fine I think. :slight_smile:

Or another more permanent way is by following this:

This change persists through reboots and container upgrades so it just needs to be done once.

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