wolveix / plexus

A suite of tools to help manage your media collection.
https://plexus.wolveix.com
GNU General Public License v3.0
97 stars 11 forks source link

hardware acceleration for encoding #3

Closed hwaccel closed 5 years ago

hwaccel commented 5 years ago

Is your feature request related to a problem? Please describe. Slow encoding of files and not using the gpu to encode.

Describe the solution you'd like On line 603ish, I think, is when the command to do the actual conversion is, if you add the option '-hwaccel opencl' it will allow ffmpeg to us the opencl hardware acceleration it isn't the fastest but it works on every type of gpu make.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context The api's available for ffmpeg and the compatibility chart. https://trac.ffmpeg.org/wiki/HWAccelIntro

wolveix commented 5 years ago

Experimental hardware acceleration support has been added in Plexus v0.9.64 :) It is disabled by default, but you can enable it by using the --hwaccel flag with the encode function. Alternatively, you could modify the config values via the config function. Currently, Cuvid, OpenCL and Nvdec are natively supported (OpenCL is the default option). To use unsupported codecs, manually modify the config file.

Thanks for the feature request!