Firefly Open Source Community
Title:
CAM-CRV(1126) How to get RGB a stream ?
[Print This Page]
Author:
exitstop
Time:
7/7/2022 22:58
Title:
CAM-CRV(1126) How to get RGB a stream ?
Hi.
I managed to get an IR stream
rkisp_demo -c 100 --device /dev/video31 --width 1920 --height 1080 --stream-to file.yuv --stream-count 100 --rkaiq
gst-launch-1.0 filesrc location=file.yuv ! video/x-raw-yuv,width=1920,height=1080,framerate=30/1 ! ffenc_mpeg4 ! video/mpeg,width=1920,height=1920,framerate=30/1 ! avimux ! filesink location=out.avi
ffmpeg -f rawvideo -vcodec rawvideo -s 1920x1080 -r 30 -pix_fmt nv12 -i file.yuv -c:v libx264 -preset fast -qp 0 output.mp4
Copy the code
But I can't get a color stream
rkisp_demo -c 100 --device /dev/video3 --width 1920 --height 1080 --stream-to file.yuv --stream-count 100 --rkaiq
Copy the code
Produces some green noise
Tell me what to do?
I can't find proper documentation that will explain what needs to be done step by step
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/)
Powered by Discuz! X3.1