> 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