Logitech C270 to RTP

marininpa marininpa at mail.ru
Thu May 6 08:30:52 UTC 2021


Hello!
I did it with the omxh264enc codec.
This pipeline works: "gst-launch-1.0 -v v4l2src device=/dev/video0 !
video/x-raw,width=640,height=480,framerate=30/1 ! videoconvert ! omxh264enc
! rtph264pay pt=96 config-interval=1 ! udpsink host=192.168.88.100
port=5000"
I'm using a Raspberry pi 3 b+, CPU usage 10% and bitrate <1 Mbit, it's good.

But I need a resolution of 1280x720 and with this resolution the pipeline
does not work:
"gst-launch-1.0 -v v4l2src device=/dev/video0 !
video/x-raw,width=1280,height=720,framerate=30/1 ! videoconvert ! omxh264enc
! rtph264pay pt=96 config-interval=1 ! udpsink host=192.168.88.100
port=5000"
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal
data stream error.
Additional debug info:
gstbasesrc.c(3055): gst_base_src_loop ():
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming stopped, reason not-negotiated (-4)
Execution ended after 0:00:00.003548594
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

How can this be fixed?




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


More information about the gstreamer-devel mailing list