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 IPNC with ov2710

Hi,

I have a problem frame skipping when use appro ipnc sdk with ov2710 camera sensor. I found skip one frame when ISR of isif is triggered. exactly speaking, ISR is not triggered for one frame time. then, timestamp would be not gererated. time stamp should be 33ms or 34ms. but, it skipped one frame time stamp each 1.5 ~ 2 seconds.

I looked over vpfe data sheet and am in debugging now. in spite of one week dubugging, I only found isif interrupt not was occured and it skipped one frame.

Please, help me.

BR, Choi

 

  • Choi,

    The same problem has been faced and solved before. Check this thread out.

    http://e2e.ti.com/support/embedded/linux/f/354/p/223215/791122.aspx

  • Hi Renjith,

    I looked over thread you recommand. but, I think it is different issue. The thread isssue was interested in frame order but, my issue is interested in frame missing. order may be correct.

    How can I check it and fix problem? Tell me what you need to digging this issue with me.

    BR,

    Choi

     

  • Choi,

    To me it looks like the same problem. Just give me these basic information.

    How many frames comes per second? Is it exactly 30 or slightly different? Assume that the camera has sent exactly 30fps and you are seeing one frame less, can you check whether any of the buffer is getting written twice consecutively?

  • Renjith,

    I use 30fps 1080P mode. by the way, I think your first advice would be right. because it could be overwrite processing frame. so, I consider one more possibility of this issue. But, I don't understand OV2710 image sensor. it only output RGB raw data with CCIR656. I think CCIR656 only support YUV format.

    exactly speaking, I use source code appro released not TI.  It can be setted required function in usermode. I would like know OV2710 require CCIR656ON or not.

    BR,

    Choi

  • Choi,

    I assume that the frames captured are proper. If the data format is wrong you won't be able to see proper images. As long as the captured frame looks okay, you don't have to worry about CCIR656/RGB raw being the cause of this issue.

  • Renjith,

    I got it. Could you let me  know what I shall check?  Is that enough to check your thread?

    BR,

    Choi

  • Choi,

    Jan Pohanka has figured out the right solution. Read the thread carefully.

  • Hello Rejith,

    I am sorry for late reply.

    I tried  setting to INTSEL2 to 0xE as Jan did. but, frame skipping is still occured.

    If you open your webmail or ftp server, I would like to send recording file to you.

    BR,

    Choi

     

  • Choi,

    My email is given in my e2e profile page. 

  • Renjith,

    I sent recording file to you via my private email count(dademvi@naver.com).

    I found new fact. Frame rate would be 28.xx via log. this log is printed appro encode thread.

    The log is as follows:

    Module   | Avg Time/Frame | Frame-rate | Total time | Total Frames |
     CAPTURE  |          34.82 |      28.72 |      31371 |          901 |
     ENCODE0  |          34.52 |      28.96 |      31107 |          901 |
     STREAM   |           0.48 |    2095.35 |        430 |          901 |
     OSD0     |           0.60 |    1677.84 |        537 |          901 |
     AEWB     |           0.82 |    1219.20 |        771 |          940 |
     AUDIO    |          19.36 |      51.64 |       4783 |          247 |

     

    Acctually, Stoped my application(native app), Frame rate is higher than 28.xx may be up to 29.xx. But, I could not understand this fact. because, system load taken by my application at least 10% or so.(I checked it via top command)

    I would like to know how I can fix it. load balancing should be required? How can I achieve it? I tried controlling pthread priority and schedule parameter but not successful.

     

    BR.

    Choi

     

     

     

     

  • Hi Thomas,

    I reply to discuss frame issue again in this thread.

    As I said in private email, new issue seems to be frame order. But, I am not sure that bad quality of video is caused by frame order. 

    BR,

    Choi