recognize
recognize copied to clipboard
Would it be possible to enable nvenc in ffmpeg when classifying videos?
Describe the feature you'd like to request
When classifying videos Recognize pegs all CPU cores to 100% with an ffmpeg process. I assume this is for the video tagging. If its possible to add the option to enable nvenc for the ffmpeg process it would help tremendously.
Describe the solution you'd like
Ultimately it would be great to see recognize ship with the nvenc enabled build of ffmpeg.
But for starters I'd be thrilled to just have a config.php setting I can add/change to enable nvenc, and point recognize to my static build I already have with nvenc enabled.
Describe alternatives you've considered
None so far, I only just realized this about five minutes ago.
Recognize pegs all CPU cores to 100% with an ffmpeg process
I'll try to see if I can make the ffmpeg process respect the cores limit set in the settings.
I'm not sure if nvenc would solve this issue. Possibly we'd need nvdec , but that only supports limited file types.
Ah, that would make sense that you only really need to decode the video. But nvdec appears to support all the major file types.
Maybe just make it optional?
We could add an option in the admin settings to add additional command line arguments to ffmpeg