Friday, June 20th, 2008 11:00 PM
This will convert a flv file to a avi file. I got this off linux.com. It uses mencoder - so make sure you have that.
#!/bin/sh
if [ -z "$1" ]; then
echo "Usage: $0 {-divx|-xvid} list_of_flv_files"
exit 1
fi
# video encoding bit rate
V_BITRATE=1000
while [ "$1" ]; do
case "$1" in
-divx)
MENC_OPTS="-ovc lavc -lavcopts \
vcodec=mpeg4:vbitrate=$V_BITRATE:mbd=2:v4mv:autoaspect"
;;
-xvid)
MENC_OPTS="-ovc xvid -xvidencopts bitrate=$V_BITRATE:autoaspect"
;;
*)
if file "$1" | grep -q "Macromedia Flash Video"; then
mencoder "$1" $MENC_OPTS -vf pp=lb -oac mp3lame \
-lameopts fast:preset=standard -o \
"`basename $1 .flv`.avi"
else
echo "$1 is not Flash Video. Skipping"
fi
;;
esac
shift
done
No Comments »
Saturday, June 14th, 2008 09:19 PM
Play the video in full screen using mplayer.
mplayer -zoom -x 1024 -y 768 -fs -framedrop FILE
No Comments »
Tuesday, January 1st, 2008 10:55 PM
Rip a DVD to an AVI file using mencoder
mencoder dvd://1 -dvd-device /mnt/Image/ -ovc xvid -xvidencopts pass=1 -alang en -oac mp3lame -o /dev/null
No Comments »
Friday, November 23rd, 2007 11:13 AM
Converting a Video file
mencoder -ovc xvid -oac mp3lame -xvidencopts bitrate=878 -o destination.avi source.avi
Original Article
No Comments »
Friday, September 7th, 2007 10:38 PM
Convert FLV file to MPEG using ffmpeg
ffmpeg -i myFile.flv -ab 56 -ar 22050 -b 500 -s 320x240 myFile.mpg
1 Comment »
Wednesday, August 29th, 2007 10:31 PM
Convent video using mencoder in linux…
mencoder input.mpg -o output.avi -oac mp3lame -lameopts abr:br=56 -srate 22050 -ovc lavc
http://www.mplayerhq.hu/DOCS/HTML/en/mencoder.html
http://gentoo-wiki.com/HOWTO_Mencoder_Introduction_Guide
[tags]video,convert,mencoder,encode,format[/tags]
No Comments »
Wednesday, May 9th, 2007 11:15 PM
Win32Codecs is a collection of important codes to play videos in linux
Download
http://www.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
Extract into /usr/lib/codecs/
[tags]codecs,video,linux,install[/tags]
No Comments »