Video processing in the context of web applications is notoriously difficult to get right (at least without spending a lot of precious time best used elsewhere) - given my experience you'll likely encounter more issues and/or advanced needs down the road accordingly, e.g. thumbnail generation, format conversion, etc.
Therefore I'm going to take "any suggestions are very welcome" literally here and highly recommend to check out Transloadit - their offering includes your desired functionality, plus lots more (optional of course):
- Flexible, fast and scalable file uploading and encoding with our API:
- Encode video & audio into any format
- Resize, watermark and convert images
- Store files in S3, Cloudfiles or SFTP
- Put an upload progress bar on your site
- Outsource file handling and concentrate on your app!
There are demos for most features (which highlights many image/video processing use cases on the side), e.g. showing how to Store the originally uploaded files in your S3 bucket or how to combine features Encode a video, extract 8 thumbnails and store everything in your S3 bucket.
Please make sure to read Notifications vs Redirect Url, which explains your options regarding the use case at hand, specifically you'll likely want to use Notifications to avoid blocking the user:
If you use the jQuery plugin and set its wait parameter to false, you
will have to use Notifications, otherwise there is no way to get the
file results from Transloadit.
While being a commercial offering, they have really nailed the use case and remove most of the burden regarding video processing within web applications; their offering is build upon Amazon Web Services (AWS) and the pricing is very reasonable and affordable accordingly.
Good luck!