|
【Linux】
CAM-CRV(1126) How to get RGB a stream ?
Posted at 7/7/2022 22:58:34
View:1294
|
Replies:0
Print
Only Author
[Copy Link]
1#
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 |
|