-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request - add HW accelleration #26
Comments
Yeah, I haven't tested this because I don't have the hardware, but it's conceivably possible. If running inside the docker, then you'd have to expose the hardware device (probably), and the right version of FFMPEG installed. But otherwise, looks like it should work with the hwaccel argument: https://trac.ffmpeg.org/wiki/HWAccelIntro |
FYI, I assume this is about HW accelleration for ffmpeg, but using the hardware acceleration via the Plex Transcoder w/NVENC works for me with my nvidia quardro. However, I am not using a docker install, and am running Plex directly on my Ubuntu 20.04 machine. Because of that, I did have to change lines 46-48 to:
note the full path to Library/Application Support since $PLEX_HOME doesn't exist in my install, and also adding 'usr/lib/x86_64-linux-gnu' to the LD_LIBRARY_PATH since that is where my libcuda.so.1 was located. |
Not sure but I think you can add a version that applies to your HW accelerator For mine I just use Intel's QuickSync settings. So to transcode in this script I add '-hwaccel qsv' to the FFMPEG command line. I think you could add config options to the script for HW accel type and video format (264 or 265) . |
finally got around to installing my quadro - and i'm unable to get the script to work using hwaccel on ffmpeg or the nvtrans tool :( totally possible its user error - was doing this while on a boring conf call - so will try some mor stuff this weekend
I get this loveliness when trying to use hwaccel cude for my quadro
it looks like it looking for a codecs directory ... i'm running this in docker |
Added support for NVENC to my fork. Requires ffmpeg compiled with appropriate filters/libraries. Tested on Quadro P1000. Speed difference is ~17minute transcode on CPU for 60min video went down to ~3minute transcode for the same 1 hour video on the Quadrop P1000. |
i'm tinkering and trying to see if i can get it working - but currently am unable to test because my nvidia quadro is sitting on the shelf and won't be delivered until my buddy travels across contry - figured it would make life much easier when using h265 as your encoding choice
thought i might reach out to see if you are already looking at using hwaccel - but im a wicked ffmpeg novice and since i don't have a test bed yet ....
The text was updated successfully, but these errors were encountered: