On Sat, 2007-12-08 at 19:16 -0500, patrick wrote:
hi
i am not sure, if i understand why you want to get xvid working with gem. if you are interested in lowest possible cpu consumption, i wouldn't expect xvid to give the best results, since it is optimized to give very high compression and not to consume as little cpu as possible.
after testing many codec on linux, XVID is the best codec for filesize and cpu. both. playing a dv, jpeg quicktime or mjpeg avi are +- 35% of my cpu (640x480 / 30 fps). XVID will take only 7% of my cpu and the filesize is reduced by half. by forcing keyframe every frame i can (in theory) use it like jpeg, mjpep (skip, scratch etc...).
this is interesting. i get similar results here:
http://www.workinprogress.ca/pd/gem/xvid.avi -> mplayer uses approximately 4.3% cpu @ 1.7GHz
mov, mjpeg with 640x480 @ 30fps -> mplayer uses approximately 7.5% cpu @ 1.7GHz
your xvid with -intra is faster, which is interesting.
the question remains, how much of the processing power is used to decode the stream and how much is used for transport and displaying in gem.
since i cannot play your xvid.avi file, i cannot make the same comparison in gem.
roman
___________________________________________________________ Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de