Hello!
I'm trying to use IDirectFBVideoProvider over vesafb. An mpeg1 video, that I can get
from my camcorder, seems to have YUV channels, so it's impossible to Blit the video
surface to the primary surface, which is RGB. When I try, nothing gets copied, and I
have the following on my console:
*** [only copying blits supported for YUV in software] *** generic.c (3137)
The corresponding code in generic.c is:
if (DFB_BLITTING_FUNCTION( accel )) {
switch (gfxs->src_format) {
case DSPF_YUY2:
case DSPF_UYVY:
case DSPF_I420:
case DSPF_YV12:
if (accel != DFXL_BLIT ||
gfxs->src_format != gfxs->dst_format ||
state->blittingflags != DSBLIT_NOFX) {
ONCE("only copying blits supported for YUV in software");
return false;
BTW, I can hear the sound, so it seems, that video is played somewhere on my video
surface :-)
In my case, I can convert video to any format, for the purpose of a demonstration, but
it seems that IDirectFBVideoProvider supports only mpeg videos, which are YUV. So I
need to make any of the following:
1. Play video on RGB surface.
2. Copy from YUV surface to RGB surface.
3. Find/make a video which is recognized by video provider AND can be played on RGB
surface, or has surface descriptor which allows to copy to RGB surface.
Any help will be appretiated.
Andrew Skiba.
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-users" as subject.