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.

Capture video with gstreamer

Hi All,

I am working with J5 DM814x board, ezsdk version: ti-ezsdk_dm814x-evm_5_05_02_00

I need to capture video from a USB connected camera using gstreamer. I tried this pipeline:

gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,fr
amerate=(fraction)5/1' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false

but without luck, I get the following output:

WARNING: erroneous pipeline: could not link omxbasectrl0 to omxvideosink0

What is wrong with the pipeline above? What pipeline should I use to capture video from v4l2 source?

Thank you,

Jakub

  • Hello,

    Jakub Mielczarek said:
    gst-launch v4l2src always-copy=false queue-size=11 ! 'video/x-raw-yuv-strided,format=(fourcc)YUY2,width=1280,height=720,fr
    amerate=(fraction)5/1' ! omx_ctrl display-mode=OMX_DC_MODE_1080P_60  ! omx_videosink sync=false

    could you try the same pipeline just add omx_scaler element before the omx_ctrl  element. you could also and omxbufferalloc with numBuffers property also.

    Let me know the result.

    Best Regards,

    Margarita