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.

DM368 DVR-RDK board, Issue in running application( ffplay ) on it.

  • Sorry, i did not get details of the failure in your post. Can you please provide some details on the failure condition so that we can provide the required support to fix it.

    Regards,

    Anshuman

  • Prasoon,

    Not sure why, but i am nore seeing anything in your posts.

    Regards,

    Anshuman

  • Hi,

    We are facing problem while running our application on DVR board.
    Actually we are trying to play some audio/video file using FFPlay ( with SDL build with nano-X) [ Also tried with SDL with X11, but error is same]

    I am  just briefing the problems below.

    1. Initially while running our application , we were getting the error like “  Not enough resources to create thread”
    2. Then I have increase the mem from 35M to 45M in commonargs.

    “set commonargs console=ttyS0,115200n8 mem=45M ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):::off video=davincifb:osd0=720x576x8,2500K:osd1=off:vid0=off:vid1=off davinci_enc_mngr.ch0_mode=$(videostd)”

    3. The above change leads to the failure of loading of CMEM module as its memory range overlaps the Kernel memory range.

     To resolve this I have made the change in target/filesys/dvr/common/av_capture_load .
      Increase the phy_start address for CMEM module from 0x82300000 to 0x83300000

    4. Now booting is proper and my application starts, but still I am getting the following error

                    root@/bin# ffplay AP.mp3
    FFplay version 0.5, Copyright (c) 2003-2009 Fabrice Bellard, et al.
      configuration: --enable-cross-compile --cc=arm_v5t_le-gcc --arch=arm --enable-shared --host-cc=arm_v5t_le-gcc --enable-y
      libavutil     49.15. 0 / 49.15. 0
      libavcodec    52.20. 0 / 52.20. 0
      libavformat   52.31. 0 / 52.31. 0
      libavdevice   52. 1. 0 / 52. 1. 0
      libswscale     0. 7. 1 /  0. 7. 1
      libpostproc   51. 2. 0 / 51. 2. 0
      built on Jul  6 2011 11:28:54, gcc: 4.2.0 (MontaVista 4.2.0-16.0.32.0801914 2008-08-30)
    davinci_pcm: Failed to get dma channels
    asoc: can't open platform davinci-audio
    davinci_pcm: Failed to get dma channels
    asoc: can't open platform davinci-audio
    SDL_OpenAudio:
    AP.mp3: could not open codecs
    root@/bin#
                   
    Please help me to resolve this.

    Regards,
    Prasoon Kumar