nextcloud / nextcloud/recognize
Would it be possible to enable nvenc in ffmpeg when classifying videos?
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 699
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating config.php and the ffmpeg process used during video classification. Check how the configured ffmpeg binary is selected and determine what is needed to support an nvenc-enabled build; done means users can point Recognize to that binary and classification uses it without exhausting all CPU cores.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- machine-learning, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100