RSPI 4 and Cam streaming

DejanCotra dejancotra at gmail.com
Thu Aug 27 08:28:05 UTC 2020


HI all,

I have 3 devices.
RSPI 4 with Gstreamer 1.16.2.
Laptop Windows 7 and Gstremer 1.16.2.
Laptop Ubuntu 18.04 Gstremer 1.14.5.

from RSPI 4 I stream camera with:
gst-launch-1.0 v4l2src device=/dev/video0 ! v4l2convert ! queue !
v4l2h264enc ! video/x-h264,profile=constrained-baseline ! h264parse !
rtph264pay config-interval=-1 name=payloader pt=96 ! udpsink host=IP_ADDRESS
port=9000

from Ubuntu do this:
gst-launch-1.0 -v udpsrc port=9000 caps='application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' !
rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

And I can see my camera stream just fine but only if I add
config-interval=-1 without that its not working.

However if I run same line as Ubuntu on Windows:
gst-launch-1.0 -v udpsrc port=9000 caps='application/x-rtp,
media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' !
rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false

I can not see camera stream (with or without config-interval=-1 set).

What could be a problem here? Do I need some additional parameters to
configure on sender/receiver side when streaming to Windows?

Dejan




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list