[GEM-dev] xvid with gem

patrick puredata at 11h11.com
Fri Dec 7 05:22:10 CET 2007


hi,

after testing many codecs under linux, i found the one i would like to 
work with it. sadly, XVID is not fully working with gem. using any video 
player it will work fine (under 7% of my cpu for a 640x480 29.97 fps - 
mplayer, ffplay, vlc). in gem the cpu usage is over 77% and the video is 
very slow. i tried to encode with transcode, mencoder and ffmpeg, same 
result.

i read about this codec and this is what i found:

Xvid <http://www.xvid.org> is a free software MPEG-4 ASP compliant video 
codec, which features two pass encoding and full MPEG-4 ASP support, 
making it a lot more efficient than the well-known DivX codec. It yields 
very good video quality and good performance due to CPU optimizations 
for most modern processors.

Note that Xvid is not necessary to decode Xvid-encoded video. 
|libavcodec| is used by default as it offers better speed.


when playing in mplayer, this is what i get:

Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)


you can test with 2 differents XVID encoding:
http://www.workinprogress.ca/pd/gem/xvid.avi
http://www.workinprogress.ca/pd/gem/xvidmencoder.avi


patrick





More information about the GEM-dev mailing list