[XviD-devel] XviD implementation in appl.

reno reballos rreballos at yahoo.com
Wed Jan 16 01:36:21 CET 2008


Ginanjar,

Read the xvid example implementation... there u can get ur basis for your implementation on your video compression.... :)

cheers,
reno

----- Original Message ----
From: RG Nur Rahmat <rgnurrahmat at gmail.com>
To: XviD-devel at xvid.org
Sent: Tuesday, January 15, 2008 10:09:11 PM
Subject: [XviD-devel] XviD implementation in appl.


Hi Everyone,

I am fresh beginner in XviD implementation, and I would like to ask
 among
experts here , how to implement XviD in my appl. My appl. is a video
conference which takes raw video from video capture and would be
 displayed
at remote host. And, since I could not find any documentation how to
 use it,
please let me annoy you guys with some questions.

I have so far able to compile libxvidcore.lib and using xvid.h in
 include
and xvid_encraw.h compiled a PGM file.

I have my raw data form video capture in unsigned char* pdata, and I
 would
like to pass it to codec, but, I don't know how.

this is my code

void SendToCodec
(unsigned char*data, long Buffer)
{
     //declaration
     int xvid_global(void *handle, int opt, void *param1, void
 *param2);
     int xvid_encore(void *handle, int opt, void *param1, void
 *param2);

    //implementation
      xvid_global(NULL, XVID_GBL_INIT ,xvid_gbl_init_t, NULL);
      xvid_encoder(NULL, XVID_ENC_CREATE,&xvid_enc_create_t, NULL);

  ...I don't know what else.. pleas help and correct me if I'm wrong
}

Regards, Ginanjar
_______________________________________________
XviD-devel mailing list
XviD-devel at xvid.org
http://list.xvid.org/mailman/listinfo/xvid-devel






      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the XviD-devel mailing list