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: SDK v8.6

Part Number: SK-TDA4VM

Hi,

I was able to open IMX219 camera using below GStreamer pipeline:
gst-launch-1.0 v4l2src device=/dev/video2 io-mode=5 ! queue leaky=2 ! \
video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! \
tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_SONY_IMX219_RPI" \
dcc-isp-file=/opt/imaging/imx219/dcc_viss_1920x1080.bin \
sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a_1920x1080.bin format-msb=7 ! \
tiovxmultiscaler ! \
video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
kmssink driver-name=tidss sync=false

Now, I want to capture .jpg pictures using GStreamer. One picture at one command. What is the change required in above command for the same.

Camera specifications:

CSI Camera 0 detected
    device = /dev/video2
    name = imx219
    format = [fmt:SRGGB8_1X8/1920x1080]
    subdev_id = /dev/v4l-subdev2
    isp_required = yes

  • Hi Tarun,

    To capture frames from the camera stream via GStreamer, try running the following pipeline:

    gst-launch-1.0 v4l2src device=/dev/video2 io-mode=5 ! queue leaky=2 ! \
    video/x-bayer, width=1920, height=1080, framerate=30/1, format=rggb ! \
    tiovxisp sink_0::device=/dev/v4l-subdev2 sensor-name="SENSOR_SONY_IMX219_RPI" \
    dcc-isp-file=/opt/imaging/imx219/dcc_viss_1920x1080.bin \
    sink_0::dcc-2a-file=/opt/imaging/imx219/dcc_2a_1920x1080.bin format-msb=7 ! \
    tiovxmultiscaler ! \
    video/x-raw, format=NV12, width=1920, height=1080, framerate=30/1 ! \
    jpegenc ! multifilesink sync=False location=../data/output/images/output_image_%04d.jpg

    Thank you,

    Fabiana