Skip to content
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

Add priority/niceness for re-encoding in videoFileClip.write_videofile() as argument #2227

Open
serialjaywalker opened this issue Oct 7, 2024 · 0 comments
Labels
feature-request Request for a new feature or additional functionality.

Comments

@serialjaywalker
Copy link

serialjaywalker commented Oct 7, 2024

We already have a option for thread count, but this seems a naive solution. Niceness/priority would be useful for many homelabs/NAS machines. I would like to use my NAS/pi to run re-encoding but do so at a lower priority to other tasks. Simply checking for core counts (already implemented) and using less than the max core count -N wouldn't solve it out-of-the-box. We could add the option for niceness/priority to videoFileClip.write_videofile() in its call to ffmpeg so that re-encoding/resizing/etc could perform as background task while others get priority.

This is useful for archival purposes such as converting h264 to h465/hevc or another space-saving format on low/mid powered systems and multi-use systems, such as a NAS.

@serialjaywalker serialjaywalker added the feature-request Request for a new feature or additional functionality. label Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for a new feature or additional functionality.
Projects
None yet
Development

No branches or pull requests

1 participant