Saturday, May 13, 2006

Script for converting FLV to AVI, MPG, etc

I found some information at Convert Google Video FLV’s into AVI, MPG, etc…in LINUX on converting videos from flv to other formats. So I decided to automate the process a little so I wouldn't have to type in the command constantly. My script accepts two parameters separated by a white space character: the video you wish to convert & the destination file. Here's my code
#!/bin/sh
ffmpeg -i $1 -ab 56 -ar 22050 -b 500 -s 320x240 $2

1 comment:

kmcheng said...

Rashad:

First, I am a Christian.
I see this blog address from google video. I see that you got some Dr. Hovind's creation videos.
I myself also got the whole 7 creation series in DVD and DivX, and want to upload them. But, I can see both youtube.com and goodle video got them, so don't bother.
I am thinking, is there any way we can be some sort of partner for these videos? We and some people in church are giving out these videos through BT, and the first video in DivX CD for free. The point is, I would like to spread these video as wide as possible by whatever way ( also as low cost as possible of course).
Let me know what you think. My email is chengkm2k@yahoo.com
Thanks!

Kinman Cheng