TheNickOfTime / handbrake-web

A self-hosted platform to use HandBrake on your headless devices via a bespoke web interface. Harness the processing power of multiple devices to work on a single queue.
GNU Affero General Public License v3.0
213 stars 4 forks source link

Implement media file upload #226

Open holzerseb opened 2 weeks ago

holzerseb commented 2 weeks ago

Is your feature request related to a problem that you are experiencing?

Not really a problem, but a convenience aspect.

Describe your feature request

Additionally to the current option to choose an input video from the mounted video directory, allow the user to upload a video in the same step. The uploaded video should be placed in the chosen subdirectory of the video directory then and can be used for a job. Even more convenient would be if there is a dedicated "Upload" site in the menu where you could upload the video to a specific subfolder. With this option, one may define a Watcher for a upload directory and it will be automatically converted. If you do not have any other important issues and want to work on this cool product, optionally a media download would round it up really well!

Provide additional context

For me the main purpose of a Handbrake-Web was the idea to have a server do all the conversions and I just have a place I can upload the videos from any other device, then download the converted file a little later from another location. The latter is easily managed through a network share, but the former is a little inconvenient. Right now I need a share to upload videos, then go into handbrake-web and select the uploaded video and go back to the share afterwards. Handbrake-Web is still very convenient, but I believe if the need to upload/download files can be managed directly from within Handbrake-Web it would definitely be a much more complete product!

Thanks so much for your work!

TheNickOfTime commented 2 weeks ago

Hey, thank you for your request! I have considered this feature previously, and I would still like to see it done at some point. Currently I have concerns about the feasibility/reliability/experience of transferring potentially very large video files via http.

This definitely falls into a category of something I will need to research/test before committing to it fully - but that's a process I can start in the coming weeks. I'll link a branch/pull request here if any development starts on this front 🙂

TheNickOfTime commented 1 week ago

It looks like this should be feasible using a library such as multer or busboy. Development for this will target the v0.8.0 release.