I have now spent an entire day to try and get this to work.
When using gst-launch-1.0 I get the following
root@rock-3c:/home/ronald/rtsp-server/gst-rtsp-server-1.20.3/build# gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,framerate=20/1 ! videoscale ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay config-interval=10 pt=96 ! udpsink host=127.0.0.1 port=5004 Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock Redistribute latency... ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. Additional debug info: ../sys/v4l2/gstv4l2src.c(700): gst_v4l2src_decide_allocation (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Buffer pool activation failed Execution ended after 0:00:00.023162017 Setting pipeline to NULL ... ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. Additional debug info: ../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ...
With meson, I cannot compile because I cannot seem to find ‘gstreamer-1.0’
I am getting a little frustrated with the Rock3C at this point.
I cannot find useful pointers in this forum anywhere - what am I missing?
(running latest versions of OS with desktop)
Linux rock-3c 5.10.160-33-rk356x #a2c6058d5 SMP Fri Apr 26 10:05:00 UTC 2024 aarch64 GNU/Linux