-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Save to Amazon S3 #6
Comments
I am not familiar with Amazon S3. Could you give (a lot) more details on what you are trying to do ? Like, cannot you write to a file and then upload to Amazon ? It is an interesting question (writing the output to a buffer), could be useful for web streaming too, but I am not sure how easy it will be, I will see. |
For example, I want to store my videos on a remote host
I use django-storages (Amazon S3: https://github.com/iserko/django-storages/blob/master/storages/backends/s3.py) and with image files I can:
|
s3cmd is a great library for doing command line saves to s3, perhaps you could pipe the output from moviepy into s3cmd? |
There is also the python AWS interface boto. |
Hi @Zulko , Also, I have one more question Please. I shall be thankful Thanks |
Closing this. You can achieve a similar upload to s3 using boto3 s3 (
Thank you! |
While I think folding in native S3 support is not necessary, it would be good to have examples of how MoviePy works without writing to disk (is that possible)? I want to perform my conversions in the context of the request and in memory before uploading the result to S3 (from memory). |
Did you pull this out ? were you able to show video in webpage ? |
how to directly write video on s3 |
in this solution |
I think direct writing on S3 using multipart upload is a good solution. It will upload quickly and the process will be fast. As of now we are saving the output video on a local file and then that file is uploaded to S3 which takes time (1. video rendering 2. uploading 3. Deleting the video) and then respond to the client. |
Same issue. Need a solution to keep the video in memory but not on disk, for saving to disk taking a long time. |
Hi,
I want to save my final video to Amazon S3 (or other network storage), but with current to_videofile I cannot.
Code from example:
Can you use buffer instead of filename? Or other suggestions how can I do it.
The text was updated successfully, but these errors were encountered: