I am using Video Providers extensively in my project now.

I have already posted a question regarding adding Trickmode support so that VideoProviders can support FastForward and Rewind.
The responses on this have been somewhat limited.

The next problem i have is with frame grabbing of a running video provider. The surface that is used to render to is a virtual surface as it is owned by embedded hardware and as such the surface is not maintained in system ram.
This means that i cannot use the Dump ability of surfaces.
I am therefore considering adding a function 'FrameGrab' to the video provider API into which you pass a surface that you want a frame grabbed and stored in.

This means that I can let my embedded hardware run video on the virtual surface that it owns and i can provide a second surface that is in system ram when I need to grab a frame. I can then use the existing methods to dump this frame.

This allows screen shots etc to be available.

Any thoughts on this?



_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to