This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Video with GUI

Hi,

I need some help from the multimedia and Linux experts. I am using OMAP35x and Linux 2.6.32 OS. I need to do vidieo streaming (input from a camera) and GUI.

I can not use QT or X11, I don't have a lot buttons nor touch screen, so GTK + directFB seems to be the choice. Now my question can I still doing my video streaming from V4L2 (/dev/video1 as input and /dev/video2 as the output)? And can I assume whatever I use GTK to draw will write to /dev/fb0)? How should I enable to overlay, as my GUI need to be on top of my video? Can I set the Alpha blending for this? My biggest question is what are the typical way to do what I am doing? 

Thanks and appreciate your help.

 

Annie

  • Hi Annie,

    I may not be able to help you from QT or X11 point of view, but I can help you in all your Linux Video driver level questions -

    >> Now my question can I still doing my video streaming from V4L2 (/dev/video1 as input and /dev/video2 as the output)?

    Driver does support this capability, you can refer to the plain PSP vanilla sample application (saMmapDisplay.c Or saUserptrDisplay.c) for reference.


    >> Can I set the Alpha blending for this?

    From Driver point of view, we do support Alpha-blending, please refer to PSP userguide for more details. But not sure about GTK perspective.


    Thanks,

    Vaibhav