# FLV to H.264 Conversion

**URL:** https://community.wowza.com/t/flv-to-h-264-conversion/34575
**Category:** Wowza Streaming Engine
**Created:** [June 2, 2010, 5:08pm UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575 "2010-06-02T17:08:56Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Tom\_Deasey](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@Tom\_Deasey](https://community.wowza.com/u/Tom_Deasey)
#### Post date: [June 2, 2010, 5:08pm UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575/1 "2010-06-02T17:08:56Z")

</div>

We have a few issues here trying to convert flv files that were recorded from live streams into H.264. We have had some success. About 25% of the videos will stream via Wowza after conversion and the rest will not. On the videos that do work the audio and video are way out of sync.

We are using ffmpeg to do the conversion. The original FLV were streamed and record using stream flash video codec.

ffmpeg -i \<input\_file\> -vcodec libx264 -acodec libfaac -ar 48000 -ab 160kb -vpre default -level 30 -y \<output\_file\>

I wanted to automate the process of converting the videos into H.264 so we can stream them to the iPhone and iPad via Wowza. (BTW progressive streaming of the videos works fine to the iphone except for the fact that the audio is out of sync.)

If we can not get this to work automated with ffmpeg does anyone know of a desktop tool I can use to convert these files?

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [June 3, 2010, 3:41am UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575/2 "2010-06-03T03:41:50Z")

</div>

ffmpeg is what I would have suggested. You might try to get a newer build to see if they have fixed this issue.

Charlie

---

<div class="post-metadata">

### Author: ![Alejandro\_Ferrari](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Alejandro\_Ferrari](https://community.wowza.com/u/Alejandro_Ferrari)
#### Post date: [June 4, 2010, 1:05pm UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575/3 "2010-06-04T13:05:31Z")

</div>

Hi Tom,

Into this link has a lot of profile and suggestion for the conversion:

[http://h264.code-shop.com/trac/wiki/Encoding#Ffmpegx264profileBaselinelevel3.0iPhone](http://h264.code-shop.com/trac/wiki/Encoding#Ffmpegx264profileBaselinelevel3.0iPhone)

Tell us if using some of this settings you can fix your problem.

Regards,

Alejandro

---

<div class="post-metadata">

### Author: ![Annie\_Akhter](https://avatars.discourse-cdn.com/v4/letter/a/df705f/32.png) [@Annie\_Akhter](https://community.wowza.com/u/Annie_Akhter)
#### Post date: [June 5, 2010, 11:16pm UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575/4 "2010-06-05T23:16:38Z")

</div>

Hi Tom

you can use this free desktop utility to convert video into h264 format

[http://www.easy-video-converter.com/](http://www.easy-video-converter.com/)

---

<div class="post-metadata">

### Author: ![Tom\_Deasey](https://avatars.discourse-cdn.com/v4/letter/t/f17d59/32.png) [@Tom\_Deasey](https://community.wowza.com/u/Tom_Deasey)
#### Post date: [June 3, 2010, 11:07am UTC](https://community.wowza.com/t/flv-to-h-264-conversion/34575/5 "2010-06-03T11:07:45Z")

</div>

I wish that is all it was but that was one of the first things I did.

I was hoping if anyone here would have nay suggestions on commandline conversion string.
