convertFLV
History
What is convertFLV? It’s really a project of convenience for me. I upload a lot of videos to my family’s online gallery. FLV is a great format to share video since it loads a lot faster than a giant AVI would. I was tired of using windows shareware programs that trashed my PC just to convert the AVIs that I captured with my camera. So I started googling for a way to do it on Ubuntu. I found ffmpeg did it very easily from the command line. Next I needed a way to do hundreds at a time. This was the birth of convertFLV. As I’ve used my little script, I’ve tweaked it here and there to make it better. Eventually, it came to a state where I thought it was safe and stable, so I decided to give back and try to help others as I had been helped. So, I give you convertFLV.
Notes:
I assume a lot. I assume that you have ffmpeg and the requirements for converting FLV installed. I assume you know how to read a bash script and can tweak things to your needs. You can easily change the quality. If you don’t know how, try googling for qscale and ffmpeg.
How do I use it?
It’s actually really simple to use. Create a directory (I call mine avi and put it i my homedir). Drop convertFLV and your AVI files into this directory. Run ./convertFLV.sh and your are off to the races.
Change log
Build 2.0
- Cleaned up the script a lot. I removed any old comments that weren’t relevant and also deleted the old versions of the convert string that I didn’t use anymore.
- Added the file renaming in. I made a decision not to remove the AVI file when the script completes. This can easily be added if you want it to remove the source AVIs. I didn’t want to add it in because there could always be an encoding blip and you might need the source AVI again.
- Created this page to share with the world!
Builds 0 -1.9
- Created script
- Added the “for” statement to do multiple items in a directory
- Implemented qscale to improve quality
DOWNLOAD