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.

TDA4AL-Q1: I want to make USB camera to RTSP streaming service using gstreamer.

Part Number: TDA4AL-Q1

I'm trying to make streaming app using gstreamer and USB camera.

I want to use 

gst-launch-1.0 v4l2src device=/dev/video2 ! image/jpeg, width=1280, height=720 ! jpegparse ! jpegdec ! video/x-raw ! videoconvert ! v4l2h264enc extra-controls="enc,prepend_sps_and_pps_to_idr=1,video_gop_size=5" ! rtph264pay ! udpsink host=<yourip> port=<sdp port specified>

upper command to run in c code.

So in gst_wrapper.c,

I modified as below

and p_gst_pipe_obj is data in below

but when I run app.

error occurs.

What is the problem and How can I make it?