开发者

How to execute a command on an S3 file [closed]

Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 10 years ago.

Improve this question

I have some video files stored on S3, and I want to get video information on them using ffmpeg. However, when I do a command such as :

$ ffmpeg -i 'http://test.s2.amazonaws.com/video.mov

I get a HTTP error 403 Forbidden response. How would I do this command? I also want to make sure not anyone can ex开发者_如何学Pythonecute stuff on these files. Thank you.

Update: I was able to do this after making the ACL public-read=everyone for the video, didn't need to use s3fs after all.


You have two options:

  1. You can download the file and run ffmpeg on localfile,
  2. or you can use s3fs to mount your s3 bucket as a filesystem.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜