LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-16-2023, 10:26 PM   #1
tini981
LQ Newbie
 
Registered: Sep 2014
Posts: 7

Rep: Reputation: Disabled
Smile 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
 
Old 04-17-2023, 03:29 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,146
Blog Entries: 6

Rep: Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834Reputation: 1834
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
 
  


Reply

Tags
camera, v4l2



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Talk about a control plane... US Air Force says upcoming B-21 stealth bomber will use Kubernetes LXer Syndicated Linux News 0 06-08-2020 07:24 PM
Simple V4L2 Command Syntax Question FinalCut20 Linux - Software 0 03-06-2020 02:52 AM
Identify and explain the major number, minor number, and revision number in Linux... turbomen Linux - Newbie 1 11-16-2010 02:48 AM
Any V4L2 webcam software or utilities can be use on embedded??? halloworld Linux - Embedded & Single-board computer 2 04-15-2009 07:33 PM
What is the program/command for switching video devices drivers between v4l and v4l2? tauro_kpo Linux - Software 2 04-06-2009 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration