the following script was taken from here http://blog.mypapit.net/2007/04/ffmp...r-scripts.html but got taken offline and copyright is to another page which is offline (but nevertheless it was copied and modified and posted on another website (http://knightlust.blogspot.com/2008/05/flv-to-3gp.html )
Anyway initially the main line was not converting videos but giving aac coder error.. some googling led me to:
http://ubuntuforums.org/showthread.php?t=988366 (thanks unbuntuforum'ers)
Now the main line works but the script still does not work..
The script is:
And the output is:Code:#!/bin/bash echo "fakap mp3-to-flv converter http://blog.fakap.net/mp3toflv/" echo "Copyright (c) mypapit 2007" echo "" if (($# ==0)) then echo "Usage: flvto3gp [flv files] ..." exit fi echo $# while (($# !=0 )) do echo "$1" ffmpeg -i $1 -s 176x144 -vcodec h263 -r 28 -b 96k -ab 64 -acodec libfaac -ac 1 -ar 44100 $1.3gp shift done echo "Finished fakaping with flv-to-3gp converter" echo "\"fakap all those nonsense!\"" echo ""
fakap mp3-to-flv converter http://blog.fakap.net/mp3toflv/
Copyright (c) mypapit 2007
flvto3gp.sh: 9: 22: not found
22
flvto3gp.sh: 17: 22: not found
Finished fakaping with flv-to-3gp converter
"fakap all those nonsense!
Bookmarks