Quoting MingTsung Yu:
> Hi all,
> 
> If I use video4linux API, I can use
> 
> vc[1].norm=1;
> ioctl(fd, VIDIOCGCHAN, &vc[1]);
> 
> to set my norm.
> But I have no idea to set norm in DirectFB API.

There's no way ;(

The video provider API has never been pushed to be really
usable. The video4linux implementation is the only one that
is really required, because of the DMA going to video memory
directly. Anything else could be done in application layer
or another library on top of or next to DirectFB. With "next
to" I mean that one could take the video provider stuff out of
DirectFB and setup a new project in the manner of FusionSound,
but call it FusionMedia and build something like DirectShow or
QuickTime.

So if you need to use NTSC, the only way is to patch the source ;(

> And If I want to capture one frame to save as picture file,
> anyone has got an idea how to do something like that?

Try IDirectFBSurface::Dump(), it might be sufficient for you.
You might need to stop the video temporarily.

-- 
Best regards,
  Denis Oliver Kropp
 
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to