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.

saloopback vs saloopbackfbdev

Other Parts Discussed in Thread: TVP7002

Hi,

saLoopBackFbdev is stable when noisy frame comes from camera, but saLoopBack stops

immediately. Noisy frame as i said is some frame with noisy VSYNC, which shift image up and

down. What is the source of difference ? 

gstreamer pipeline is unstable like saloopback. How can i modify it to make it stable like

saloopbackfbdev ?

Followings are gstreamer pipeline in use.

gst-launch v4l2src device="/dev/video0" always-copy=true queue-size=6 num-buffer=3000 \
! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)30/1 \
! omxbufferalloc numBuffers=12 \                                  
! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=HDMI \
! gstperf \                                                   
! queue \                                                                       
! v4l2sink device="/dev/video1" sync=false min-queued-bufs=2

I am using EZSDK 5.04.0.11

Thanks for reading.

  • Hello,

    richard lee2 said:
    What is the source of difference ? 

    saLoopBack
    This application demonstrates simple loop back from capture to display. Application takes input through TVP7002
    decoder on VPSS VIP port. Capture buffers are displayed using V4L2 display driver. Sample application uses user
    pointer buffer mechanism for both capture and display driver. User pointer buffers are taken from FBDEV driver.
    V4L2 capture driver outputs YUV422 (y and cbcr interleaved) data to memory and display driver displays the same
    format from memory. Capture driver detects the incoming resolution, configures capture and display driver for same
    resolution. For e.g. For 1080P60 input resolution, Application sets the buffer size to 1920*1080*2 for both display
    and capture. Application changes the display resolution to 1080P60 on display using the sysfs entry.

    saLoopBackFbdev
    This application demonstrates simple loop back from capture to fbdev display driver. Application takes input
    through TVP7002 decoder on VPSS VIP port. Captured buffers are displayed using FBDEV driver. Sample
    application uses user pointer buffer mechanism for capture driver, and mmapped buffers for fbdev. FBDEV buffers
    are used as userpointer buffer for V4L2 capture. Capture driver takes YUV422 as input, converts it to RGB888 using
    color space converter of VIP port. Capture driver detects incoming resolution and configures capture and display
    driver for same resolution. For e.g. for 720P60 input resolution, Application sets the buffer size to 1280*720*3 for
    capture, and set the fbdev driver for RGB888 display. Application changes the display resolution to 720P60 using
    the sysfs entry.

    Here some examples for capture:

    gst-launch -e --gst-debug=3 --verbose v4l2src device="/dev/video0" always-copy=false queue-size=12 num-buffers=-1 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1920,height=1080,framerate=(fraction)60/1' ! omxbufferalloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false


    gst-launch v4l2src device="/dev/video0" always-copy=false queue-size=16 num-buffers=5000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=16 ! omx_scaler ! video/x-raw-yuv,width=800,height=480 ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-device=LCD


    gst-launch v4l2src device="/dev/video0" always-copy=false queue-size=16 num-buffers=5000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width=1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=16 ! omx_scaler ! video/x-raw-yuv,width=800,height=480 ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-device=LCD

    EDIT: Could you try with the latest EZSDK 5.05.02? Let me know the result.

    Best Regards,

    Margarita





  • Hi, Margarita

    Thanks for reply.

    Three pipelines doesn't works

    #1)

    root@dm814x-evm:~# gst-launch -e --gst-debug=3 --verbose v4l2src device="/dev/vi
    deo0" always-copy=false queue-size=12 num-buffers=-1 ! 'video/x-raw-yuv-strided,
    format=(fourcc)NV12,width=1920,height=1080,framerate=(fraction)60/1' ! omxbuffer
    alloc silent=false numBuffers=12 ! omx_scaler ! omx_ctrl display-mode=OMX_DC_MOD
    E_1080P_60  ! omx_videosink sync=false                                          
    0:00:00.037740450  1470    0x16050 INFO                GST_INIT gstquery.c:108:s
    0:00:00.051771150  1470    0x16050 INFO                GST_INIT gstmessage.c:73s
    0:00:00.053812950  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:350s
    0:00:00.055156500  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:255"
    0:00:00.055277900  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:2571
    0:00:00.058340450  1470    0x16050 INFO            GST_REGISTRY gstregistry.c:1n
    0:00:00.247139650  1470    0x16050 INFO            GST_REGISTRY gstregistrybinas
    0:00:00.247940450  1470    0x16050 INFO            GST_REGISTRY gstregistry.c:1n
    0:00:00.277215500  1470    0x16050 INFO            GST_REGISTRY gstregistry.c:1d
    0:00:00.277412000  1470    0x16050 INFO            GST_REGISTRY gstregistry.c:11
    0:00:00.277490350  1470    0x16050 INFO                GST_INIT gst.c:792:init_1
    0:00:00.277572300  1470    0x16050 INFO                GST_INIT gst.c:794:init_1
    0:00:00.277923050  1470    0x16050 INFO            GST_PIPELINE gstparse.c:299:'
    0:00:00.339146750  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859d
    0:00:00.339376550  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.346996300  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.461268450  1470    0x16050 INFO                     omx gstomx_videomixd
    0:00:00.461602650  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859d
    0:00:00.461712150  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.463209350  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.463354050  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.463740850  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.465903200  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.466040900  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.466485000  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.467425700  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.467686750  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.468105500  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.469681550  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.605117050  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.606197400  1470    0x16050 INFO            GST_PIPELINE ./grammar.y:568"
    0:00:00.629593050  1470    0x16050 INFO      GST_PLUGIN_LOADING gstplugin.c:859d
    0:00:00.629800400  1470    0x16050 INFO     GST_ELEMENT_FACTORY gstelementfacto"
    0:00:00.630801700  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.631090350  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:71'
    0:00:00.631322800  1470    0x16050 INFO              GST_STATES gstbin.c:1759:ge
    0:00:00.631633150  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:00.631887100  1470    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568k
    0:00:00.632075100  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:96k
    0:00:00.632187150  1470    0x16050 INFO                GST_PADS gstutils.c:1468s
    0:00:00.632481100  1470    0x16050 INFO                GST_PADS gstpad.c:1941:gk
    0:00:00.633862200  1470    0x16050 INFO                GST_PADS gstpad.c:2124:gl
    0:00:00.634106650  1470    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568)
    0:00:00.634205200  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:96c
    0:00:00.634314600  1470    0x16050 INFO                GST_PADS gstutils.c:1028k
    0:00:00.638236050  1470    0x16050 INFO                GST_PADS gstutils.c:1468s
    0:00:00.638400750  1470    0x16050 INFO                GST_PADS gstpad.c:1941:gk
    0:00:00.641910550  1470    0x16050 INFO                GST_PADS gstpad.c:2124:gl
    0:00:00.978268450  1470    0x16050 INFO            GST_PIPELINE ./grammar.y:568"
    0:00:00.978387450  1470    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568)
    0:00:00.978495950  1470    0x16050 INFO                GST_PADS gstutils.c:1028k
    0:00:00.982151000  1470    0x16050 INFO                GST_PADS gstutils.c:1468s
    0:00:00.982329550  1470    0x16050 INFO                GST_PADS gstpad.c:1941:gk
    0:00:00.985858500  1470    0x16050 INFO                GST_PADS gstpad.c:2124:gl
    0:00:00.986034800  1470    0x16050 INFO            GST_PIPELINE ./grammar.y:568"
    0:00:00.986131200  1470    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568)
    0:00:00.986230600  1470    0x16050 INFO                GST_PADS gstutils.c:1028k
    0:00:00.986335400  1470    0x16050 INFO                GST_PADS gstutils.c:1468s
    0:00:00.986463400  1470    0x16050 INFO                GST_PADS gstpad.c:1941:gk
    0:00:00.986594250  1470    0x16050 INFO                GST_PADS gstpad.c:2124:gl
    0:00:00.986753700  1470    0x16050 INFO            GST_PIPELINE ./grammar.y:568"
    0:00:00.986846200  1470    0x16050 INFO        GST_ELEMENT_PADS gstutils.c:1568)
    0:00:00.986941400  1470    0x16050 INFO                GST_PADS gstutils.c:1028k
    0:00:00.987179350  1470    0x16050 INFO                GST_PADS gstutils.c:1468s
    0:00:00.987318100  1470    0x16050 INFO                GST_PADS gstpad.c:1941:gk
    0:00:00.987520850  1470    0x16050 INFO                     omx gstomx_base_sink
    0:00:02.109981850  1470    0x16050 INFO                GST_PADS gstpad.c:2124:gl
    Setting pipeline to PAUSED ...                                                  
    0:00:02.119027450  1470    0x16050 INFO                     omx gstomx_base_sinY
    0:00:02.119415700  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.119523700  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.120361750  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.120509900  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.120598650  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.120726200  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.120874450  1470    0x16050 INFO                     omx gstomx_base_filY
    0:00:02.169559050  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.169765700  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.169974250  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.170155100  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.170245400  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.170370300  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.170490250  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.170575000  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.170738700  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.171633850  1470    0x16050 INFO                    v4l2 v4l2_calls.c:48y
    0:00:02.171951700  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.172852850  1470    0x16050 INFO              GST_STATES gstelement.c:23Y
    0:00:02.173042300  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.173264900  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.173735550  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.510297550  1470    0x16050 INFO                     omx gstomx_base_sinD
    0:00:02.510608850  1470    0x16050 INFO              GST_STATES gstbin.c:2498:gD
    0:00:02.540060850  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.540283800  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.540490600  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.540657550  1470    0x16050 INFO                     omx gstomx_base_filD
    0:00:02.540810200  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.540899650  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.541058850  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.541221600  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.541308850  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.541430900  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.541583300  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.541672000  1470    0x16050 INFO              GST_STATES gstelement.c:23D
    0:00:02.541793050  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:02.542320850  1470    0x16050 INFO                    v4l2 gstv4l2object.c:
    0:00:02.542453650  1470    0x16050 INFO                    v4l2 gstv4l2object.c2
    0:00:02.542531250  1470    0x16050 INFO                    v4l2 gstv4l2object.cV
    0:00:02.542601550  1470    0x16050 INFO                    v4l2 gstv4l2object.c3
    0:00:02.542671100  1470    0x16050 INFO                    v4l2 gstv4l2object.c6
    0:00:02.543388750  1470    0x16050 INFO                 v4l2src gstv4l2src.c:610
                                                                                    
     Mode set is 720P60                                                             
    0:00:02.544496900  1470    0x16050 INFO                    v4l2 gstv4l2object.c0
    0:00:02.880499650  1470    0x16050 WARN                 basesrc gstbasesrc.c:27t
    0:00:02.880604700  1470    0x16050 WARN                 basesrc gstbasesrc.c:27y
    0:00:02.880860650  1470    0x16050 INFO        GST_ERROR_SYSTEM gstelement.c:18t
    0:00:02.881070250  1470    0x16050 INFO        GST_ERROR_SYSTEM gstelement.c:18t
    0:00:02.881178750  1470    0x16050 WARN                 basesrc gstbasesrc.c:29e
    0:00:02.881256000  1470    0x16050 INFO                GST_PADS gstpad.c:983:gse
    0:00:02.881349850  1470    0x16050 WARN                GST_PADS gstpad.c:734:gsd
    0:00:02.881449450  1470    0x16050 INFO              GST_STATES gstelement.c:26n
    0:00:02.881534250  1470    0x16050 INFO              GST_STATES gstelement.c:22D
    0:00:02.881623250  1470    0x16050 INFO              GST_STATES gstbin.c:2508:g)
    0:00:02.881815750  1470    0x16050 INFO              GST_STATES gstelement.c:26n
    ERROR: Pipeline doesn't want to pause.                                          
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negott
    Additional debug info:                                                          
    gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4:
    Check your filtered caps, if any                                                
    Setting pipeline to NULL ...                                                    
    0:00:02.885255050  1470    0x16050 INFO                     omx gstomx_base_sinY
    0:00:02.885567400  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:02.885705450  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:02.885797500  1470    0x16050 INFO                     omx gstomx_base_sinL
    0:00:02.885913600  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:02.886038350  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:02.886166700  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.243444900  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.243771300  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.243919500  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.244007450  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.244137550  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.244292850  1470    0x16050 INFO                     omx gstomx_base_filY
    0:00:03.244496600  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.244637000  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.244728100  1470    0x16050 INFO                     omx gstomx_base_filL
    0:00:03.267040700  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.267189050  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.267349600  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.267620950  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.267761250  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.339320850  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.339565400  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.339795800  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.340095250  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.340238750  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.340367450  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.340451050  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.340634950  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.341127000  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.341242150  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.341371650  1470    0x16050 INFO              GST_STATES gstbin.c:2492:gy
    0:00:03.677528500  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.677633550  1470    0x16050 INFO              GST_STATES gstelement.c:23L
    0:00:03.677789800  1470    0x16050 INFO              GST_STATES gstbin.c:1759:ge
    Freeing pipeline ...                                                            
    0:00:03.678240000  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:g)
    0:00:03.678457800  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gk
    0:00:03.678664500  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:g)
    0:00:03.678809350  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gk
    0:00:03.678988950  1470    0x16050 INFO           GST_PARENTAGE gstbin.c:1440:g"
    0:00:03.679181100  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:29e
    0:00:03.679275800  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:83'
    0:00:03.679469950  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:83'
    0:00:03.679595500  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:29e
    0:00:03.679697100  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:30e
    0:00:03.679788550  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:30t
    0:00:03.679897700  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1713:g)
    0:00:03.680075400  1470    0x16050 INFO        GST_ELEMENT_PADS gstpad.c:1758:gk
    0:00:03.680252450  1470    0x16050 INFO           GST_PARENTAGE gstbin.c:1440:g"
    0:00:03.680376000  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:29e
    0:00:03.680463400  1470    0x16050 INFO        GST_ELEMENT_PADS gstelement.c:83'
    0:00:03.680585350  1470    0x16050 INFO         GST_REFCOUNTING gstelement.c:29e
    gst-launch-0.10: OmxRpcStub.c:1432: OmxRpc_stubGetState: Assertion `(1 == OmxRp.
    Aborted   

    #2)

    root@dm814x-evm:~# gst-launch v4l2src device="/dev/video0" always-copy=false que
    ue-size=16 num-buffers=5000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width
    =1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=16 ! omx_
    scaler ! video/x-raw-yuv,width=800,height=480 ! omx_ctrl display-mode=OMX_DC_MOD
    E_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-devic
    e=LCD                                                                           
    Setting pipeline to PAUSED ...                                                  
                                                                                    
     Mode set is 720P60                                                             
    allocating 16 buffers of size:1382400!!                                         
    allocated outbuf:0x44a8d080                                                     
    allocated outbuf:0x44bde880                                                     
    allocated outbuf:0x44d30080                                                     
    allocated outbuf:0x44e81880                                                     
    allocated outbuf:0x44fd3080                                                     
    allocated outbuf:0x45124880                                                     
    allocated outbuf:0x45276080                                                     
    allocated outbuf:0x453c7880                                                     
    allocated outbuf:0x45519080                                                     
    allocated outbuf:0x4566a880                                                     
    allocated outbuf:0x457bc080                                                     
    allocated outbuf:0x4590d880                                                     
    allocated outbuf:0x45a5f080                                                     
    allocated outbuf:0x45bb0880                                                     
    allocated outbuf:0x45d02080                                                     
    allocated outbuf:0x45e53880                                                     
    Pipeline is live and does not need PREROLL ...                                  
    Se

    #3)

    root@dm814x-evm:~# gst-launch v4l2src device="/dev/video0" always-copy=false que
    ue-size=16 num-buffers=5000 ! 'video/x-raw-yuv-strided,format=(fourcc)NV12,width
    =1280,height=720,framerate=(fraction)60/1' ! omxbufferalloc numBuffers=16 ! omx_
    scaler ! video/x-raw-yuv,width=800,height=480 ! omx_ctrl display-mode=OMX_DC_MOD
    E_1080P_60 display-device=LCD ! gstperf ! omx_videosink sync=false display-devic
    e=LCD                                                                           
    Setting pipeline to PAUSED ...                                                  
                                                                                    
     Mode set is 720P60                                                             
    allocating 16 buffers of size:1382400!!                                         
    allocated outbuf:0x441b8080                                                     
    allocated outbuf:0x44309880                                                     
    allocated outbuf:0x4445b080                                                     
    allocated outbuf:0x445ac880                                                     
    allocated outbuf:0x446fe080                                                     
    allocated outbuf:0x4484f880                                                     
    allocated outbuf:0x449a1080                                                     
    allocated outbuf:0x44af2880                                                     
    allocated outbuf:0x44c44080                                                     
    allocated outbuf:0x44d95880                                                     
    allocated outbuf:0x44ee7080                                                     
    allocated outbuf:0x45038880                                                     
    allocated outbuf:0x4518a080                                                     
    allocated outbuf:0x452db880                                                     
    allocated outbuf:0x4542d080                                                     
    allocated outbuf:0x4557e880                                                     
    Pipeline is live and does not need PREROLL ...                                  
    Setting pipeline to PLAYING ...                                                 
    New clock: GstSystemClock                                                       
    ti81xxvin: list empty                                                           

    BR.

    richard lee

  • Hi,

    I tried 5.05.02, but this version does not work also. Both  saloopback & saloopbackfbdev do not work.

    No way to proceed test.

    Is there any other way to dig in 5.04.00.11 version ? It is very harsh for developer to try new

    development environment every time TI release a new version of EZSDK.

    Do you have a clue why you suggest using newer version ?

    Thanks in advance.

    richard lee.

  • Hello,

    These are example's pipelines. You should change it for your use case. You could add --gst-debug=v4l2:5 for more debug information.

    You could check here for more information regarding saLoopBack & saLoopBackFbdev demos.

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_VIDEO_CAPTURE_Driver_User_Guide

    Are you using EVM or custom board?

    Best Regards,

    Margarita

  • Hi,

    Thanks for your help.

    I am using custom board.

    I will review the document you suggested.

    Best regards.

    richard lee

  • Hello,

    i am sorry for the delay in my response

    richard lee2 said:
    What is the source of difference ?


    The difference between both demos is: saLoopback gives YUV422 to memory and displays that through V4L2 display driver. saLoopBackFbdev gives out RGB to memory and displays it though FBDEV.

    richard lee2 said:
    Three pipelines doesn't works

    Make sure that you are loading load-hd-v4l2-firmware.sh.

    richard lee2 said:
    ERROR: Pipeline doesn't want to pause.                                          
    ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negott
    Additional debug info:                                                          
    gstbasesrc.c(2778): gst_base_src_start (): /GstPipeline:pipeline0/GstV4l2Src:v4:
    Check your filtered caps, if any     

    This error 'Could not negotiate format' indicates some params are not set right in GstV4l2Src/V4l2 driver layer or not supported by camera, but gstreamer component is asking. So, it is better to try capture using only V4l2 level, without Gstreamer and make it work. After that try with Gstreamer. Try with SaLoopBack.

    richard lee2 said:
    I tried 5.05.02, but this version does not work also. Both  saloopback & saloopbackfbdev do not work.

    You have connected component input right with proper color coding right? What errors you are seeing?

    richard lee2 said:
    I am using custom board.

    The examples are verified on EVM.

    Let me know the results.

    Best Regards,

    Margarita