I want to use FFMPEG to transcode my mp4 video for http streaming on Amazon S3 without downloading. However, with reference to this post, I still cannot get it streaming:
ffmpeg -i input.avi -c:v libx264 -crf 22 -c:a libfaac -movflags faststart output.mp4
Reference: Creating MP4 videos ready for HTTP streaming
After uploaded to S3 and set it for public, changed content-type to "video/mp4", the video cannot be played as it said the file is corrupted. But if I download the file, it played smoothly. I tried the amzaon Eleastic Transcode, it can play back instantly without download, but the file size was trimmed to 1/10 so quality suffered.
I think there must be something I missed to get it stream via http. can any one help? thanks.
Regards, KC