Log in

View Full Version : FLV encoding woes


Davinator
6th September 2007, 18:30
I've been searching for many hours on these forums and google, with very little luck so far. I've found Sh0dan's great guide on how to encode FLV files with the VP6 codec, but I'm actually trying to encode using the Spark codec.

I know FFMPEG will do this, but I've yet to make it work correctly. After going to the FFMPEG website, it looks like the only downloads there are uncompiled versions of it. Since I know nothing on how to compile programs, I've downloaded Sh0dan's version from his guide.

So far the files I've created all have good audio, but the video is completely black. Here is my latest script that I've tried:

ffmpeg -i example.avi -s 320x240 -f flv -acodec mp3 -ab 128 -ar 44100 -vcodec flv -b 1000000 -vframes 500 -y example.flv

Can someone help me by providing an example script for flv encodes and / or a place to download a compiled version of FFMPEG for me to try? Any help or guidance would be greatly appreciated. Thanks a lot!

foxyshadis
7th September 2007, 04:49
Odd, I used your exact commandline and it worked here. Maybe it's just the version, up-to-date compiles can be found here (http://ffdshow.faireal.net/mirror/ffmpeg/). The avi has to be in a format ffmpeg can decode, as it can't use vfw codecs.

Davinator
7th September 2007, 17:31
Thanks for your reply Foxyshadis. There were a few things I was doing wrong. The first one was a DUH, I'm an idiot issue. I didn't realize that .7z files were archives. I downloaded the appropriate program and was able to use the latest version of ffmpeg.

I then had to make a small change to my command line to make this work. I changed -acodec mp3 to -acodec libmp3lame.

Now that I've gotten this to work, I should be able to further edit this script to make it work exactly how I'd like to. :thanks: