Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

SK-TDA4VM: Not able to Stream USB Camera Video and display on HDMI Display

Part Number: SK-TDA4VM

I am trying to stream video from usb camera using gstreamer . But my pipeline after execution does not change . Its displays default TI image on screen and not camera captured images.

However my camera turn on as per indication led (ON) as displayed on camera . 

pipeline = "v4l2src device=/dev/video2 io-mode=2 ! image/jpeg, width=1280, height=720 ! jpegdec ! tiovxdlcolorconvert ! video/x-raw, format=NV12 ! videoconvert ! kmssink sync=false driver-name=tidss"

Can you please help me in streaming camera data on HDMI display ?

  • Hi Saurabh,

    Could you post the logs from running the pipeline? Are there any errors?

    For debugging purposes, I would suggest using a sink that can take many input types such as autovideosink, to test each part of the pipeline. For example:

    1. Start with: gst-launch-1.0 v4l2src device=/dev/video2 ! autovideosink

    2. Add a small component of the pipeline if there are no issues: gst-launch-1.0 v4l2src device=/dev/video2 io-mode=2  ! autovideosink

    3. Continuing adding more elements until the pipeline errors out to determine which element is causing the issue: gst-launch-1.0 v4l2src device=/dev/video2 io-mode=2  ! image/jpeg, width=1280, height=720 ! autovideosink

    Regards,

    Takuma

  • Hi Fujiwara San,

    As per your suggestion 

    Step 1 Executed properly with video display on HDMI Monitor

    step 2  with io-mode = 2 did not execute (No Error Pop up on Console but could not observe video on Screen)

    Step 3 image/jpeg, width=1280, height=720  also did not execute