From: Paulo V. <vic...@gm...> - 2008-06-13 20:50:24
|
Hi Bill, Some capture devices I was testing don't have support to YUV-style format: (I was using **iaxclient 2.0.1**) "@device:pnp:\\?\usb#vid_0ac8&pid_303b#5&6e0df6e&0&1#{65e8773d-8f56-11d0 -a3b9-00a0c9223196}\global" 320 x 240 0xe436eb7d - Rejecting this format. 352 x 288 0xe436eb7d - Rejecting this format. 160 x 120 0xe436eb7d - Rejecting this format. 176 x 144 0xe436eb7d - Rejecting this format. 640 x 480 0xe436eb7d - Rejecting this format. 800 x 600 0xe436eb7d - Rejecting this format. 1024 x 768 0xe436eb7d - Rejecting this format. 1280 x 960 0xe436eb7d - Rejecting this format. did not match media type Just have RGB24… But now,with libvidcap (iaxclient 2.1) , it is able to accept rgb24 from capture device and to delivery in YUV-format to iaxclient ( it's too good to know about libvidcap internals possibilities ) Thank you Paulo On Fri, Jun 13, 2008 at 3:23 PM, Bill Cholewka <bc...@ya...> wrote: > Hi Paulo, > > It depends on what you mean by support. If a video capture device provides > images in this format (rgb24), iaxclient can get these images. But, they > will have been converted to one of the three formats you mentioned. > > Libvidcap, which performs the capture and conversion, has conversion > functions in its external api which convert from each of these three format > to the remaining two. Internally, however, it has conversion functions to > convert from internally-supported (at capture time) formats (rgb555, yvu9, > 2vuy, rgb24) to the three formats it exposes. > > If you're looking to get the captured images in an rgb24 format, one of > libvidcap's internal functions could be adapted to convert from rgb32 to > rgb24. > > Does this help? > > Regards, > Bill > > ----- Original Message ---- > From: Paulo Vicentini <vic...@gm...> > To: Iaxclient Mailing List <iax...@li...> > Sent: Tuesday, June 10, 2008 3:26:18 PM > Subject: [Iaxclient-devel] [iaxclient] image format > > Hi, > > Iaxclient 2.0.1 (with video) doesn't support MEDIASUBTYPE_RGB24 (Windows > IA-32) color format?right? > > > > I saw support just for (sub-sampled ones) : > > #define IMAGE_FORMAT_I420 0x30323449 > > #define IMAGE_FORMAT_IYUV 0x56555949 > > #define IMAGE_FORMAT_YUY2 0x32595559 > > > Is this a theora's encoding requirement? > > Thanks > Paulo > |