If you want to try it now, download the pre-built debs manually:
enable hardware-encoder:
https://docs.radxa.com/en/dragon/q6a/faq#why-does-q6a-reboot-immediately-when-using-the-hardware-encoder
https://github.com/chenchongbiao/libcamera/actions/runs/27256200300/artifacts/7527665865
Installation:
unzip libcamera.zip
cd libcamera
sudo apt update
sudo apt install ./*.deb
sudo apt install -y gstreamer1.0-tools gstreamer1.0-plugins-base
Hardware-encoded recording examples:
# H.264 1080p
gst-launch-1.0 -e libcamerasrc \
! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
! v4l2h264enc ! h264parse ! mp4mux \
! filesink location=/tmp/camera-h264.mp4
# H.265 1080p
gst-launch-1.0 -e libcamerasrc \
! videoconvert ! video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 \
! v4l2h265enc ! h265parse ! mp4mux \
! filesink location=/tmp/camera-h265.mp4
# Full resolution 3272×2464 H.264
gst-launch-1.0 -e libcamerasrc \
! video/x-raw,width=3272,height=2464,framerate=30/1 \
! queue ! videoconvert ! video/x-raw,format=NV12 \
! queue ! v4l2h264enc ! h264parse ! mp4mux \
! filesink location=/tmp/camera-8mp.mp4
This was posted by Radxa team on the comment secction. This one still gives a black screen (or 0 B file).
Any Idea abut which part should i work on?
If any clear overview can be given, it would be preferred.