From b59bf36fa216f962b63da484f7bdb69e30d3a725 Mon Sep 17 00:00:00 2001 From: Srikant Patnaik Date: Mon, 23 Feb 2015 14:27:49 +0530 Subject: added support for webcam-recorder --- webcam-recorder/README.rst | 24 ++++++++++++++++++++++++ webcam-recorder/libv4l.tgz | Bin 0 -> 963842 bytes webcam-recorder/webcam-recorder.desktop | 11 +++++++++++ webcam-recorder/webcam-recorder.sh | 3 +++ 4 files changed, 38 insertions(+) create mode 100644 webcam-recorder/README.rst create mode 100644 webcam-recorder/libv4l.tgz create mode 100644 webcam-recorder/webcam-recorder.desktop create mode 100755 webcam-recorder/webcam-recorder.sh diff --git a/webcam-recorder/README.rst b/webcam-recorder/README.rst new file mode 100644 index 0000000..37f7519 --- /dev/null +++ b/webcam-recorder/README.rst @@ -0,0 +1,24 @@ +README +====== + +A simple vlc command to run webcam utility. It will presently work only +custom v4l2 library. + +The custom v4l2 library is available in present working directory. The +modified kernel module is available with Kernel Build-5.0 (github.com/FOSSEE/FOSSEE-netbook-kernel-source). + +Steps to compile v4l2 +--------------------- + +* tar -xzf libv4l.tgz + +* cd libv4l + +* make clean && make + +* sudo sh v4l_lib_copy.sh + +* sync && reboot + + +Contributed by: Manish Patel diff --git a/webcam-recorder/libv4l.tgz b/webcam-recorder/libv4l.tgz new file mode 100644 index 0000000..4baffef Binary files /dev/null and b/webcam-recorder/libv4l.tgz differ diff --git a/webcam-recorder/webcam-recorder.desktop b/webcam-recorder/webcam-recorder.desktop new file mode 100644 index 0000000..c122d4a --- /dev/null +++ b/webcam-recorder/webcam-recorder.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Keywords=Webcam Recorder +Name=Webcam Recorder +Comment=Webcam Recorder +Exec=bash /opt/FOSSEE-netbook-tools/webcam-recorder/webcam-recorder.sh +Icon=/opt/FOSSEE-netbook-tools/webcam-recorder/webcam-recorder.png +Terminal=false +Type=Application +MimeType=text/plain +Categories=GTK;Other; diff --git a/webcam-recorder/webcam-recorder.sh b/webcam-recorder/webcam-recorder.sh new file mode 100755 index 0000000..40b28d0 --- /dev/null +++ b/webcam-recorder/webcam-recorder.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +vlc v4l2:///dev/video0 --v4l2-width 640 --v4l2-height 480 --v4l2-chroma NV21 --v4l2-fps 15 --v4l2-brightness 0 --v4l2-contrast 0 --v4l2-saturation 0 --v4l2-hue 0 --v4l2-auto-white-balance 0 -- cgit