LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   How to use number of plane in V4l2 command (https://www.linuxquestions.org/questions/linux-kernel-70/how-to-use-number-of-plane-in-v4l2-command-4175724147/)

tini981 04-16-2023 10:26 PM

How to use number of plane in V4l2 command
 
Dear Members ,

I am using below V4l2 command to capture the image
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1312,height=1200,pixelformat=Y10 --stream-mmap=4 --stream-count=167 --stream-to=/tmp/caprs1.raw --stream-skip=1

I have below 2 question :-

1. How to specify number of plane in the command ?
2. What is the exact role of --stream-skip .As per documentation it will skip the no of frame count .. so in above case it will skip first frame and only stream 166 frame

teckk 04-17-2023 03:29 PM

What is /dev/video0? A cam? And you want to get a frame or a section of the video?

Can you play /dev/video0 with ffmpeg/ffplay?

Quote:

1. How to specify number of plane in the command
I don't know what that means.

Need a good deal more info.

For v4l2
https://linuxtv.org/
Code:

man v4l2-ctl


All times are GMT -5. The time now is 07:28 PM.