Video Formats

converting

Links

mencoder basics

    mencoder input_filename.mpg
        -ovc codec for video output
        -oac codec for audio output
        -o output_filename.avi

    mencoder infile.avi
        -ovc lavc
        -oac lavc
        -o outfile.avi 

wmv (or wmx) -> avi

mencoder infile.wmv -ofps 23.976 -ovc lavc -oac copy -o outfile.avi

wmv (or wmx) -> xvid

    mencoder infile.wmx
        -ofps 23.976
        -ovc xvid
        -oac mp3lame
        -xvidencopts pass=2:bitrate=250
        -o outfile.avi
or
    mencoder infile.wmx
        -ofps 23.976
        -ovc xvid
        -oac mp3lame
        -xvidencopts pass=1
        -o outfile.avi