Log in

View Full Version : What is wrong with XviD?


The_Wretched
16th September 2009, 01:11
Have any of you noticed anything weird about the xvid encoder lately? I have used it with both the command line, via mencoder, and with avidemux, and in both cases i keep getting pink squares that appear here and there.

I encode everything to h264 by hand/script. I recently bought my daughter a nice portable DVD player that plays Divx, so i have to transcode a copy of some movies for her. When transcoding to xvid, i get really bad pink artifacts, and really bad synch.

My x264 script (what is originally used on vobs) is:
mencoder 1.2.mkv \
-vf scale=720:448,dsize=1.6 \
-aspect 1.6 \
-force-avi-aspect 1.6 \
-ofps 20 \
-passlogfile log.log \
-oac faac -faacopts br=128 \
-ovc x264 -x264encopts \
partitions=all:8x8dct:weight_b:bitrate=2200:subq=6:me=umh:frameref=3:bframes=1:trellis=2:turbo=1:pass=1 \
-o /dev/null ;

mencoder 1.2.mkv \
-vf scale=720:448,dsize=1.6 \
-aspect 1.6 \
-force-avi-aspect 1.6 \
-ofps 20 \
-passlogfile log.log \
-oac faac -faacopts br=128 \
-ovc x264 -x264encopts \
partitions=all:8x8dct:weight_b:bitrate=2200:subq=6:me=umh:frameref=3:bframes=1:trellis=2:pass=2 \
-o Word.avi ;

rm log.log;



My Xvid script is:

mencoder *.vob \
-vf \
-ofps 25 \
-aspect 1.78 \
-ffourcc DIVX \
-passlogfile log.log \
-oac mp3lame -lameopts cbr:br=128 \
-ovc xvid -xvidencopts bitrate=2200:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg:max_bframes=1:aspect=1.78:profile=dxnhtpal:pass=1 \
-o /dev/null ;

mencoder *.vob \
-vf \
-ofps 25 \
-aspect 1.78 \
-ffourcc DIVX \
-passlogfile log.log \
-oac mp3lame -lameopts cbr:br=128 \
-ovc xvid -xvidencopts bitrate=2200:chroma_opt:vhq=4:bvhq=1:quant_type=mpeg:max_bframes=1:aspect=1.78:profile=dxnhtpal:pass=2 \
-o "Video.avi" ;

CWR03
16th September 2009, 02:35
The issue is likely with the source file.

henryho_hk
16th September 2009, 09:49
Maybe you can upload a small XviD sample somewhere and post the link here?

And why does your x264 script take MKV file as source and AVI as output?