[XviD-devel] Fwd: How to use the xvid_encrew.c

janaka priyadarshana rpjanaka at gmail.com
Fri Aug 24 10:13:06 CEST 2007


hi all,

i got the pint. ".pgm" file is an image file as i think.
so by using the xvid_encrew we can convert that file to a small video.

am i correct .....?


if I want to encode a raw video file (.yuv stream file) into mpeg4 format by
using the xvid_encrew, is it possible to do. if it can do with this, please
help me.



---------- Forwarded message ----------
From: janaka priyadarshana <rpjanaka at gmail.com>
Date: Aug 24, 2007 11:55 AM
Subject: How to use the xvid_encrew.c
To: xvid-devel at xvid.org

hi all,

i want to test the xvid_encraw.c file so i need to have a .pgm file. but i
was unable to find that how to get that.
can you please tell me how to create a "YUV encapsulated in PGM"  file.


so then i tried to do this with a .yuv file. (i know how to create a .yuv
file)

./xvid_encraw -type 0 -w 488 -h 640 -i stream.yuv -o my_xvid_example.m4v
-stats





But this is not working properly, it will return the following.



xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert
2002-2003

Error opening input file ./alize/stream.yuv




please can you tell me why this is and how can i do this in a correct
way.....?





-- 
-----------
Regards,
Janaka Priyadarshana

-- 
-----------
Regards,
Janaka Priyadarshana


More information about the XviD-devel mailing list