[XviD-devel] How to use xvid example

janaka priyadarshana rpjanaka at gmail.com
Mon Aug 20 12:58:50 CEST 2007


ok thanks, i did that, but still there is a problem

i do not have PGM file, i have only YUV file, so i dont know how to covert
yuv file to pgm file....?

also i tried to gave the yuv file itself the "xvid_encraw"  as follow.

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

it gave the following error

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

Trying to retrieve width and height from input header
Wrong input format, I want YUV encapsulated in PGM
"

but the most important thing is when it gives .avi file as an input file it
is working

./xvid_encraw -type 0 -h 488 -w 640 -i a.avi -o my_xvid_example.m4v -stats


but the output file my_xvid_example.m4v is useless, it is completely
different from the original one,

please anyone can help me..?

thanks


On 8/19/07, Michael Militzer <michael at xvid.org> wrote:
>
> Hi,
>
> the examples are not automatically built together with the xvidcore
> library.
> After you have installed libxvidcore, you still need to type 'make' in the
> examples directory if you also want xvid_encraw or xvid_decraw examples.
>
> Regards,
> Michael
>
>
> Quoting janaka priyadarshana <rpjanaka at gmail.com>:
>
> > hi all
> >
> > i am completely new for xvid, and i want to use the examples provided
> with
> > the xvid example
> >
> > so that i followed the way that is given in the README file.
> >
> >   # cd ${xvidcore}/build/generic
> >   # ./configure
> >   # make
> >   # make install
> >
> > then i changed to the example directory and tried to follow the
> instructions
> > given in "XviD core lib examples" doc. (README doc in example
> directory.)
> >
> > but i was unable to get any result.
> >
> > "./xvid_encraw" does not working
> >
> >
> > please can anyone help me with this issue.
> >
> >
> >
> >
> > thanks
> > -------------
> > Regards,
> > Janaka Priyadarshana
> > _______________________________________________
> > XviD-devel mailing list
> > XviD-devel at xvid.org
> > http://list.xvid.org/mailman/listinfo/xvid-devel
> >
> >
>
>
>
>
>
>
>


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


More information about the XviD-devel mailing list