Re: XviD implementation in appl.

reno reballos <[email protected]>
Newsgroups gmane.comp.video.xvid.devel
Message-ID <[email protected]>
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 <[email protected]>
To: [email protected]
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
[email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.