Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] CAM-CRV(1126) How to get RGB a stream ?

20

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
20

【Linux】 CAM-CRV(1126) How to get RGB a stream ?

Posted at 7/7/2022 22:58:34      View:1029 | Replies:0        Print      Only Author   [Copy Link] 1#
Hi.

I managed to get an IR stream

  1. rkisp_demo -c 100 --device /dev/video31 --width 1920 --height 1080 --stream-to file.yuv --stream-count 100  --rkaiq

  2. 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

  3. 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

  1. 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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list