Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

ffmpeg conversion from flv to mp4 ios compatible



3:15 pm on Aug 25, 2012 (gmt 0)

5+ Year Member


I have been trying to find help, but no luck so far.

I have a flash video recorder which always saves the recorded file in flv format. As you guys know flv can't be played in iOS devices ie; iphone or ipad etc, I need to convert the video in mp4 with H.264 codecs.

I already have ffmpeg installed on my wowza based server set up from Amazon EC2. FFMpeg works fine in generating thumbnails and video conversion too, but that video is still not being played in iphone.

I tried several different commands, but no luck.

Can anyone please provide me the exact command which would just take a flv video and convert it into H264 mp4 format with same quality?



6:39 pm on Aug 25, 2012 (gmt 0)

5+ Year Member

Hi. A quick search resulted in my finding this.

ffmpeg -i input.flv -vcodec copy -acodec libfaac -aq 200 output.mp4
Source [learnosity.com ] A good read. Seems to be spot on with what you need.

Not sure if it works as I don't have ffmpeg but I figured I'd share it anyways for you to try

Hope it helps.


7:02 pm on Aug 25, 2012 (gmt 0)

5+ Year Member

thanks for the response. in the code you have libfaac, does it need any extra codec or lib to be installed on the server?


8:00 pm on Aug 25, 2012 (gmt 0)

5+ Year Member

It uses the libaac codec so I would imagine yes. You would have to have that installed. Again, read through the link I supplied. It seems like what you need.

Hope it works

Featured Threads

Hot Threads This Week

Hot Threads This Month