[vlc-devel] libvlc_video_set_format_callbacks() and "cyuv" chroma
jerome at taodyne.com
Thu Mar 8 16:37:03 CET 2012
I'm having a problem with the setup callback of libvlc_video_set_format_callbacks().
When I set *chroma to "cyuv" (input is I420)., I get no picture and the logs show :
i420_yuy2_sse2 filter warning: can't get output picture
Here is the callback code:
pitches = pitches = pitches = *width * 2;
lines  = lines  = lines  = *height;
strcpy(chroma, "cyuv"); // "UYVY" here works fine
This is on MacOSX, VLC 2.0.0-250-g23b55ad (intel 64bit). My intent is to create a GL texture from the vmem out with format = GL_YCBCR_422_APPLE to reduce the CPU overhead caused by multiple colorspace conversions in my current code.
Any idea what might be going wrong?
More information about the vlc-devel