AVI to MPG translation
Styma, Robert E (Robert)
stymar at lucent.com
Mon Mar 20 21:57:21 UTC 2006
>
> Hello, list.
>
> Can someone point me to a good (preferably x-based) avi to mpeg
> converter? Ideally, it would let me convert both ways, and also add a
> few gimmicks, like compression ratio, etc.
>
> Any hints will be appreciated.
>
I use the shell script avi2mpg which contains:
################ begin #########################
usage="usage: avi2mpg <avi_path>"
if [ $# = 0 ]
then
/bin/echo 1>&2 "$usage"
exit 1
fi
base=`echo "$1" | sed -e 's/\.avi$//' -e 's/\.AVI$//'`
mencoder -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o "$base.mpg" "$1"
############## end ###############################
It uses the command mencoder which is part of the
mplayer-mencoder package from livna
mplayer-mencoder-1.0-0.lvn.0.33.pre7try2.4
Bob Styma
More information about the fedora-list
mailing list