diff options
author | Srikant Patnaik | 2015-02-23 14:27:49 +0530 |
---|---|---|
committer | Srikant Patnaik | 2015-02-23 14:27:49 +0530 |
commit | b59bf36fa216f962b63da484f7bdb69e30d3a725 (patch) | |
tree | 2c25b8f4466a66aa67b626f56c224c527bef58db /webcam-recorder | |
parent | e809e32a652482f98c6bafce5bfe0b3524ba7be4 (diff) | |
download | FOSSEE-netbook-patcher-b59bf36fa216f962b63da484f7bdb69e30d3a725.tar.gz FOSSEE-netbook-patcher-b59bf36fa216f962b63da484f7bdb69e30d3a725.tar.bz2 FOSSEE-netbook-patcher-b59bf36fa216f962b63da484f7bdb69e30d3a725.zip |
added support for webcam-recorder
Diffstat (limited to 'webcam-recorder')
-rw-r--r-- | webcam-recorder/README.rst | 24 | ||||
-rw-r--r-- | webcam-recorder/libv4l.tgz | bin | 0 -> 963842 bytes | |||
-rw-r--r-- | webcam-recorder/webcam-recorder.desktop | 11 | ||||
-rwxr-xr-x | webcam-recorder/webcam-recorder.sh | 3 |
4 files changed, 38 insertions, 0 deletions
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 Binary files differnew file mode 100644 index 0000000..4baffef --- /dev/null +++ b/webcam-recorder/libv4l.tgz 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 |