RE: AVI to MPG translation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux