-
-
Save nairbspace/6afed439e244332f088fbee6b2bbd973 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
## Bug with iHD_drv_video.so Intel media driver as of 2020-05-31. | |
## Need to force Plex to choose i965_drv_video.so on Gemini Lake CPUs. | |
## This is done by: | |
## adding this script to your /config/custom-cont-init.d/ folder on linuxserver/plex Docker containers | |
## or | |
## manually via command line by: | |
## docker exec -it name_of_plex_container /bin/bash -c "rm /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so;exit 0" | |
## References: | |
## https://forums.plex.tv/t/hardware-transcoding-broken-on-intel-nuc-with-j5005-cpu-on-ubuntu-18-04-lts/487616/24 | |
## https://blog.linuxserver.io/2019/09/14/customizing-our-containers/ | |
IHD_PATH='/usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so' | |
if [ -e $IHD_PATH ] | |
then | |
echo '**** iHD driver found, deleting file. ****' | |
rm $IHD_PATH | |
fi | |
exit 0 |
You should be able to do that. If you'd like I can have a look through TeamViewer. Are you new in Docker? Also do you have a Plex pass. File types of your media is also important. Plex doesn't like some video codecs or audio codecs. Especially if you're streaming it on your TV. Could be all kind of issues. For example, Plex has issues streaming hardcoded subtitles in your media. it will buffer all the time. I understand your frustrations. We've all been there
I have a Plexpass and I am new to Docker, I have set up my NAS two month ago.
The problem is, I think, that Plex have to transcode some files because it doesn't like the audio codec for some of them, because I do not struggle with all of my videos which are H265 encoded. I just have found a topic that may solve my problem using the QuickSync, so it may not be an issue if I do it correctly I think : https://forums.unraid.net/topic/77943-guide-plex-hardware-acceleration-using-intel-quick-sync/
Yes That's true. Pretty sure it the codecs on your media then. I haven't had any issue with buffering for a while now. You can put custom formats in radarr or sonarr in their settings Wich codes you prefer. You could also use Tdarr to convert your files to the desired codecs for stream. There should be some videos on YouTube which codecs Plex likes and dislike. Let me know if you need help
Yes That's true. Pretty sure it the codecs on your media then. I haven't had any issue with buffering for a while now. You can put custom formats in radarr or sonarr in their settings Wich codes you prefer. You could also use Tdarr to convert your files to the desired codecs for stream. There should be some videos on YouTube which codecs Plex likes and dislike. Let me know if you need help
Thanks for the help!
is this still needed?
You should be able to do that. If you'd like I can have a look through TeamViewer. Are you new in Docker? Also do you have a Plex pass. File types of your media is also important. Plex doesn't like some video codecs or audio codecs. Especially if you're streaming it on your TV. Could be all kind of issues. For example, Plex has issues streaming hardcoded subtitles in your media. it will buffer all the time. I understand your frustrations. We've all been there