Interfacing Cameras with Companion Computer

Hi there, Eliot! So far, we have had a new camera to try. Unfortunately, the issue is still the same with the Camera tab not being to detect the camera, although the System tab shows the video device and video as an active service. I’m suspecting that the camera we have bought still doesn’t have H.264. However, we have seen from the forums that the feed may be converted from one format to H.264 as shown here. We have tried the code and while we are not sure if it works, it definitely is better than our previous attempts which only shows the pipeline either getting errors or closing. The code that we used is:

gst-launch-1.0 -v v4l2src device=/dev/video0 ! image/jpeg,width=1280,height=720,type=video,framerate=30/1 ! jpegdec ! videoscale ! videoconvert ! x264enc tune=zerolatency ! rtph264pay config-interval=10 pt=96 ! udpsink host=192.168.1.146 port=5600

and produced an output like this (although this shows only the start and the end since it is too long):

Setting pipeline to PAUSED ...                                                  
Pipeline is live and does not need PREROLL ...                                  
Setting pipeline to PLAYING ...                                                 
New clock: GstSystemClock                                                       
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = "image/jpeg\,\ wid
th\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ 
colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)30/1\,\ type\=\(string\
)video"                                                                        
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "image/jpeg\
,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ pixel-aspect-ratio\=\(fraction\)1
/1\,\ colorimetry\=\(string\)2:4:7:1\,\ framerate\=\(fraction\)30/1\,\ type\=\(s
tring\)video"                                                                   
.
.
.                                                                  
/GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = "video/x
-raw\,\ format\=\(string\)I420\,\ width\=\(int\)1280\,\ height\=\(int\)720\,\ in
terlace-mode\=\(string\)progressive\,\ pixel-aspect-ratio\=\(fraction\)1/1\,\ ch
roma-site\=\(string\)mpeg2\,\ colorimetry\=\(string\)1:4:0:0\,\ framerate\=\(fra
ction\)30/1"                                                                    
Redistribute latency...       
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: timestamp = 1874450511        
/GstPipeline:pipeline0/GstRtpH264Pay:rtph264pay0: seqnum = 7397

We also tried to do this through VLC and created an .sdp file which contains the following code:

v=0
m=video 5600 RTP/AVP 96
c=IN IP4 192.168.2.1
a=rtpmap:96 H264/90000

However, VLC only runs, loads, and just does nothing. We are currently trying to watch the stream from the camera in the companion computer to the topside. Do you know what could be the problem with what we did? Thanks!