Log in

View Full Version : XVID example - start guide


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

Guest
27th December 2006, 14:59
At first download any video file Per forum rule 6, we do not discuss downloaded files. Please don't do it again.

foxyshadis
27th December 2006, 15:23
Per forum rule 6, we do not discuss downloaded files. Please don't do it again.

Huh? Rule 6 doesn't apply at all here. These are freely available video test sequences that have been used for research and testing for years. They're also hosted on xiph: http://media.xiph.org/video/derf/ along with the freely available vqeg test sequences: http://media.xiph.org/vqeg/TestSeqences/ and the University of Munich's: http://www.ldv.ei.tum.de/liquid.php?page=70

All of which are referenced often in these forums.

celtic_druid
27th December 2006, 17:36
Said any video, not any of these videos. Still yeah, I wouldn't say rule 6. Post does seem rather pointless though.

Guest
27th December 2006, 20:05
I didn't follow the link. I just have radar for references to downloaded files.

Teegedeck
28th December 2006, 11:48
Radone's post provides specific help on how to encode and decode the samples hosted at http://www.tkn.tu-berlin.de/research/evalvid/cif.html to/from XviD via CLI. Though the post seems somewhat unmotivated I see no harm in it. :)

squid_80
28th December 2006, 14:51
Suggestion: don't use .mp4 as the filename extension. People might be misled.