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

[Feature] Offload Thumbnail Generation to External Computer #5534

Open
loraynol opened this issue Dec 6, 2024 · 1 comment
Open

[Feature] Offload Thumbnail Generation to External Computer #5534

loraynol opened this issue Dec 6, 2024 · 1 comment

Comments

@loraynol
Copy link

loraynol commented Dec 6, 2024

Is your feature request related to a problem? Please describe.

I am currently using a Raspberry Pi to run Stash, and everything works as expected. However, tasks like video thumbnail and chapter preview generation can be resource-intensive, which might overburden the Raspberry Pi and affect its performance.


Describe the solution you'd like

I would like to offload the computationally intensive tasks of generating video thumbnails and chapter previews to a more powerful computer. The Raspberry Pi would continue to serve as a media access server, while the computer processes the media files and sends the generated outputs (e.g., thumbnails) back to the Raspberry Pi's media library automatically.


Describe alternatives you've considered

  • Continue processing everything on the Raspberry Pi: This risks overloading its limited processing capabilities.
  • Manual processing: Manually transferring media files to the computer for processing and then back to the Raspberry Pi. However, this process is tedious and inefficient.

Additional context

A possible implementation could involve using network protocols like NFS or Samba to allow the computer to access the Raspberry Pi’s media library directly. Scripts or tools like ffmpeg could be used for thumbnail generation, with automation set up to sync results back to the Raspberry Pi.

@adobeman15
Copy link

This seems like it could work:

https://github.com/joshuaboniface/rffmpeg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants