How to convert a video via ffmpeg to an mp4 format that will stream and/or download to iPhone and Bl

Posted by Yegor on Stack Overflow See other posts from Stack Overflow or by Yegor
Published on 2010-06-02T03:41:24Z Indexed on 2010/06/02 3:43 UTC
Read the original article Hit count: 239

Filed under:
|
|
|
|

I have a site where people upload videos, which are converted to .flv format. Simple.

I wanted to also convert to an mp4 format that will "stream" to an iphone and blackberry, or allowed to be downloaded to either, for later viewing.

Can someone post a working ffmpeg line to accomplish this task?

Closest I got was this (which doesn't work)

ffmpeg -i in.avi -f mp4 -vcodec libx264 -maxrate 1000 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec libfaac -s 480x320 -ab 128k -qscale 7 out.mp4

© Stack Overflow or respective owner

Related posts about iphone

Related posts about blackberry