I have converted my
source.flv video into
target.mp4 (h.264 format) by using following command:
ffmpeg -i source.flv -r 25 -b:a 128k -strict -2 -c:v libx264 -preset slow -s 320x240 -b:v 768k -ar 44100 -c:a aac target.mp4;
target.mp4 video is playing in my computer browser's but it's not playing on the iPhone / iPad when I host my video on an Amazon EC2 instance.
target.mp4 video is playing in my computer browser's as well as the iPhone / iPad when I host it some place else.
QuickTime shows the following error when I try opening the video from the EC2 instance: