Mac OS X 10.10 Facetime Camera sometimes reports I420 format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 26 Nov 2014 08:24:07, Thomas Weber wrote:
>> Indeed the Facetime camera had no format info. I tracked down the problem and
>> found that Mac Os returns the I420 format under certain circumstances.
>> A simple fix is to add I420 to the list of formats in qt_dev.m:
>> 
>> static qt_fmt_info qt_fmts[] =
>> {
>>     {PJMEDIA_FORMAT_YUY2, kCVPixelFormatType_422YpCbCr8_yuvs},
>>     {PJMEDIA_FORMAT_UYVY, kCVPixelFormatType_422YpCbCr8},
>>     {PJMEDIA_FORMAT_I420, kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange}
>> };
>> 
>> I run, however, a few more tests the other day and found a way to reproduce the
>> problem:
>> [...]
> 
> 
> The attached diagnostics diff helped me once to debug practically the
> same issue -- in order to figure out supported pixelformat of an unknown
> camera and then how to extend the above table.
> 
>    Eeri Kask
> 

Thank you, i actually wrote a similar piece of code to hunt down the bug.
Someone should please add a trac ticket or commit the above PJMEDIA_FORMAT_I420 line to fix the problem.


Thomas Weber



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux