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.

Graphic Overlay suggestions?

Hello,

I'm going to be streaming video and need to put a graphic overlay on the stream.  Kind of like a TV menu to set configuration values.  I will also need an interface that allows drawing on the stream.  Kind of like the commentators do at football games where they draw circles and arrows to describe strategy.

I'm using a DM368 chip on a leopard board and am developing in C using a linux embedded OS.  I'm wondering if anyone has any suggestions on the graphic toolkits I could use to achieve my purpose?

I was looking into OpenGL, but the DM368 doesn't support it.  I'm looking at GTK+  and it looks promising!  But I'm not exactly sure how to roll GTK into my system.  And I'm also wondering if there any other tools I should look into?

I'm a newbie at linux development so even a few pointers on where to look and how to implement would be very appreciated!

Thanks,

Mercy

  • Did you check option of using QT or DM365 OSD layer?

    You want overlay in capture patch i.e. embedded within stream or in display path? If its display patch - QT or OSD is the probable solution for you.

    --

    Regards,

    Krunal

  • Hi Krunal,

    I am developing in C, so I would like to avoid QT since it's implemented in C++.  I want the graphic overlay to be embedded within the stream.  I will look into OSD.  I didn't realize DM365 had an OSD function.  Does TI provide some examples of how to use the OSD?

    Thanks for the help!

    Mercy

  • Hi Mercy,

    There should not be a problem in using combination of C and C++ (QT).

    Anyways, the OSD example should be part of DVSDK package. I never used OSD with DM365 but while working with DM365 I explored all the supported features.

    Here is the wiki page I could find which clearly indicates the demos are part of DVSDK.

    http://processors.wiki.ti.com/index.php/DM365_Demo_Application

    Note: With OSD, it will be difficult to generate rich GUI compare to QT.

    - Krunal

  • Krunal,

    I've looked into the DM365 OSD layer, and from what little I could find, it seems to be more for displaying data and not so much for creating a user interface.  I'm having trouble finding the SoftwareOSD_UserGuide_DM36X.pdf document.  I see it referred to in the forums but can't find where to download it.  Do you know where it is? 

    Have you used QT or GTK in working with the DM365? I have gone through the GTK tutorials and the QT tutorials.  But all those tutorials seems to be about how to develop for a desktop linux environment.  How do you go from that to an embedded linux environment?


    Thanks for your help!

    Mercy

  • Hi Mercy,

    According to my knowledge OSD library is TI's propriety sw component hence this document should also be. I never worked with the OSD library on DM365 except playing with the DVSDK demos (OSD related functions). I know OSD library source code and this document are part of DM36x IPNC camera framework for sure. One of our team was working with IPNC camera. For more details on the document and library, you can contact your local TI FAE.

    About QT - Yes, I have work with QT on DM365 platform in past (almost 2 years back). Recently TI has prepare nice wiki pages to accomplish this (my bad luck they were not available when I was working with DM365 + QT) :( I find QT be the most easiest and promising for GUI development.

    Please see below links:

    http://processors.wiki.ti.com/index.php/DM365_touchscreen_with_Qt

    http://processors.wiki.ti.com/index.php/Building_Qt (Partially applicable - some of the steps will not be applicable in case of DM365 like SGX)

    I hope this information will help you.!

    Regards,

    Krunal