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.

DM8168 Component input using Gstreamer.

 

Hi, expert.

 

I would like to use gstreamer but I can't use gstreamer well.

And I check the demo and it seems only have source from file.

 

What I want to do is capture video from component source -> encode h264 -> send it with RTSP.

Please let me know the sample gstreamer command.

 

Best regards.

Jay.

 

  • Hello,

    You should use v4l2 for capture with gstreamer.

    Here some examples:

    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=800,height=480,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 --gst-debug=3 --verbose v4l2src always-copy=false queue-size=12 num-buffers=2000 ! 'video/x-raw-yuv-strided,format=(fourcc)YUV2,width=1280,height=720,framerate=(fraction)30/1' ! omxbufferalloc numBuffers=12 ! omx_h264enc bitrate=5000000 ! gstperf ! filesink location=v4l2cap.h264

    RTSP examples:

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

    Best Regards,

    Margarita