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.

Have a question about DM365 H.264 encoder!

I use DM365 for develop the IP camera and the DVSDK version is dvsdk_2_10_01_18. Now the program can run on my borad,but the video has some nosie in the 720P mode and not in the 1080P.I give the same param(./av_server.out AEWB FD OSD FLIPV 720P H264 4000000 CVBR MENUOFF &) to start the AV Server.

Please answer the above problem! Thank you

  • I change the sensor board and can not solve the problem!

    the algorithm of encoding lib has a bug ???

    why does nobody answer my question???

  • Dear Figo,

    Can you please share the kind of noise you are seeing in 720P case? Are you seeing the noise on TV or on the encoded stream? How are you running 1080p resolution test? Can you remove OSD from your command line option and test 720P again?

     

    Can you try the following:

    ./av_server.out AEWB 720P FD and see the result on the TV?

     

    Regards,

    Anshuman

  • Dear Anshuman:

    I try the following param for 720P

    ./av_server.out AEWB FD 720P H264 4000000 RCOFF MENUOFF ,and remove the OSD option but the noise  is still on TV and the encoded stream!

     

     

    the graph is a snapshot from the stream.

    I try the following param for 1080P:

    ./av_server.out AEWB FD 1080P H264 4000000 RCOFF MENUOFF &

  • Dear Figo,

    Did you try without using H.264 Encoder on, as i suggested in last message? This is to ensure that only sensor configuration is causing the problem. I think it might be due to binning enabled in the sensor for getting 720P mode. Please let me know the version of IP Network Camera software that you are using.

    Can you save the YUV data coming from sensor? "av_server.out" has a menu option to save the YUV data. Please share this YUV data in 720P mode and 1080P mode so that we can analyse the noise.

    Please run following command

    ./av_server.out AEWB 720P

    ./av_server.out AEWB 1080P

     

    Regards

    Anshuman

     

  • Dear Anshuman,

    Thank for your last suggest. Now i also think the nosie is from the sensor  because the TV output has the same noise.

    But i have done one more test. I move the board to a bright enviroment and the noise is lost.

    The version of IP Network Camera software that i am using is 1.0.0.

    I run the command as you  suggested and get the YUV data.3731.YUV.rar

     

  • Dear Figo,

    I looked at the YUV data. I have a few questions:

    1. Are you using same Aptina 5MP sensor that comes with Appro IPNC?

    2. Are you using Appro IPNC hardware or your own hardware?

    3. Can you try changing the mode from Binning to Skipping in the sensor configuration? You can do it in Alg_aewb.c file in framework/alg/src/aewb_ap, ALG_aewbCreate() function:

      Aew_ext_parameter.binning_mode      = SENSOR_BINNING;

    to

      Aew_ext_parameter.binning_mode      = SENSOR_SKIP;

     

    Regards,

    Anshuman

     

     

  • Dear Anshuma,

    Thank your help. I answer the above question:

    1. I am using Micron MT9P031 5MP sensor that is the same  with Appro IPNC .

    2. I am developing on my own board.

    3. I try setting the mode from binning to skiping  as your suggestion, but the noise  still appear.

    Afterwards, I do a test:

    1. I download my programm to the Appro IPNC borad and the noise disappear.

    But my sensor board is the same one with that on my own DM355 board ,so I think the sensor board is ok.

    I have a few questions:

    1.Is the noise from my own board?

    2.I close the 2A engine and the result is better and the noise is weak, but the noise still appear especially on the black object.

     

    regards,

    figo

     

  • Figo,

    I have shared your YUV data with the Appro team to look into. As the sensor is same and i assume, the driver is also same, the problem should not have come up. this makes me suspect the sensor board or AEWB algorithm only. AEWB algorithm works differently in different resolution modes.

    But then switching off AEWB also caused the problem, almost points to sensor board.

    Let us wait for some response from Appro and see if we can get a proper reasoning for the noise.

    Regards,

    Anshuman

  • Dear Anshuman,

    Thank for your help.

    I would wait for your answer!

     

    Regards,

    figo

  • Figo,

    A few questions:

    1. Did you change the sensor driver at all as compared to what we give in IPNC GA release ver 1.0?

    2. Can you tell the shutter time and sensor gain for 720P and 1080P both?

    3. Do you setup image feature like sharpness or saturation?

    I remember you mentioned, dots come up irrespective of AEWB on or off. I suspect it is sensor bad pixels which are highlighted up in 720P mode due to the shutter and gain settings.

    Regards,

    Anshuman

  • Dear Anshuman,

    Answer the above questions:

    1. I do not change the sensor driver at all as compared to the version 1.0.

    2. The shutter time is 33000 and the sensor gain is 1000 as the inital value for 720P and 1080P both, but the AEWB change them in a danymic status.

    3. I try to change change the param of the image tuning like sharpness and saturation, but the nosie still come up.

    As i mentioned, the same sensor board link to  the DM355 boad,and the noise would not come up. I want to ask the difference about the two platform?

  • Dear Anshuman,

    I am waiting for your answer! Thank you.

  • Figo,
    Can you try following tweaking in the code:
    In videoCaptureThr.c, in VIDEO_captureTskRunDdrIn(), change the following lines and let me know the result:
        reszPrm.clkDivM = 10;
        reszPrm.clkDivN = 80;
    to
        reszPrm.clkDivM = 10;
        reszPrm.clkDivN = 100;
    and
            reszPrm.clkDivM = 10;
            reszPrm.clkDivN = 40;
    to
            reszPrm.clkDivM = 10;
            reszPrm.clkDivN = 100;
    Regards,
    Anshuman
  • Anshuma,

    I had tried to change the param of the resizer following your suggestion,but the noise still exist and  not improve  the  quality of the image.

    I have another test:

    I switch off the AEWB and OSD: ./av_server.out   FLIPV 720P H264 4000000 CVBR MENUOFF &,

    then get the snapshot from the video. I found the nosie come up ,only that were not lightened . 

    You see the attach .0358.vlcsnap-2009-10-24-11h40m50s114.rar

     

     

  • Anshuma,

    Now I am sure that the nosie is from the sensor board as you diagnosed. Because I change the new sensor boards  which are produced recently  the noise disappear.

    Thanks for your help!

  • Figo,

    Thanks for the confirmation.

     

    REgards,

    Anshuman