svpcom / wfb-ng

WFB-NG - the next generation of long-range packet radio link based on raw WiFi radio
https://docs.px4.io/main/en/tutorials/video_streaming_wifi_broadcast.html
GNU General Public License v3.0
879 stars 219 forks source link

[REQUEST] radxa zero 3w with cam as airunit support #348

Open m0nk1111 opened 3 weeks ago

m0nk1111 commented 3 weeks ago

as described in the title, can an image made available for the radxa zero 3w with a rpi cam v2 or some explanation on howto create the gstreamer packages stack to make it possible. and/or some hints, so i can do it myself

svpcom commented 2 weeks ago

https://docs.radxa.com/en/zero/zero3/accessories/camera this example produce raw video, but you can encode it using something like that:

gst-launch-1.0 -e v4l2src num-buffers=512 ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 ! queue ! mpph264enc ! rtph264pay mtu=1400 ! udpsink host=127.0.0.1 port=5602 sync=false

see gst-inspect-1.0 mpph264enc how to specify bitrate and other codec parameters