v4l2grab: new package
PATCH v2 1/1 v4l2grab: new package
I not find libv4l2grab utility in the v4l2 distribution. Exist sample code in the documentation:
http://www.linuxtv.org/downloads/v4l-dvb-apis/v4l2grab-example.html
The utility based on this example.
---
Changes v1 -> v2:
- many changes suggested by Thomas Petazzoni
- add license info
---
package/Config.in | 1 +
package/v4l2grab/Config.in | 16 ++++++++++++++++ package/v4l2grab/v4l2grab.mk | 15 +++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 package/v4l2grab/Config.in create mode 100644 package/v4l2grab/v4l2grab.mk
package/Config.in +1 -0
@@ -40,6 +40,7 @@ menu "Audio and video applications" source "package/tstools/Config.in" source "package/twolame/Config.in" source "package/upmpdcli/Config.in" + source "package/v4l2grab/Config.in" source "package/vlc/Config.in" source "package/vorbis-tools/Config.in" source "package/wavpack/Config.in"
package/v4l2grab/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_V4L2GRAB + bool "v4l2grab" + # dependencies from lib4l + depends on BR2_TOOLCHAIN_HAS_THREADS + depends on BR2_USE_MMU # fork() + depends on !BR2_STATIC_LIBS # dlopen() + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers + # wait for libv4l 1.7+ for musl compatibility + depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC + select BR2_PACKAGE_JPEG + select BR2_PACKAGE_LIBV4L + help + Utility for grabbing JPEGs form V4L2 devices. + + http://www.twam.info/software/v4l2grab-grabbing-jpegs-from-v4l2-devices
package/v4l2grab/v4l2grab.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# v4l2grab +# +################################################################################ + +V4L2GRAB_VERSION = 7815752fafb8b797047e819a08a3b6e2f2880846 +V4L2GRAB_SITE = $(call github,twam,v4l2grab,$(V4L2GRAB_VERSION)) +V4L2GRAB_LICENSE = GPLv2+ +V4L2GRAB_LICENSE_FILE = LICENSE +# Fetched from github, no pre-generated configure script provided +V4L2GRAB_AUTORECONF = YES +V4L2GRAB_DEPENDENCIES = libjpeg libv4l + +$(eval $(autotools-package))
Signature · 1 line
2.6.1
PATCH v2 1/1 v4l2grab: new package
Dear Viacheslav Volkov,
Quoted 1 line · Viacheslav Volkov
I not find libv4l2grab utility in the v4l2 distribution.
http://git.linuxtv.org/cgit.cgi/v4l-utils.git/tree/contrib/test/v4l2grab.c ?
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/1 v4l2grab: new package
Yes, this utility wery similar.
Diffs:
1. Output jpeg
2. Allow yum -> internal convert
This utility not compilled by default.
Quoted 9 lines
Dear Viacheslav Volkov,
Quoted 1 line · Viacheslav Volkov
I not find libv4l2grab utility in the v4l2 distribution.
http://git.linuxtv.org/cgit.cgi/v4l-utils.git/tree/contrib/test/v4l2grab.c ?
Best regards,
Thomas