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.

How can I see OSD when decode mode with DVSDK2.0

Hi,

I downloaded and installed mvl_5_0_0801921_demo_sys_setuplinux.bin, REL_LSP_02_00_00_110.tar.gz and dvsdk_setuplinux_2_00_00_18.bin
when i run dvsdk_2_00_00_18/dvsdk_demos_2_00_00_04/dm355/decode, i got error as below


    root@192.168.1.143:~# cd /opt/dvsdk/dm355/
    root@192.168.1.143:/opt/dvsdk/dm355# ./loadmodules.sh
    ioremap_nocache(0x87400000, 12582912)=0xc8000000
    allocated heap buffer 0xc8000000 of size 0xa6000
    cmem initialized 8 pools between 0x87400000 and 0x88000000
    root@192.168.1.143:/opt/dvsdk/dm355# ./decode -v data/videos/davincieffect_ntsc.mpeg4
    Decode demo started.
    DavinciDisplay DavinciDisplay.1: Display Manager failed to allocate layer
    DavinciDisplay DavinciDisplay.1: Unable to configure video layer for id = 0
    Error: Failed to create display device
    root@192.168.1.143:/opt/dvsdk/dm355#


I found above issue at http://e2e.ti.com/forums/p/2739/19218.aspx
and solved by set fbset as below

    fbset -fb /dev/fb/1 -xres 0
    fbset -fb /dev/fb/3 -xres 0

Now I can see davincieffect_ntsc.mpeg4 on my TV ^^

But i can't see OSD ( i can see OSD with previous version LSP 1.2, DVSDK 1.3)

I can see decode infomation(ARM Load: 19% Video fps: 29 fps Video bit rate: 1590 kbps Sound bit rate: 0 kbp) at serial console not OSD

If i modify func displayThrFxn() in display.c as below

//Display_Attrs           dAttrs     = Display_Attrs_DM6446_DM355_VID_DEFAULT;
Display_Attrs           dAttrs     = Display_Attrs_DM6446_DM355_OSD_DEFAULT;

then dm355 shows error message "Framecopy only between buffers with same color space fmt"

How can i see OSD when decode mode like previous version

 

Thanks.

  • Have you tried what is suggested in the GSG

       "You can change the transparency of the OSD (overlay) while running a demo by using the left and right arrows on the remote"

    I am not aware of major changes to the demos, but if this does not work, I will be happy to look into this for you.