« Driving Shots | Home Page | YouTube fingerprinting technology virtually certain »

Feb
24

FLV Converter - A Layman's Guide to Flash Video Conversion

FLV ConverterIf like me you have spent hours trying to find a simple and free FLV file converter, then you've probably pulled out most of your hair already.

The Internet is littered with products that claim to convert FLV files for free, but invariably come with nasty surprises attached, or insist you pay up for something that you probably feel you shouldn't. Why can't there be a simple free FLV converter?

Well there is, and I'm going to show you how to use it. You'll also learn some neat stuff along the way...

FLV Conversion using FFmpeg

FFmpeg is the Swiss army knife of video and audio conversion tools. It is a rock solid open source product (albeit of dubious legality - more on this in a moment) that programmers all over the world turn to religiously in droves, and which is included in many other software programs as the 'tool that does the conversion bit'. It comes with a big gotcha however... it is a command line tool that on first glance seems like something only propeller heads can use.

Well fear not FLV fans, I'm going to show you how to make using FFmpeg ridiculously easy. First I'm going to explain quickly why FFmpeg is really the only option available.

Why aren't there free GUI based FLV Converters?

The reason there are no free graphical based FLV converters out there (and for that matter video converters in general), is because of patent and licensing issues. For someone to offer a converter means they have to buy the rights to do so (which is never cheap), and that means nobody apart from a very generous philanthropist could offer such a product for free.

As a result, you have a situation where many dodgy (non paying) developers put out sketchy GUI converters and try to stay 'below the radar', putting their converters up on shareware / freeware sites and offering versions with watermarks and other gotchas that entice you to pay.

So what's the deal with FFmpeg?

FFmpeg also tries to stay below the radar by being open source and basically NOT OFFERING AN EASY INSTALLER OR INTERFACE. If they did, they would raise the ire of many big companies. FFmpeg converts dozens of patented file formats and codecs and by keeping its use to propeller heads, they steer clear of reaching a size that could make them a target.

So where does this leave me?

FFmpeg, while intimidating at first glance, is far and away the best option if you are looking for a guaranteed reliable, high quality and 100% free solution to converting not just FLV files, but any video or audio file format you might want. With this guide, even a command line virgin (as I was) will be converting FLV files in no time. And you won't have to deal with sketchy shareware software that won't be there the next time you look for it. This guide should stand the test of time.

So stay with me and follow my easy guide!

Finding FFmpeg for Windows

First things first, you need to get yourself a copy of FFmpeg for Windows that does not require compiling or other complex nonsense. This isn't exactly easy but I've made it easier...

Option 1 - Easy option

Download my ridiculously easy to use Windows FFmpeg pack in convenient ZIP format, and keep this browser open for the remainder of the tutorial.

Option 2 - More complex but may be a newer version

For the very latest Windows version of FFmpeg, you will want to check out this site. Look for a link closest to the top of the page that says 'Win32 Binaries'. You may have to decompress a tricky tar.gz file to get at the ffmpeg.exe file it contains. The site is maintained by an enthusiast who regularly compiles a Windows version from the latest source files.

Installing and Using FFmpeg on Windows

Whichever route you take, you should end up with a file called ffmpeg.exe. Yours may not show the .exe extension if your computer is set to 'hide extensions for known file types' (a default setting in Windows XP).

If you are running ahead of me, you will probably already have discovered that nothing happens if you try to double click ffmpeg.exe. Perhaps more worrying is that something does appear to happen but then... nothing. Fear not, all is how it is supposed to be.

Stay with me...

FFmpeg is a command-line tool meaning it should only be 'invoked' (that's 'started') from the command line.

Ridiculously Easy Guide to the Command Line

From the 'Start' menu, choose 'All Programs' and then 'Accessories' and then 'Command Prompt'. You should now have a screen that looks like this...

The way to think about this screen is that it is 'sitting' in a specific location on your computer. Any commands you type into it will apply only to that location. This will become clear in a second.

You can tell which location it is in by looking at the text which says (in my case) C:\Documents and Settings\Alx. Yours will have your name at the end or the owner of the computer.

So the command prompt is 'sitting' in the C drive of your computer, within the Documents and Settings folder, and within (in my case) the Alx folder. Another word to describe this is your 'home' folder (or home directory).

Now go to this folder yourself using 'the GUI way'. Double click My Computer, double click the C drive, double click Documents and Settings, and then double click your name.

Looking within this folder you will see a folder for your Desktop and the 'real' location of your My Documents folder. Peek inside your My Documents folder to see all your files.

Now you are going to type your very first command line instruction, and officially become a true geek of propeller head proportions. If you do not wish to become a geek, do not do this step, and go off looking again for more shareware nightmares.

Using the command line, enter the word 'dir' without the single quotes where the cursor is flashing patiently. Then hit enter.

A bunch of text will now appear which should look something like this...

What you have just done is generated a text based list of everything in your home directory. You will see this is the same set of items as when you view the folder the 'other way'. In other words, your Desktop folder, My Documents folder are all there. There's also some additional info such as how much disk space you have remaining which in my case is a rather measly 301 megabytes. I really need to clear some files...

Now this is where things get fun...

You should now be looking at two very different views of your home directory - the command line way and the GUI way. Using the normal GUI way of doing things, move the ffmpeg.exe file which you downloaded, into your home folder. Your home directory should now look something like this...

If you're the adventurous type you may already have tried typing 'dir' into the command prompt to see if the ffmpeg.exe file has appeared there too. If not, do so now...

Now you might be thinking at this point that this is a lot of work. It is, but you'll only have to do this once.

Getting jiggy with FFmpeg at last

So a quick recap. By now you should have a copy of ffmpeg.exe sitting in your home folder. We've put it there because it makes using its command line interface much easier.

Now we are going to convert an FLV file to a WMV file.

Grab an FLV file from somewhere and put it in your home directory. Let's say the FLV file is called football.flv. Your home directory should look something like this...

To convert to WMV all you need to do is the following...

Using the command prompt type...

ffmpeg -i football.flv football.wmv

Note those are spaces between the ffmpeg and the -i, the -i and football.flv, and the football.flv and football.wmv.

The command line will kick into action, showing the progress of the conversion, and at the end you should have a WMV file in your home directory

That wasn't too hard was it?!

Translating into english, what you have just done is to say...

"Using a program called ffmpeg in the current location, take the input file football.flv (in the current location), and turn it into football.wmv (in the current location)."

Note that if we had not put everything into the home folder (the current location), the instruction would have been much more complicated. Note also that your filenames (input or output) should not have spaces in them - footballplayer.flv is fine, football player.flv is not.

If you wanted to convert an FLV file to AVI format you would simply type...

ffmpeg -i football.flv football.avi

To convert a MPG file to FLV you would type...

ffmpeg -i football.mpg football.flv

You may run into audio problems converting into FLV files if the source file is not one of three set audio sample rates. If you experience this problem include an extra command which specifies the output sample rate as follows...

ffmpeg -i football.mpg -ar 22050 football.flv

As far as command line programs go, ffmpeg couldn't be simpler. Just remember to always put your 'input' files into the home directory before trying to convert. The output files will also end up in your home directory.

One final note. You may find (as I did) that avi output failed to produce a file that Windows Media Player had the right codec for. In this case, the easiest thing is to stick with WMV. Pretty much anything that can open AVI can open WMV. FFmpeg can deal with codec conversion without drawing breath, but you will need to learn much more about the program and its commands. Pretty much anything is possible - you can change codecs, bitrates, size of video and all kinds of other stuff. Full FFmpeg documentation can be found here.

**UPDATED MAY 2008** - If you've liked this tutorial, you will probably be very interested in WorldTV.com, a service I've been working on for a (very) long time which has just recently launched. You can create your own full screen, high-definition capable, online TV channel using videos pulled from YouTube, Metacafe etc and even FLV files hosted on your own server. It's a playlisting service for FLV files basically that is designed to be super easy to use. You can search for clips to add to your channel and once added you can download the FLV files to your desktop by right-clicking on them. You can embed your channel in your own website and add your own FLV files to your channel - this is how you can get HD quality. For more on HD flash video see this other article of mine. The service is 100% free, as in beer, and I encourage you to check it out at the WorldTV homepage.

Mac Users

I'm a Mac user myself but I did not readily find pre-compiled Mac versions of FFmpeg. For the truly fearless you can compile your own using this tutorial here. If you know of a reliable source please let me know through the comment section and I will add it to the tutorial. Other helpful tips and comments are also welcome since they will assist others trying to find their way. TIA.

feed.pngIf you've enjoyed this post you can receive future musings, as I write them, via email. I post about once a week on average. More techy folk might prefer to subscribe to my RSS feed and I'd be delighted if you do. I'm rather more active on Twitter, have a few pictures up on Flickr, and I tend to keep track of people on LinkedIn and increasingly-less-so Facebook. My day job is running WorldTV.com - a site for doing cool things with online video. Merci.

Comments

Have you ever tried SUPER from eRightSoft?

It's freeware and works perfectly!

http://www.erightsoft.com/Superdc.html

FROM THE AUTHOR

No, but thanks for the heads up. The UI looks a little overkill for most people, but if it does what it says on the tin, it may be an option for people who are looking for a freeware GUI to FFmpeg. Anyone's experience with this software would be welcomed until such time as I can put it through its paces myself.

Thanks for a useful contribution.

i think this good software

I didn't really read much about super and I don't know if it provides commandline (for batch/backend) conversions. FFMPEG however does provide that option and here are a few links I gathered for that purpose:


http://luar.com.hk/blog/?p=670

(EDITED)

Great Post!

I FLV converter is my website, It provides all popular FLV converters including FLV encoder, decoder and player. all your comments are welcomed.

This is a very nice little piece of software. I'm not bothered by command-line jobs but you also explained it very well. It just took a couple of minutes to download and try my first run. It works very quickly and I successfully converted a 2mb flv file to mpeg, wmv and mov, each in just a few seconds. Thanks for making this available for free.

hi nice
I had the same problem same as you ive looked for days great guide =)

You, are seriously awesome. Such a great guide and so simple to follow. I feel so techish now. That will go away as soon as I interact with other technology...but for now, I'm savvy.
Thanks again!!

hey awesom program, but how do you covert from to 3gp format?

i convert mpeg to flv .but while playing flv in the flvPlayer i could not go to the specific position of the video using the player slider.

is this the problem of player or the problem of converting using ffmpeg

can anybody provide to the full code for converting mpeg to flv using ffmpeg

THIS IS REAL SOFTWARE!!!! i have been searching for such command line tool for a quite some time...its faster than geovid which costs 1500$...i actually need to put it on my web server and my application to convert from any video file to flv... from which formats to .flv i can convert???

mickyG i did the same thing for 5 times with different files and it is working just fine...its the payer that makes problems...try this http://www.martijndevisser.com/blog/article/flv-player-updated

works perfect

http://ffmpegx.com/ for the mac version (including GUI).

Quite buggy sometimes though...

Excellent. This is nice. Thank you computer god.

I would really like to thank you. This works amazing!

This is great! Thank you so much! ;)

If it's not too much to ask, could you also provide the instructions in converting nrg files to wmv?

Thanks a lot!

THANK YOU SO MUCH FOR THIS!

Moyea FLV to video Converter can do that more easily. get it at http://www.flash-video-mx.com/flv_to_video_web/

ED - This is a paid product ($39). I've not tried it. It appears to have some useful features such as watermarking and cropping. Anyone uses it, please add a comment.

great guide and so simple to follow
thaaaaaaaaaaaaaaaaaaaaaank u thaaaaaaaaaaaaank u thaaaaaaaaaax :) :)

Every time i try it says that th .flv file is corrupt. But i have tried several different websites that take .flv video from youtube and have tried different videos. What do i do now?

contact me at EDITED_BY_BLOG_AUTHOR@sbcglobal.net please

ED - It sounds to me like the FLV files are probably ok, especially if you have tried different sites that generate FLV files from YouTube. Most probably the player you are using is misreporting a problem that doesn't exist.

I have an easier ridiculous way to get to the command line. Google "powertoys XP" and download the command here powertoy. After you install it all you have to do is right click the folder you want the command window to open to, then choose "open command window here." Also, an easier way to get to the command window is to choose start-run-and type "cmd."

I've been looking for something like this all over the place! Thank you so much!

I really cannot thank you enough.I have tried a thousand things, nothing worked. Thanks to your simple method, I have made my daughter's day and she is now the proud owner of some of the most wanted music videos. Thanks again.

I downloaded Super off of the eright web page.

I then tried to use it to convert flv to mp4

It quit (failed to completely convert) on the first file, leaving behind a 48 mb partial conversion file.

Then it hung on the second file and endlessly ate up my disk space in chunks of 3mb at a time (as fast as I could hit the refresh button, that's how much disk space I was losing). The conversion file was over 640MB in toto (showing in super) but nearly 2 GB of disk space had been eaten up and was continuing when I cancelled the conversion. CLosed Super. Disk space continued to disappear in 3 to 4 MB chunks until I was down to my last 95 MB of space (on a 34 GB drive). Clearly something was still running even though I had shut the program down completely.

I then deleted both of the conversion files left behind by Super. I uninstalled Super. My free space returned to normal. However, AVG shows that even after uninstall, Super left behind modified versions of kernel32.dll, user32.dll, and ntoskrnl.exe.

Good, well-designed software doesn't modify or change important system files like that. It especially doesn't fail to restore the system to the way it was before it was installed after it's been uninstalled.

When I posted the problem to the eright Super forum the developer deleted the posting - TWICE.

It's one thing for software, especially freeware, not to work. It's quite another for the developer to try to hide that fact from unsuspecting users. Since he kept deleting the problem report off of his forum I can only conclude that that is what he is doing.

I recommend against Super or any other software from eright.

thanks!!! You really explained it well that's why it was easy to follow. I've had the same problem before regarding shareware and freeware converters. But now I can convert my files! thanks again!

Thank you so much for this! After searching the net for along time for a free FLV converter, you have saved the day!

Much thanks, now I can convert my Youtube .flv to .mov

hi you are a wonderfull person

i am really exited it worked so cool

thanks a million

i followed everything exactly, when i type in everything i get an error, says input is corrupt and/or truncated.

:( i taught i finally found a converter for free that worked

ED - Sounds like you have a problem with your source video file. As the many comments above show... the system does work!

This is cool. Is like running the matrix! I love this thing

I have been sitting at this computer for hours trying to download a video that I love off Youtube. I'm almost ready to give up, as I am not the most technological person in the world. All I want is to be able to download videos off Youtube and watch them on my Ipod video. Could you please help me?????

ED - You could try keepvid.com

If you get the error "input is corrupt and/or truncated" its seems to be because the file does not have an extension eg - dog instead of dog.flv so rename the file with an extension - rename dog to dog.flv if it is an flv file etc - works with youtube vids which dont seem to have the extension attatched

It didn't work for me. It installed fine but when I converted a flv it made a 0kb file that nothing could open. Please help!!

Thank you so much! You saved me many fruitless hours of searching for a converter, and your instructions are clear and quite easy to understand.

Hi,

Thanks for putting this up.Makes me feel like a real pseudo techno geek!! :)
However, my problem is when it's trying to come up with and output - I get this message:

Unable for find a suitable output format for 'i'.

This is after the files have been renamed to flv etc. Everything is sweet up until this point.
Any recommendations would be great.

Hello --

Thanks for the site and info, it is pretty cool and not as hard as it first seems.

My one question/problem is that no matter what I seem to do no flv files convert with any audio/sound - the video comes through but no audio. So just wondering if anyone else has this problem and if there is something I should try.

Thanks!

ED - Please see my note about this above near the bottom of the article

this is the most cool command line shit i have ever come across... VERY GOOD JOB MAN.. 10/10 for you.

I also found that another reason one could be getting the "input is corrupt and/or truncated." error message is that you may have spaces or punctuation in the source file name...rename the source & destination file a single word like in the "football.flv/football.wmv" example given and it works beautifully

Hey, Being not computer savvy, I had a little trouble installing this, but did get it installed. But when I try to an flv file to wmv, I get an I/O error saying "The file is truncted and/or corrupted. Every file I try says that. Does anyone know what I could do to solve this? Thanks

Excellent guide, well done....worked perfectly the first time.....
Q

Sorry Alx, I hadn't read all the comments and repeated something someone had already mentioned. I have since then read them all, and my problem is fixed. It worked GREAT to convert flv to wmv!! That's sweet! Now, how do you convert flv to mpeg-4 to play on an iPod? I got mpeg, but seems I need mpeg-4. Thanks much! Nice program.

Hi, not sure if anyone will reply to this but I have given it a go and at the end the file conveted cannot be read by WMPlayer. So I tried converting to AVi and only the sound will be heard.
Any suggestions would be most welcome..

As a note, the .FLV files do work in the correct player. Names of files are in Japanese text. As I cannot type Japanese into the command line interface I just copied them there instead. All seemed to work fine until the above mentioned.

Never mind previous post please :-)
I decided to give it another go and downloaded the megpack instead of the latest version and the mpegpack worked just fine.

Just a side note, in some of my file conversions I recieved the message error "input is corrupt and/or truncated".
What I found is to remove all ( ! : \ marks in the file name and perhaps shorten the file name. Not sure if shortening the name made a difference but it did solve this issue. :-D

I've posted this a few days ago, but it hasn't shown up yet.

There are two great, very simple programs you should look at.

One is called Vdownloader

http://www.vdownloader.es/


and the other is called Winff.

http://biggmatt.com/home/

They both are front ends for the ffmpeg.exe converter, except that Vdownloader downloads the file and converts it. You already need the file for Winff, but it also will convert almost any format to any other format.

yeah this little piece of software saves the day of hours and hours of searching the net for good flv converter thanks

Superb ... does what it says on the tin ... TVM

hi man iread youur article it very nice
but you dont explain how to make this process on linux server .

Thanks and in Turkish "Eyvallah gozum"...

Great site! Thanks a lot for this advice!

Gah, you're a lifesaver! I've been trying to convert two FLV's of a short film and interview featuring my favorite actress, but they were wrapped around in some kind of proprietary wrapper that prevented me from extracting them my usual way (with CinemaForge). I tried 13 programs, but they either didn't encode the video right, screwed up the audio, or just didn't work without an ugly watermark. This worked perfectly, and now these files can go on my iPod :)! Thank you!

Thankfully I clicked on the link from google to your site after I saw 'tearing your hair out'. I wasn't going to bother reading your instructions, but after a few lines found that your explanation was precise and lucid. Thank you for offering such effective and efficient software and instructions for no cost. Much appreciated! (You should put up a donation/paypal link: I'd donate.)

Nice little application, easy to use, and it works great. Your instructions are top-notch, welldone!

Wow! Usually when i get programs this small they end up rubbish, but this one is just so good. Im only on dial up :( coz i cant get broad band and all the other programs that work are too big to download. Once i figured out how it worked converting videos was a breeze. Now I can download videos from youtube and stuff and put them on dvds and stuff coz i always wanted to do that. Thanks a lot for the great program!!!!!!!!!!

I tired of being browsing the net to find the flv converter untill I find this site.
I follow te guideline and I'm very thxfull to you bro.

First time I try, I have problem with the ffmpeg. My file which try to convert is "A for Allah.flv". the message is I/O error occured.

Then I rename the source file to "Allah.flv" then I do the procedure. And Its Work.

I suggest if you find the problem try to rename the source file that consist only a word.

Happy convert your flv file...

ALX - Good tip. I'll work this into the article. Thanks.

u rock man !! \m/ i was looking for flv converters for quite while now thx a lot by the i was just wondering how did u get to know this?

M. Robert Aryana said:

"I tired of being browsing the net to find the flv converter untill I find this site.
I follow te guideline and I'm very thxfull to you bro.

First time I try, I have problem with the ffmpeg. My file which try to convert is "A for Allah.flv". the message is I/O error occured.

Then I rename the source file to "Allah.flv" then I do the procedure. And Its Work.

I suggest if you find the problem try to rename the source file that consist only a word.

Happy convert your flv file..."

If I'm not mistaken [I'm using win me], you could use /x syntax on the dir command [on windows xp] on your command prompt, so it would typed like this "dir /x", but if you're using older windows such as win me or 98, you could try "diw /w" then type it's filename. Usually the filename only appear in 6 character, in example "diggy doggy do.flv" will be "diggyd~1.flv"
OR
If the above won't work too, try using a quote character {"}, so it will be like this
ffmpeg -i "diggy doggy do.flv" diggy.wmv

I hope this will help
May the force be with you... =P

Thank you so much for writing this! I was able to convert some videos taken on a recent trip with some friends, and this will also help other friends!

THANK YOU!

Wow. I have searched forever for a good converter. Thank you. I love you.

Hey there... I've done all the stuff you said, having tried everything else I've found, but I keep having trouble with file types. It's as if it doesn't recognise flv...

"C:\Documents and Settings\Todd Davidson>ffmpeg -i monster1.flv monster1.avi
FFmpeg version SVN-r7760, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-gpl --cpu=i686 --enable-swscal
er --enable-pthreads --enable-avisynth --enable-mp3lame --enable-xvid --enable-x
264 --enable-libnut --enable-libogg --enable-vorbis --enable-libtheora --enable-
faad --enable-faac --enable-libgsm --enable-dts --enable-a52 --enable-amr_nb --e
nable-amr_wb
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 29 2007 19:58:47, gcc: 3.4.6
monster1.flv: Unknown format

Please don't hesitate to get in touch by email, this problem is really annoying me.

ALX - It is not recognizing the FLV file you have for some reason. Have you tried any other FLV files besides monster1? It may be that the one you are using is somehow corrupted. If you try 3 or 4 others (make sure they are from different places) then let me know. Nobody else has reported a problem like this.

Wow, so much easier than i thought! My only problem comes when I try to burn the clips to DVD. It won't let me burn .wmv or .avi files. any suggestions?

ALX - Creating DVD's from AVI files is a complex subject and there are many tutorials on the net providing a range of different solutions. I've had success using a program called DivXToDVD from a company called VSO. They also make a program called CopyToDVD which is very good and easy to use.

that is the simplest command i've seen. And people are selling it for $30 to $50!!! Thanks man! You are the best!!!

Error message every time..."could not find video grab device." I have VLC player, WMP and RealPlayer installed. The program creates a 0 byte file as has been noted by many above,,,tried numerous files, renamed with .flv file extension, changed to single word file, etc. with the same results. Any ideas?

ALX - The video grab device message is likely the heart of the problem you are experiencing. I've not seen this message before and it doesn't ring right somehow. It should not be trying to find a video grab device (eg a video input board). Do let us know if you solve the problem, in case anyone else has it.

this is really usefull, i missed that -ar 22050 so the flv cannot be played.

thank you

Great post - i've been struggling horribly with mencoder for converting to flv, and ffmpeg just works. Fantastic, thanks!

BTW, i'm deploying to a unix server very soon - is there anything i need to watch out for when using ffmpeg in unix rather than windows? Is there a unix version?

thanks again

ALX - Pre-compiled versions of FFMPEG are hard to find, hence the one I've provided here for Windows. FFMPEG can be compiled into *nix, you may have luck with this article. Good luck!

That's a great intro to ffmpeg. I came here from Google, looking up the right syntax. :-)

For Mac, you can find A LOT of open source, ready to compile from source automatically (the way Gentoo Linux and the BSD Unix projects do it) using the MacPorts project.

Installing ffmpeg on my Mac with MacPorts was easy:

sudo port install ffmpeg

This downloaded the latest ffmpeg source and compiled it and installed it so I don't have to enter the command in a specific directory. It's added to the shell PATH and all. Even the Unix man pages are installed.

20 minutes after entering that command, I was ready to convert my videos.

Seriously, if it is open source and command-line based, MacPorts more than probably has it already to go for installation on your Mac. www.macports.org

ALX - Great info thanks for the contribution

i downloaded your "ridiculously easy to use" pack and thank you so much. it IS ridiculously easy to use!

I thought it might be useful to add an example of a bat file for the purpose of converting several files in a row without typing command line each time.

1. Create a folder on your c drive named "FlashVideos"

2. Create a new text document in your new "FlashVideos" folder and name it what you wish (example "Convert.txt").

3. As an example imagine you have three files in your FlashVideos folder name "File 1.flv", File 2.flv", "File 3.flv" Enter the following into the text file:
cd\
cd\FlashVideos\
ffMpeg -i "File 1.flv" "File 1.wmv"
ffMpeg -i "File 2.flv" "File 2.wmv"
ffMpeg -i "File 3.flv" "File 3.wmv"
pause

4. Save the file as "Convert.bat"

Make sure you have ffmpeg.exe, Convert.bat and all flash video files in the c:\FlashVideos folder.

5. Double-click the Convert.bat file and all files should be converted.

This method will simply speed up the process a bit so you don't have to run the command line process over and over again.

Note - In order to alter the bat file you will need to right-click the file and choose edit.

I have written a small application that will eliminate the command line interface. There is no UI, this is simply a command application. .Net 2.0 is a pre-requisite.

You simply need to place an exe file and a configuration file in the same folder as ffmpeg.exe and the source files.

In the configuration file you can set the source file types, destination file types, and switches.

Then double-click my exe file and all files of type source will be converted into files of type destination.

Sample configuration file (with default values):
key="sourceFileExtension" value="flv"
key="destinationFileExtension" value="wmv"
//Separate switches with a comma. Example value="-i,-u"
key="switch" value="-i"

I would be happy to provide this application to you Alx if you would like to take a look. You are free to do with it what you wish.

ALX - Thanks for this!

Success at last! Thank you! I knew there had to be a simple answer somewhere. I think most converter programs assume you want to convert copyrighted material or other such stuff and that's why they put so many restrictions in or charge so much. I just needed to get MY OWN videos off of photobucket (.flv files) and back onto my hard drive after I had a crash! Now I can make a DVD of my baby's first half-year! (how's that for an emotion-inducing testamonial? Well it's true!)

Im getting the same problem of
Could not find video grab device...
Any Ideas yet?

ALX - Has anyone found a solution to this? I've not been able to replicate it

Love it.
I was getting poor output files.
Discovered the option -sameq before the output file name does the trick.

Great tutorial. This is just what ive been looking for and it is REALLY easy

First off,thanks for posting this great guide.It is a rarity to find someone on the net whom actually wants to help others without filling his/her own pockets,(currency wise,lol) but I am having issues with the software.I have done all that is stated in the tutoral,entering the exampled ffmpeg -i football.flv football.wmv (replacing "football" with my file name) and it states 'ffmpeg is not recognised as an internal or external command,operable program or batch file.Please help. Thanks

Help! It all worked great until I got to the point where I burnt my converted .wmv files to a DVD using Roxio. The DVD quality was terrible, very pixilated. Can someone please suggest something to bring better results?? Would converting to a different format (maybe avi) be better for DVD quality? I read the earlier note about problems with WMPlayer and avi but I'm note concerned with WMP, only burning good DVD's.
thanks much!

I followed your instructions(4 times)and all went well until I entered the command prompt to begin conversion and received the following"ffmpeg is not recognised as an internal or external command,operable program or batch file"
I am using Windows XP

This was working brilliantly up until the other day, now I seem to be having the same problem as mkh & Chris listed above. When I start the conversion I get this message "ffmpeg is not recognised as an internal or external command,operable program or batch file". Does anyone know how to fix this? Please help. Thanks

ALX - Hi Mike. Thanks for this as it confirms that there is indeed a 'developed' problem. I'm thinking that a Windows update or something similar has broken the program. Weird but possible. Any info you could give on what might have changed on your system in the last few days would be helpful. Please also confirm which operating system you are using and any programs you've installed in recent days. Anyone for whom it's still working.. if you could weigh in that would be great. TIA.

I had the same problem as Chris mkh and Jimmy when I downloaded the newest versions. In the end I deleted them and downloaded your 'Easy pack' instead...and it started to convert. But it keeps saying "unable to find a suitable output format for..." Is it because I'm trying to convert to mpeg4?

ALX - Hi Carrie. Thanks for your comments. It may well be that the other people were not using the easy pack, although it would be great if some other people could add weight to this notion. I'm unfortunately not able to test it at the moment as I'm confined to Mac only, but you may find help at http://ffmpeg.mplayerhq.hu/ffmpeg-doc.html - This is the documentation for ffmpeg. One command you can enter is "ffmpeg -formats" without the quotes. This should give you a list of which formats are supported.

Thanks for sharing
Alx Klive for President!

Just wanted to THANK YOU! for FFMPEG... It works just fine. I converted a couple of my MPEG's to FLV. The MPEG's were around 48MB and the FLV's were only about 8MB. Oh! And the price was right $0.00. Thanks so much!

This is amazing A++

get the UnPlug extension for firefox to get the .flv and then convert =)

It was wonderful. I have been able to convert to wmv, mpg, and even dvd. thanks a lot.

I found your instructions very easy to follow thanks, I did everything you said & everything seemed to be going fine until the end when I got the message:

"Unable to locate component - application failed to start because pthreadGC2.dll was not found. Re-installing the application may fix this problem".

I havent done anything else yet. I have windows xp professional with service pack 2.
Suggestions?

ALX - You're the first to mention this error. I did a quick search but could not find any answers. Sorry, but it sounds like something that might be quite unique to your system. If anyone else comes across this or has any ideas, please let Vickie know through these comments. Thanks.

very nice, works on almost everything I have tried it on. You Deserve a Big Gold Star!

I love love love this program! But whenever I convert things it always comes out a little pixelated. I've played around with the commands to try and fix this but nothing ever seems to work. Is there a specific command I could use to get a better quality in the videos?

Okay, in the time I posted my last and now (about five minutes later) I not only tried the ffmpeg program out, but got it converted -- all in the span of mere minutes (well, about 2). Worked great -- the video is perfect.

Using XP, with all service packs, and downloaded your easy zip file containing ffmpeg and the text instructions.

BTW, that "pthreadGC2.dll" not found is most likely due to specifying a codec not supported or installed (H264 is most likely). I'd suggest most folks convert to WMV just because it's safest -- you can always convert to another format from this one.

For the people with the "not recognized" problem that's most likely due to their environment variable settings altered by some application they installed. Check the environment for this (My computer/Advanced?environmental variables).

What else? Um, don't use Roxy (bg) but the quality is most likely due to the source. Convert to WMV and then use a good upsampling MPEG program (Adobe Premier is best but $$$) to create a good quality MPEG for burning.

(I'm a computer/video expert who made DVDs for a living so I have expertise in video conversion/burning/etc).

Anyway, thanks as I can now put the Flash video conversion thing behind me (the last piece of the puzzle -- was not looking forward to dealing with Flash :>)

jace riggs wrote:
The program creates a 0 byte file as has been noted by many above,,,tried numerous files, renamed with .flv file extension, changed to single word file, etc. with the same results. Any ideas?

Hi I had the same problem. the cause was putting the FLV extension onto a non flash video file. Contrary to popular beleif, YouTube and others do not exclusively host FLV content. Rename the file to .AVI, or .WMV, or .MOV, etc, or what it actually is and try again.

If you don't know what kind of file it was, dotwhat.net could possibly help you.


Russell

now i have downloaded this converter and i cant seem to find the file ffmpeg as i put it where irs meant to go and it does not show in the command promt, when i type in the code `ffmpeg football(as i have called it).flv football.mwv` it does not woprk and says something along the lines of `ffmpeg is not recognised as a internal or external command` so plz tell me how to fix this error.

You sir, are my savior. Thank you so much! I spent six hours today bumbling around freeware, so you have no idea how relieved I was when I came across your exceedingly helpful how-to.

Thanks again,
T.S.

Error "ffmpeg is not recognised as an internal or external command,operable program or batch file" means that windows cant find file ffmpeg.exe in the known location to execute it.

Be sure that you have followed the instructions above carefully as they do work and are quite simple.

There are 2 other solutions...

1. Copy ffmpeg.exe to the folder described in your PATH variable, for example c:/windows/system32 folder.
2. Add folder where you install ffmpeg to the PATH env variable.

Dude, you rock! FFMPEG is great! Actually the one I downloaded from the zip file gave a message during compiling that the codec libary crashed. It produced a wmv that had
audio fail after about 80% of it being played. The one from the latest link (in the tar file) works beautifuly thought. And
working at the command line is no problem for me ... I'm Old!

command line is always the most direct and effective way. Save time and save money... thank you

To hell with GUI.

This way's alot better.

WOW, I'm officialy a geek! Thanks dude, I really appreciate this. I had a few hucups
but they were mostly my fault. To any sceptics, this works. I'm glad. All you need is good observation, & patience.
Thank you again. This is great!

duuuuuude, i tried everything you told me to do, and it worked out fine... until it said that it "could not find codec parameters." can someone help me with that, please?

Thanks a lot for this, you just saved a Y10 lesson on persuasive techniques for me!

WOW! Thanks dude, I really appreciate this.
It is very much usefull for me, I Example that you explain in article working very good. It save my lot's of Time.

You have done a great work.


Thank You,

Thank you so much for the instructions! I am not particularly computer savvy but this was easy to follow. I have tried so many conversion programs but they didn't work or I would have to pay. Thank you!!!

Much appreciated Alx!
Been messing around for weeks unsuccessfully trying various flv converters. This method did the biz no problem. :^)

Could annyone HELP me to find a decent, free, flv dowloader?

This program works just GREAT, but, unfortunately my flv downloader is not functioning anny more

thank you in advance

The WorldTV platform (this website) allows you to download FLV files from a personal collection that you create - set up a channel on WorldTV, add some clips (eg by URL) and then right click on a thumbnail of a video to get the option to download it. This is a Beta feature so user beware, but is a useful hidden gem of a feature.

Thanks a billion and i have some hair left after pulling it all out searching through the free sharware crap.

jj

Interesting and useful article, thanks.

To reiterate what has already been said, thanks so much for putting up this helpline - I now (at least partially) understand some of the techno babble about command lines on some websites I've come across. My one query is I get how to use "-sameq" which is brilliant, but the file size is just a tad too big for what I want. I came across "-fs limit_size" but I'm not sure how to use it correctly. For instance, doing a simple conversion of a 104Mb flv file to avi, the avi = 43Mb. Using "-sameq" it comes out as 193Mb and I really want it 100Mb (so the quality is better than the 43Mb conversion but the file size is smaller than the 193Mb conv.) Can someone help?

thanks, Alx!

Thank you so much! I'd been racking my brains trying to figure this program out!! Cheers =)

Awesome, great tutorial. Thank you!

One question. I've converted an FLV to WMV using the -sameq command, and the audio is slow/lagging. Would this be because of the -sameq command? Is there another way I can convert my FLV so I have the same quality and good audio? I intend to make a DVD, so I really need good quality sound and picture.

Any help would be appreciated!

ALX - Am not familiar with that command. Some quality loss is inevitable with any conversion between formats though.

Works perfectly, for a white bearded computer user who began with DOS, 4DRDOS and UNIX it's a breeze. For the others, it's just a bit of mental work. Surely it's possible to make a direct command line and even a batch. I'll see if I have time.

A small tip: it's easier to prepare quietly the command line with notepad, specially when the names of files are complicated or you're using a lot of options; copy the finished command on notepad and paste it in the C: invite box.

The doc is a simple html page easy to copy inside the folder so you have it at hand.

I almost forgot: MANY THANKS!!!!!
The tip of the the Google "powertoys XP" is excellent use it.

thanks a bunch!!! I appreciate, it's sooo easy!

I kind of *heart* you right now. You don't understand how long I've been searching for a free FLV converter, and how many bogus 'free' converters I've DL'd, installed and then had to uninstall.

Your directions were super simple and easy, and even if you knew nothing about computers at all, you could still get it right.

Thanks so much for putting this up!
Cheers,
LilMiz

good stuffs.. I been using ffmpeg quite sometime now thanks to you.. :D though it is just a command line but it is simple yet powerful...

I used ffmpeg an found the video quality after I converted to wmv from flv is not as good as the flv quality also the sound was not aligned correctly with the video.

Any ideas why this would be?

ALX - Some loss of quality is inevitable with any video conversion. Not sure about the audio sync issue but it's not uncommon for this to happen when playing around with video.

I am looking for a Java API to convert MPEG, MOV and other video sources to FLV format ; does anyone know how to do this conversion using Java? thank you!

My website is DVD-Creators.net. It provide wide solution for Video Converter including flv Converter.

Dude! I love this program. Been using it for the past couple days converting everything to pretty much everything else, messing around in movie maker, putting stuff on my ipod. Definitely a keeper.

I did every thing you said. Ikeep on getting the same message over and over.

unable to find a suitable output format for 'i'

If you could help me out I'd really appreciate it.