Encoding Difficult Files with Mencoder
Some video files are difficult to transcode such as from VC1 to MPEG4, not because of the video codecs but because the file contains a poorly standardized codec like OGG Vorbis. This document gives some tips on how to make the transcoded files.
Below is a script one can use to do the encoding. Put the text below into a batch file on Windows XP and drop the difficult video file on it. It will scale the video so that the maximum width is 720.

--------------------------------------------------


INPUT=$1
OUTPUT=$2
 
mplayer "$INPUT" -ao pcm:fast:file=audio.wav -vc null -vo null
mencoder "$INPUT" \
    -ffourcc divx \
    -ovc lavc -lavcopts vcodec=mpeg4:vhq:vbitrate=1300 \
    -audiofile audio.wav \
    -oac mp3lame -lameopts vbr=3 \
    -slang eng \
    -sws 2 -vf scale=720:-3 \
    -o "$OUTPUT"
 
rm -f audio.wav

Media Lab Overview
LIACS Homepage
MM Conf
ACM Multimedia
ACM ICMR
IAPR ICPR
Science Direct
IEEE Library
LIACS Publications
ACM Digital Library