About usage of Xvid_encraw

"uday kumar uday" <[email protected]> 29 Oct 2004 07:35:57 -0000
Newsgroups gmane.comp.video.xvid.user
Message-ID <[email protected]>
Hi All,

I have downloaded the open source xvidcore-1.0.2 tar file,configured and compiled so far there was no problem . 

But when i was trying to run example in the example directory  using the command 

a) ./xvid_encraw -t 1 -i cactus.pgm -m 1 
b)  ./xvid_encraw -t 1 -i cactus.pgm -m 1 -o test.m4v 

These are giving me errors, Can anybody Please help me as where I am wrong or how to create a simple .m4v/.mp4u 

Error is :

./xvid_encraw -t 1 -i cactus.pgm -m 1 -o test.m4v
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert 2002-2003 
Usage : xvid_stat [OPTIONS]
 
Input options:
 -i      string : input filename (default=stdin)
 -type   integer: input data type (yuv=0, pgm=1)
 -w      integer: frame width ([1.2048])
 -h      integer: frame height ([1.2048])
 -frames integer: number of frames to encode
 
Output options:
 -dump    : save decoder output
 -save    : save an Elementary Stream file per frame
 -o string: save an Elementary Stream for the complete sequence
 
BFrames options:
 -max_bframes   integer: max bframes (default=0)
 -bquant_ratio  integer: bframe quantizer ratio (default=150)
 -bquant_offset integer: bframe quantizer offset (default=100)
 
Rate control options:
 -framerate float               : target framerate (>0 | default=25.0)
 -bitrate   integer             : target bitrate
 -single                        : single pass mode
 -pass1     filename            : twopass mode (first pass)
 -pass2     filename            : twopass mode (2nd pass)
 -zq starting_frame float       : bitrate zone; quant
 -zw starting_frame float       : bitrate zone; weight
 -max_key_interval integer      : maximum keyframe interval
 
Other options
 -asm            : use assembly optmized code
 -quality integer: quality ([0..6])
 -qpel           : use quarter pixel ME
 -gmc            : use global motion compensation
 -packed         : packed mode
 -closed_gop     : closed GOP mode
 -lumimasking    : use lumimasking algorithm
 -stats          : print stats about encoded frames
 -debug          : activates xvidcore internal debugging output
 -vop_debug      : print some info directly into encoded frames
 -help           : prints this help message
 
NB: You can define 64 zones repeating the -z[qw] option as many times as needed.

Basically it's a usage error im unable to figure it out !!


Thanks and Best Regards,
-Uday

_______________________________________________
XviD-users mailing list
[email protected]
http://list.xvid.org/mailman/listinfo/xvid-users