Log in

View Full Version : Xvid the image format?


dbzgundam
8th January 2004, 02:28
A friend of mine asked (and I'm curious as well) if Xvid be modified (that would be one helluva mod) to be an image file format... To replace the ageing JPEG format perhaps. The possibilities would seem quite nice since it's a much newer compression format.

Sure this would take lots of effort (if it can even be done) but it would be nice for image storage!

Human_USB
8th January 2004, 02:59
why not use the many opensorce image file out there like png or jng or jpg2000 or mng.

dbzgundam
8th January 2004, 03:11
Yeah I know but Xvid would just seem like an interesting idea.

sysKin
8th January 2004, 03:34
A single keyframe is an image...
Just try it. Convert your image to uncompressed PGM (don't ask me how) and use xvid_encraw to compress it to an .m4v stream. Done, this m4v file is your image.

You can use xvid_decraw to convert it back.

Radek