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 video get paused and go on

Hi all

      I am using Appro DM368 IPNC 3.0 SDK, it works fine when I enabled only RTSP IE preview.

      However, when I enable both the SD card recording and RTSP IE preview, the camera works well at the beginning, but after its continuous work at about 1 or 2 days, the video in SD card & IE preview becomes get paused and go on (which means the video looks like stops for a short while, and then skips to current frame)

      I the UART output, we sam some following messages:

         RET_OVERWRITE 

        RET_OVERWRITE 

        RET_OVERWRITE 

         Could you give some suggestions on this ?

    BTW: the DDR size is 128MB, and 48MB for ARM Linux, 80MB for DSP encoder. And the Mem layout is following:

  .profiles[VIDOE_INFO_MP4] =

{  

       .cache_size   = 0xb00000,  

       .cache_blk_size  = (100*1024), 

       .mem_size   = 0x500000, 

       .mem_blk_size   = (100*1024),  

      .ext_size   = MP4_1_EXTRA_SIZE,

 },

  • Hi all,

          I am sorry for my mistake. The Uart message is like the following (there is no I in overwrite):

        RET_OVERWRTE

        RET_OVERWRTE

        RET_OVERWRTE

     

    and the source code is on RET_OVERWRTE is following:

    /* return value */

     #define RET_SUCCESS 0 /**< error code : no error */

     #define RET_NO_VALID_DATA   -1 /**< error code : request data not ready */

     #define RET_NEW_MJPEG       -2 /**< error code : new jpeg(not use now) */

     #define RET_INVALID_PRM     -100 /**< error code : invalid parameter */

    #define RET_OVERWRTE        -102 /**< error code : request data loss */

    #define RET_NO_MEM          -103 /**< error code : not enough memory for locking frame */

    #define RET_ERROR_OP -104 /**< error code : error operation */

     #define RET_INVALID_COMMAND -200 /**< error code : invalid command */

    #define RET_UNKNOWN_ERROR -400 /**< error code : unknow error */
     

        Thanks for the help

     

  • Hi XIONG ,

            I am also getting same issue . Did you get solution for this issue.


                                                 Thank you

  • Hi Sai,

         We solve this by rewriting a new RTSP server to replace the wis-stream. The cause of this issue is the DSP cache runs outof limit.

          Hope this helps you.

  • Hi Xiong,

    What change did u make exactly to get this running ?

    I have similar issue but I'm not running any RTSP streamer. On My SD card the video appears hung for a brief period as you mentioned.

    Mem Allocation is as below.

    .profiles[VIDOE_INFO_MP4] =
    {
    .cache_size = 0x900000,
    .cache_blk_size = (50*1024),
    .mem_size = 0x900000,
    .mem_blk_size = (50*1024),
    .ext_size = MP4_1_EXTRA_SIZE,
    },

    Any help in this regards will be very helpful.

    Thanks in Advance,
    Swathi