So today I am setting up the compression engine on EC2 to compress video out into 4 formats. I need to do this before I use the segmenter to divide up video out into segments that will then be recompiled on the fly via lexical searches...
Anyway I had a java program downloading my mov files - clips from video out- but it was taking to long. I dont want to have to download the file in order to convert it I want ffmpeg to convert it via http... luckily i found this on stack overload:
http://stackoverflow.com/questions/2677317/how-to-read-remote-video-on-amazon-s3-using-ffmpeg
evermind, I found an easy way to solve my problem.
I set up an amazon cloudfront download distribution pointing to my S3 bucket.
Via cloudfront the files are accessible with ffmpeg over http:
ffmpeg -i "http://subdomain.cloudfront.net/video.mp4" -ss 00:00:10 -vframes 1 -f image2 "image%03d.jpg"
Showing posts with label s3. Show all posts
Showing posts with label s3. Show all posts
Wednesday, September 8, 2010
Subscribe to:
Posts (Atom)