Encoding FLV with Mencoder, Windows Version
As the title had explained, this article is about encoding a video file into FLV using Mencoder, a free video encoder.
Mencoder is an video encoding software released with Mplayer, a video player.
You can find out more about Mplayer at http://www.mplayerhq.hu/
- Download the latest release of Mplayer for Windows at http://www.mplayerhq.hu/design7/dload.html
- Unzip the zip file that you have just downloaded, and you will find an executable file, mencoder.exe
- Save convertflv.txt as convertflv.bat in the Mplayer folder that you just unzipped.
Since it is an CLI (Command Line Interface) software, you have to use command prompt to use it.
Or you could just create a windows batch file.
I will not going into how to create windows batch file, but you can learn more about it at http://www.allenware.com/icsw/icswidx.htm
To encode a file:
- Open convertflv.bat as text file, with notepad or wordpad
- Edit the set input="input.avi" to set input="[your video filename]"
- Save the file
- Run it.
A command prompt showing the progress should appear.
After the command prompt disappear, an FLV-encoded version of the input video file, output.flv, will be created.
You can use this encoded file with any flv player or like me, upload to wordpress and using wordtube plugin to share the video with your wordpress visitors.
