<div dir="ltr">I'm trying to stream from my webcam over UDP with the following two commands:<br><br>gst-launch-1.0 -e -v v4l2src device=/dev/v4l/by-id/usb-046d_HD_Pro_Webcam_C920_3AB1BE0F-video-index0 ! \<div>image/jpeg, width=1920, height=1080, framerate=30/1  ! \</div><div>rtpjpegpay ! \</div><div>udpsink host=127.0.0.1 port=1234<br></div><div><br></div><div>and</div><div><br></div><div>gst-launch-1.0 -e -v udpsrc port=1234 caps="application/x-rtp,payload=96,media=video,clock-rate=90000, encoding-name=JPEG, a-framerate=30/1, height=1920, width=1080" ! \<br></div><div>rtpjpegdepay ! \</div><div>jpegdec ! \</div><div>avimux ! \</div><div>filesink location=movie.avi<br></div><div><br></div><div>which yields error messages such as this:</div><div><br></div><div><div>0:00:00.117861054  6837      0x26e7540 DEBUG                 avimux gstavimux.c:415:gst_avi_mux_vidsink_set_caps:<avimux0> avimux0:video_0, caps=video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, framerate=(fraction)0/1</div><div>0:00:00.117925143  6837      0x26e7540 WARN                  avimux gstavimux.c:641:gst_avi_mux_vidsink_set_caps:<avimux0> refused caps video/x-raw, format=(string)I420, width=(int)1920, height=(int)1080, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, chroma-site=(string)mpeg2, framerate=(fraction)0/1</div></div><div><div>ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data flow error.</div><div>Additional debug info:</div><div>gstbasesrc.c(2943): gst_base_src_loop (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:</div><div>streaming task paused, reason not-negotiated (-4)</div></div><div><br></div><div>I'm not sure what exactly is wrong with the caps. From what I understand gst-inspect avimux says that 0/1 is a valid framerate. </div><div><br></div><div>Replacing avimux with autovideosink works splendidly and allows me to stream perfectly. Skipping the UDP step allows avimux to capture the movie as expected. I need to save the video from a remote, how ever, so any help towards achieving this will be sincerely appreciated. </div></div>