Re: What are "Other" video capture settings.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu 26 September 2013 13:47:26 Steve Cookson wrote:
> On 26/09/2013 08:32, Hans Verkuil wrote:
>  > Typically the video standard needs to be correct (e.g. PAL vs NTSC),
>  > and the video format produced by the video capture card must be
>  > supported by the application.
>  >
>  > Ask them to run 'v4l2-ctl -d /dev/video0 --all', that gives a good
>  > overview of the video settings/capabilities.
> Hi Hans,
> 
> Thanks for your quick response.
> 
> Video Standard I understand, in fact I usually do it too, but what is 
> format, are you saying YUV or whatever?

It's how the actual pixels of the image are laid out in memory. YUV 4:4:4,
YUV 4:2:0, YUV 4:1:0, planar, interleaved, RGB, etc.

Run 'v4l2-ctl --help-vidcap' (if you have a sufficiently recent v4l2-ctl
version) to see all the format-related options.

v4l2-ctl -w --list-formats lists the supported video formats.

The '-w' option makes v4l2-ctl use the libv4l2 library, which can convert
obscure formats to more familiar ones. I assume gstreamer uses libv4l2 as
well.

See also the documentation on formats here:

http://hverkuil.home.xs4all.nl/spec/media.html#pixfmt

Regards,

	Hans
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux