I’m not sure how the quotation marks have been rewritten to something else than what I have in my file but this sounds likely to be the issue.
If the paths are being cut off with the script but it works without then something is definately sounds wrong with the “$@” part.
Now that you point it out it looks wrong in both my original post and the instance where I quoted myself…
I have posted the full file here as well: https://pastebin.com/jahG1863
Copying from there from the “raw” file should hopefully not introduce any rewritten characters.
The post editor probably tries to be clever and update the quotation marks (they are technically correct for the English language, just not bash scripts ;)) if you don’t surround it with backticks to represent preformatted text.
Also Ive yet to have it fail to work now with anything beyond overloading it. AC3, and Plex.tv included. HEVC, h264, roku, web, player, android, and every audio codec I could find.
Awesome! I still can’t get mine to transcode anything for Plex.tv web clients… I’m not exactly sure why. It seems like all transcoding works perfectly for Plex Media Player clients.
For me it seems to be some issue with the 1.15 alpha because this was working when I was on 1.14 stable.
Unfortunately I’m on an unsupported platform: Gentoo Linux.
I have used an installation package from an unoffical overlay to Gentoo called fkmclane. As far as I know it downloads the offical .deb package and unpacks it to the correct folders for Gentoo and creates startup scripts for OpenRC and SystemD.
When installing the older stable Plex-Media-Server 1.14 using the same method though everything was working.
I was running the offical docker image earlier but after fiddling around a lot and not being able to get HW acceleration working at all inside of it I learned that I really should be using “nvidia-docker” to make that a lot easier. Unfortunately “nvidia-docker” isn’t officially supported on Gentoo either and I haven’t been able to find any instructions anywhere on the web for how to get that up and running.
Unfortunately this server runs a few other things than Plex so I would prefer not having to migrate all those applications to another OS.
I actually just spent about 2 months getting hw working in docker. As far as I know nvidia-docker just modifies the daemon to add Nvidia as a runtime. You should be able to do that manually if you know where the docker daemon is. My next step is hw decoding in docker.
This should help. Its for when you have daemon modifications you don’t want to lose due to nvidia-docker.
I took the current plex docker( IDK how to make dockerfiles ), exec’d into it with root, installed 1.15 overtop(making sure there was no version preference as this would reinstall default plex), restarted the container, applied the patch, and it worked exactly as if I had done it in bare metal linux.
Edit: with nvidia runtime installed so the docker could do HW transcoding in the first place.
I completed implementing nVidia PCI-E (GT-1060 type) GPU card on QNAP.
It works in the lab and with one of the Ninjas who's been able to "kick the tires".
Very specifically.. H.264 codec encoding is enabled at this time.
I’ve sent it off to QNAP for them to kick around a bit (which they will do VERY quickly).
A few of us have nVidia cards in our personal QNAP machines as well and are going to kick it.
How does this translate to what you’ll see and when? PMS 1.15.0 is on the way out the door now (final QA). I am playing with 1.15.1 on the NAS boxes. Fingers crossed and nothing else catching fire, general Linux packaging is next. I don’t have those resources in my hands (AIO machine here) so will need work that out.
Please do **not** ask me about decoding. That is not my task here. My task is to connect the external GPU to PMS. I did that.
I know the decoding requires a Transcoder update. I know there is work being done for that now because we finally have the NAS boxes online.
NO, I don’t have a roadmap, ETA, or any other information.
I’m the NAS / Linux packaging guy. When the transcoder team gives me an executable to bundle into a DBG , RPM, SPK, QPKG, or other, that is when I’ll know it’s actually in-hand.
I am going to ask, please don’t beat me up over this. I, as messenger, got shot the last time I shared something.
If I get shot at again, I’m done and I will never speak another word. This isn’t a threat. It’s a fact.
Chuck I appreciate what info you’ve provided and I apologize for whats been said. I think most people realize you don’t have all the answers and just are sad that you don’t. We dont blame you and are thankful that you are so active on these forums in the first place. Thanks for all you do!!
Thanks Chuck,much appreciate. The community here already did some tests and scripts. We know there is the Transcoder that need update and probably other parts too. Ffmpeg supports NvENC/NVDEC since a while and the transcoding team need to use a more recent FFMPEG that supports it, probably the first thing to do.
Lots of us have aging hardware that would cost too much to replace completly instead of just adding a small gtx 1060. Competing media solution (to not name it), already support full nvdec/NvENC on Linux, in docker,etc.
Personnaly, im ready with my Unraid server and nvidia plugin that allow any docker to use the gtx1060
If we want to talk about ‘tech’ in general, I’m ok with that.
ANY linux environment, (host, VM, docker -chroot container) which makes the devices accessible, will work. It’s not rocket science. For guys like me, making it bullet proof for every possible configuration is where the prestidigitation comes in. I know right now, ANY nVidia card supported by their drivers (on QNAP at least) work. I can’t know more than that because I have no boards here to do it myself.
Yes, the FFMPEG core needs an update. One full update to FFMPEG current version and it should be done, that includes VC-1 HW decode. VAAPI has it , that version is stable, as is FFMPEG, so IMO, there’s no technical reason not to have it every where else.
Plex wise,
a. The PMS core needed a lot of work. - done
b. That antiquated bandaid build system needed replacing - just now done.
c. Road paved, lines are painted, just waiting on the ribbon cutting ceremony
Anything you post here gives us hope Chuck ! I dont think anyone means to take shots, we are just all anxiously waiting for progress. Can’t wait for the next release!
Glad to hear you got nvenc working, but. . . you know, we kinda have already been using nvenc with plex on various platforms for well over a year now. We even have it working on unraid.
That’s why we get confused when it’s touted as a new development. I feel like there is a disconnect somewhere.