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.

8168 Video Input Capture: Is the embedded sync supposed to be on both the Luma and Chroma channels?

Other Parts Discussed in Thread: TVP7002, TVP5151

Hello,

 

I understand that, currently, video input capture requires the use of embedded syncs.

QUESTION: Are the embedded syncs expected to be on both the Luma and Chroma channels?

While working with our video decoder chip on our custom boards we noticed that we'd configured it to

insert the SAV/EAV codes on all the channels and not just the Luma channel. Things work

fine while configured that way. We then attempted to limit it to just the Luma channel

and it stopped working.

We'll double check our configuration bits setup to be sure but I don't think I've seen any

mention of which channel the 8168 is monitoring for the sync. Is it both perhaps?

 

Thanks.

 

Juan Solis

  • I realize this is an old post, but I just wanted to throw out that we experience this as well.  With the 16-bit inputs on 8168, it does seem to require the sync be received on both bytes of the interface.  The TI documentation says it is looking for it on the Y channel. 

    Ryan

      

  • Hi,

    Sync is required on any one of the two channels. This is selectable in hardware.

    Regards,

    Hardik Shah

  • Hardik,

      Thanks for the clarification.  Is the option for which channel it is looking for sync configurable from the A8 side?  Or is it only available in the M3 firmware?

    Thanks,

      Ryan

  • Hi,

    I think you are using openmax VFCC component. So M3 side driver exposes this parameter to OpenMax. I am not sure whether this parameter is exposed through VFCC. They may be configuring this to M3 driver without getting exposed. I am not sure on this part. I will forward your query to EZSDK team. Are you trying to add your own decoder instead of TVP7002?

    Regards,

    Hardik Shah

  • Hi Hardik,

      You are correct, we are using the openmax VFCC component to capture video from our own FPGA source.  For our application, we want to have 16-bit input on VIP1, and two 8 bit inputs on VIP2.  We find only some of the input options seem to work:

          - VIP1_PORTA, 16-bit 4:2:2 YUV, embedded syncs - Works

          - VIP2_PORTA, 16-bit 4:2:2 YUV, embedded syncs - Works

          - VIP1_PORTA, 08-bit 4:2:2 YUV, embedded syncs - Works

          - VIP1_PORTB, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

          - VIP2_PORTA, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

          - VIP2_PORTB, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

     

    Is it possible the sync selection setting you mention is not being set correctly in VFCC component???

    Thanks,

      Ryan

     

  • Hi,

    I am not sure whether all parameters are exposed by VFCC. Can you send me the dump of 100 registers for non working case. VIP0 address is 0x48105500 and VIP1 address is 0x48105A00. Please make sure that you add details to register dump, what is VIP configured for.

    Regards,

    Hardik Shah

  • Hardik,

      I have collected the register dump for 3 of the cases:

          - VIP1_PORTA, 08-bit 4:2:2 YUV, embedded syncs - Works

    THIS IS For 8-bit, 4:2:2 YUV /w embedded syncs into VIP1_portA.
    *** This one does work to capture frames!!! ***
    
    
    After reset: VIP1 register dump:
    
      48105500: 00000000
      48105504: 00000000
      48105508: 00000000
      4810550c: 00000000
      48105510: 00000000
      48105514: 00000000
      48105518: 00000000
      4810551c: 00000000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000000
      48105604: 00000000
      48105608: 00000000
      4810560c: 00000000
      48105610: 00000000
      48105614: 00000000
      48105618: 00000000
      4810561c: 00000000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    
    Start capturing:
    
    gst-launch -v omx_camera num-buffers=300 input-interface=VIP1_PORTA vif-mode=08BIT scan-type=interlaced ! video/x-raw-yuv,format=\(fourcc\)NV12,width=720,height=488,framerate=30/1,interlaced=true ! omx_h264enc bitrate=2000000 ! gstperf ! filesink location=test.h264
    
    Settings as printed by gstreamer module:
      INPUT INTERFACE: VIP1_PORTA
      CAP MODE: SC_NON_MUX
      VIF MODE: 08BIT
      INTERLACE MODE: Interlaced
    
    Register values after starting capture, but with data source disabled:
    
    
      48105500: 00000002
      48105504: 0000a100
      48105508: 00000000
      4810550c: 00000000
      48105510: 00000000
      48105514: 00000000
      48105518: 00000000
      4810551c: 00000000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000002
      48105604: 0000a100
      48105608: 00000000
      4810560c: 00000000
      48105610: 00000000
      48105614: 00000000
      48105618: 00000000
      4810561c: 00000000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    
    Next, starting the video stream to VIP1.
    
    *** In this case, we do receive frames. ***
    
    Here is dump of registers while it is capturing frames:
     
      48105500: 00000002
      48105504: 0000a100
      48105508: 00000000
      4810550c: 00000000
      48105510: 00000000
      48105514: 00000000
      48105518: 00000010
      4810551c: 00000400
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000002
      48105604: 0000a100
      48105608: 00000000
      4810560c: 00000000
      48105610: 00000000
      48105614: 00000000
      48105618: 00000010
      4810561c: 00000400
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    
    
    After the capturing is completed.  Here is the status of the registers:
    
      48105500: 00000002
      48105504: 0000a000
      48105508: 00000000
      4810550c: 00000000
      48105510: 00000000
      48105514: 00000000
      48105518: 00000010
      4810551c: 00000000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000002
      48105604: 0000a000
      48105608: 00000000
      4810560c: 00000000
      48105610: 00000000
      48105614: 00000000
      48105618: 00000010
      4810561c: 00000000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    

          - VIP1_PORTB, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

    This is for 8-bit, 4:2:2 YUV /w embedded syncs into VIP1_PORTB
    *** This one does NOT work.  It never seems to receive any frames ***
    
    After reset: VIP1 register dump
    
      48105500: 00000000
      48105504: 00000000
      48105508: 00000000
      4810550c: 00000000
      48105510: 00000000
      48105514: 00000000
      48105518: 00000000
      4810551c: 00000000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000000
      48105604: 00000000
      48105608: 00000000
      4810560c: 00000000
      48105610: 00000000
      48105614: 00000000
      48105618: 00000000
      4810561c: 00000000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    
    Start capturing: 
    
    gst-launch -v omx_camera num-buffers=300 input-interface=VIP1_PORTA vif-mode=08BIT scan-type=interlaced ! video/x-raw-yuv,format=\(fourcc\)NV12,width=720,height=488,framerate=30/1,interlaced=true ! omx_h264enc bitrate=2000000 ! gstperf ! filesink location=test.h264
    
    Settings as printed by gstreamer module:
      INPUT INTERFACE: VIP1_PORTB
      CAP MODE: SC_NON_MUX
      VIF MODE: 08BIT
      INTERLACE MODE: Interlaced
    
    Register values after starting capture, but with data source disabled:
    
      48105500: 00000002
      48105504: 00000000
      48105508: 00000000
      4810550c: 0000a100
      48105510: 00000000
      48105514: 00000000
      48105518: 00000000
      4810551c: 00000000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 00000000
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000002
      48105604: 00000000
      48105608: 00000000
      4810560c: 0000a100
      48105610: 00000000
      48105614: 00000000
      48105618: 00000000
      4810561c: 00000000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 00000000
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    Next, started the video stream to VIP1.
    
    *** in this case, No frames are received ***
    
    Here's a dump of registers while it is still waiting:
    
      48105500: 00000002
      48105504: 00000000
      48105508: 00000000
      4810550c: 0000a100
      48105510: 00000000
      48105514: 00000000
      48105518: 00000080
      4810551c: 00001000
      48105520: ffffffff
      48105524: ffffffff
      48105528: ffffffff
      4810552c: ffffffff
      48105530: 00000000
      48105534: 00000000
      48105538: 00000000
      4810553c: 00000000
      48105540: 00000000
      48105544: 00000000
      48105548: 00000000
      4810554c: 00000000
      48105550: 00000000
      48105554: 00000000
      48105558: 00000000
      4810555c: 00000000
      48105560: 00000000
      48105564: 00000000
      48105568: 00000000
      4810556c: 00000000
      48105570: 02d000f4
      48105574: 00000000
      48105578: 00000000
      4810557c: 00000000
      48105580: 00000000
      48105584: 00000000
      48105588: 00000000
      4810558c: 00000000
      48105590: 00000000
      48105594: 00000000
      48105598: 00000000
      4810559c: 00000000
      481055a0: 00000000
      481055a4: 00000000
      481055a8: 00000000
      481055ac: 00000000
      481055b0: 00000000
      481055b4: 00000000
      481055b8: 00000000
      481055bc: 00000000
      481055c0: 00000000
      481055c4: 00000000
      481055c8: 00000000
      481055cc: 00000000
      481055d0: 00000000
      481055d4: 00000000
      481055d8: 00000000
      481055dc: 00000000
      481055e0: 00000000
      481055e4: 00000000
      481055e8: 00000000
      481055ec: 00000000
      481055f0: 00000000
      481055f4: 00000000
      481055f8: 00000000
      481055fc: 00000000
      48105600: 00000002
      48105604: 00000000
      48105608: 00000000
      4810560c: 0000a100
      48105610: 00000000
      48105614: 00000000
      48105618: 00000080
      4810561c: 00001000
      48105620: ffffffff
      48105624: ffffffff
      48105628: ffffffff
      4810562c: ffffffff
      48105630: 00000000
      48105634: 00000000
      48105638: 00000000
      4810563c: 00000000
      48105640: 00000000
      48105644: 00000000
      48105648: 00000000
      4810564c: 00000000
      48105650: 00000000
      48105654: 00000000
      48105658: 00000000
      4810565c: 00000000
      48105660: 00000000
      48105664: 00000000
      48105668: 00000000
      4810566c: 00000000
      48105670: 02d000f4
      48105674: 00000000
      48105678: 00000000
      4810567c: 00000000
      48105680: 00000000
      48105684: 00000000
      48105688: 00000000
      4810568c: 00000000
    
    
    
    *** SO, it waits indefinitely and never receives frames ***

          - VIP2_PORTA, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

    This is for 8-bit, 4:2:2 YUV /w embedded syncs into VIP2_PORTA
    *** This one does NOT work.  It never seems to receive any frames***
    
    After reset: VIP2 register dump
    
      48105a00: 00000000
      48105a04: 00000000
      48105a08: 00000000
      48105a0c: 00000000
      48105a10: 00000000
      48105a14: 00000000
      48105a18: 00000000
      48105a1c: 00000000
      48105a20: ffffffff
      48105a24: ffffffff
      48105a28: ffffffff
      48105a2c: ffffffff
      48105a30: 00000000
      48105a34: 00000000
      48105a38: 00000000
      48105a3c: 00000000
      48105a40: 00000000
      48105a44: 00000000
      48105a48: 00000000
      48105a4c: 00000000
      48105a50: 00000000
      48105a54: 00000000
      48105a58: 00000000
      48105a5c: 00000000
      48105a60: 00000000
      48105a64: 00000000
      48105a68: 00000000
      48105a6c: 00000000
      48105a70: 00000000
      48105a74: 00000000
      48105a78: 00000000
      48105a7c: 00000000
      48105a80: 00000000
      48105a84: 00000000
      48105a88: 00000000
      48105a8c: 00000000
      48105a90: 00000000
      48105a94: 00000000
      48105a98: 00000000
      48105a9c: 00000000
      48105aa0: 00000000
      48105aa4: 00000000
      48105aa8: 00000000
      48105aac: 00000000
      48105ab0: 00000000
      48105ab4: 00000000
      48105ab8: 00000000
      48105abc: 00000000
      48105ac0: 00000000
      48105ac4: 00000000
      48105ac8: 00000000
      48105acc: 00000000
      48105ad0: 00000000
      48105ad4: 00000000
      48105ad8: 00000000
      48105adc: 00000000
      48105ae0: 00000000
      48105ae4: 00000000
      48105ae8: 00000000
      48105aec: 00000000
      48105af0: 00000000
      48105af4: 00000000
      48105af8: 00000000
      48105afc: 00000000
      48105b00: 00000000
      48105b04: 00000000
      48105b08: 00000000
      48105b0c: 00000000
      48105b10: 00000000
      48105b14: 00000000
      48105b18: 00000000
      48105b1c: 00000000
      48105b20: ffffffff
      48105b24: ffffffff
      48105b28: ffffffff
      48105b2c: ffffffff
      48105b30: 00000000
      48105b34: 00000000
      48105b38: 00000000
      48105b3c: 00000000
      48105b40: 00000000
      48105b44: 00000000
      48105b48: 00000000
      48105b4c: 00000000
      48105b50: 00000000
      48105b54: 00000000
      48105b58: 00000000
      48105b5c: 00000000
      48105b60: 00000000
      48105b64: 00000000
      48105b68: 00000000
      48105b6c: 00000000
      48105b70: 00000000
      48105b74: 00000000
      48105b78: 00000000
      48105b7c: 00000000
      48105b80: 00000000
      48105b84: 00000000
      48105b88: 00000000
      48105b8c: 00000000
    
    
    Start capturing:
    
    gst-launch -v omx_camera num-buffers=300 input-interface=VIP2_PORTA vif-mode=08BIT scan-type=interlaced ! video/x-raw-yuv,format=\(fourcc\)NV12,width=720,height=488,framerate=30/1,interlaced=true ! omx_h264enc bitrate=2000000 ! gstperf ! filesink location=test.h264
    
    INPUT INTERFACE: VIP2_PORTA
    CAP MODE: SC_NON_MUX
    VIF MODE: 08BIT
    INTERLACE MODE: Interlaced
    
    Register values after starting capture, but with data source disabled:
    
      48105a00: 00000002
      48105a04: 0000a100
      48105a08: 00000000
      48105a0c: 00000000
      48105a10: 00000000
      48105a14: 00000000
      48105a18: 00000000
      48105a1c: 00000000
      48105a20: ffffffff
      48105a24: ffffffff
      48105a28: ffffffff
      48105a2c: ffffffff
      48105a30: 00000000
      48105a34: 00000000
      48105a38: 00000000
      48105a3c: 00000000
      48105a40: 00000000
      48105a44: 00000000
      48105a48: 00000000
      48105a4c: 00000000
      48105a50: 00000000
      48105a54: 00000000
      48105a58: 00000000
      48105a5c: 00000000
      48105a60: 00000000
      48105a64: 00000000
      48105a68: 00000000
      48105a6c: 00000000
      48105a70: 00000000
      48105a74: 00000000
      48105a78: 00000000
      48105a7c: 00000000
      48105a80: 00000000
      48105a84: 00000000
      48105a88: 00000000
      48105a8c: 00000000
      48105a90: 00000000
      48105a94: 00000000
      48105a98: 00000000
      48105a9c: 00000000
      48105aa0: 00000000
      48105aa4: 00000000
      48105aa8: 00000000
      48105aac: 00000000
      48105ab0: 00000000
      48105ab4: 00000000
      48105ab8: 00000000
      48105abc: 00000000
      48105ac0: 00000000
      48105ac4: 00000000
      48105ac8: 00000000
      48105acc: 00000000
      48105ad0: 00000000
      48105ad4: 00000000
      48105ad8: 00000000
      48105adc: 00000000
      48105ae0: 00000000
      48105ae4: 00000000
      48105ae8: 00000000
      48105aec: 00000000
      48105af0: 00000000
      48105af4: 00000000
      48105af8: 00000000
      48105afc: 00000000
      48105b00: 00000002
      48105b04: 0000a100
      48105b08: 00000000
      48105b0c: 00000000
      48105b10: 00000000
      48105b14: 00000000
      48105b18: 00000000
      48105b1c: 00000000
      48105b20: ffffffff
      48105b24: ffffffff
      48105b28: ffffffff
      48105b2c: ffffffff
      48105b30: 00000000
      48105b34: 00000000
      48105b38: 00000000
      48105b3c: 00000000
      48105b40: 00000000
      48105b44: 00000000
      48105b48: 00000000
      48105b4c: 00000000
      48105b50: 00000000
      48105b54: 00000000
      48105b58: 00000000
      48105b5c: 00000000
      48105b60: 00000000
      48105b64: 00000000
      48105b68: 00000000
      48105b6c: 00000000
      48105b70: 00000000
      48105b74: 00000000
      48105b78: 00000000
      48105b7c: 00000000
      48105b80: 00000000
      48105b84: 00000000
      48105b88: 00000000
      48105b8c: 00000000
    
    Next, started the video stream to VIP1.
    
    *** in this case, No frames are received ***
    
    Here's a dump of registers while it is still waiting:
    
      48105a00: 00000002
      48105a04: 0000a100
      48105a08: 00000000
      48105a0c: 00000000
      48105a10: 00000000
      48105a14: 00000000
      48105a18: 00000010
      48105a1c: 00000400
      48105a20: ffffffff
      48105a24: ffffffff
      48105a28: ffffffff
      48105a2c: ffffffff
      48105a30: 00000000
      48105a34: 00000000
      48105a38: 00000000
      48105a3c: 00000000
      48105a40: 00000000
      48105a44: 00000000
      48105a48: 00000000
      48105a4c: 00000000
      48105a50: 00000000
      48105a54: 00000000
      48105a58: 00000000
      48105a5c: 00000000
      48105a60: 00000000
      48105a64: 00000000
      48105a68: 00000000
      48105a6c: 00000000
      48105a70: 00000000
      48105a74: 00000000
      48105a78: 00000000
      48105a7c: 00000000
      48105a80: 00000000
      48105a84: 00000000
      48105a88: 00000000
      48105a8c: 00000000
      48105a90: 00000000
      48105a94: 00000000
      48105a98: 00000000
      48105a9c: 00000000
      48105aa0: 00000000
      48105aa4: 00000000
      48105aa8: 00000000
      48105aac: 00000000
      48105ab0: 00000000
      48105ab4: 00000000
      48105ab8: 00000000
      48105abc: 00000000
      48105ac0: 00000000
      48105ac4: 00000000
      48105ac8: 00000000
      48105acc: 00000000
      48105ad0: 00000000
      48105ad4: 00000000
      48105ad8: 00000000
      48105adc: 00000000
      48105ae0: 00000000
      48105ae4: 00000000
      48105ae8: 00000000
      48105aec: 00000000
      48105af0: 00000000
      48105af4: 00000000
      48105af8: 00000000
      48105afc: 00000000
      48105b00: 00000002
      48105b04: 0000a100
      48105b08: 00000000
      48105b0c: 00000000
      48105b10: 00000000
      48105b14: 00000000
      48105b18: 00000010
      48105b1c: 00000400
      48105b20: ffffffff
      48105b24: ffffffff
      48105b28: ffffffff
      48105b2c: ffffffff
      48105b30: 00000000
      48105b34: 00000000
      48105b38: 00000000
      48105b3c: 00000000
      48105b40: 00000000
      48105b44: 00000000
      48105b48: 00000000
      48105b4c: 00000000
      48105b50: 00000000
      48105b54: 00000000
      48105b58: 00000000
      48105b5c: 00000000
      48105b60: 00000000
      48105b64: 00000000
      48105b68: 00000000
      48105b6c: 00000000
      48105b70: 00000000
      48105b74: 00000000
      48105b78: 00000000
      48105b7c: 00000000
      48105b80: 00000000
      48105b84: 00000000
      48105b88: 00000000
      48105b8c: 00000000
    
    *** SO, it waits indefinitely and never receives frames ***

      For all of these, I have TVP5151 NTSC decoder providing BT.656 stream which we simply copy to all 4 8-bit VIP ports.  So they all have the same inputs.  I also included register dumps with VPSS started before enabling the data stream, and then while it is receiving video separately.

      Please let me know if there is other information I can provide to help.  It would be great to know if the VIP is actually getting configured properly.

    Thanks,

      Ryan

     

  • Hi,

    Sorry for delayed response.

    I will use terminology as VIP0 and VIP1 in that case it will match your terminology as VIP1 and VIP2.

    Ryan Miller said:
    VIP1_PORTB, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

    This port is receiving data. Status register says 720X244 received.

    Ryan Miller said:
    VIP2_PORTA, 08-bit, 4:2:2 YUV, embedded syncs - Never receives any buffers

    This is not receiving any data.

    In all configuration VIP is set correctly. So can you try following things. Make sure that your decoder if configured properly. Always start capture on /dev/video0 and then try capturing on other ports.

    Regards,

    Hardik Shah

  • Hi Ryan,

    I am trying to capture 8-bit bt.656 embedded sync using OMX App on DM8148 custom board using EZSDK 5.04 . We have got a Analog Devices video decoder providing video data in bt.656 format  embedded sync on VIP1 PORTB .

    I am trying to do capture on VIP1 PORTB ,I see that my OMX app hangs and VFCC is not able to capture frames . My OMX app has got only Capture component ,the app captures bt.656 data in YCbYcr format and stores into a file in YUV420sp format .

    I see that you are able to capture 8-bit bt.656 embedded sync on VIP1 PORTB ,Can you tell us how did you solve the problem ?

    Thanks.

    Siva .