radone
27th December 2006, 12:41
For anyone who is staring with X-VID source code - here is some hints that could make it easier to start:
(Compiling of source codes is out of scope here)
At first dowload any video file (they are very often read from some device in so called YUV420 format) http://www.tkn.tu-berlin.de/research/evalvid/cif.html
They are all in CIF format: 352x288 pixels.
uzip downloaded file
bunzip filename.bz2
How to encode it:
./xvid_encraw -type 0 -w 352 -h 288 -i yuv_multiple.yuv -o out.mp4
how to decode it:
./xvid_decraw -i out.mp4 -f pnm -d
(Compiling of source codes is out of scope here)
At first dowload any video file (they are very often read from some device in so called YUV420 format) http://www.tkn.tu-berlin.de/research/evalvid/cif.html
They are all in CIF format: 352x288 pixels.
uzip downloaded file
bunzip filename.bz2
How to encode it:
./xvid_encraw -type 0 -w 352 -h 288 -i yuv_multiple.yuv -o out.mp4
how to decode it:
./xvid_decraw -i out.mp4 -f pnm -d