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?