leejaekyung / libv4l2cam Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/libv4l2cam
Automatically exported from code.google.com/p/libv4l2cam
What steps will reproduce the problem?
1.Doing capturing video in a Virtual Manchine via v4l2 driver
2.Open another program for example firefox,and then the capturing program
returned "select error 0"
3.Try to get video size,and it will success.
What is the expected output? What do you see instead?
I think it the quest for video size should failed because you cann't get access
to a webcam just because select operation returns 0;
What version of the product are you using? On what operating system?
I use the v4l2 example namely "capture.c", and did this on ubuntu 10.10
Please provide any additional information below.
Can I put some my log here? It just like:
main.cpp,594:[2012-04-01 17:09:00] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:02] /dev/video0:select error: 0
main.cpp,836:[2012-04-01 17:09:02] /dev/video0:getFrameFreq over
main.cpp,594:[2012-04-01 17:09:04] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:06] /dev/video0:select error: 0
main.cpp,983:[2012-04-01 17:09:07] /dev/video0:getFramSize over
main.cpp,594:[2012-04-01 17:09:08] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:10] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:12] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:14] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:16] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:18] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:20] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:22] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:24] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:26] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:28] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:30] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:32] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:34] /dev/video0:select error: 0
main.cpp,836:[2012-04-01 17:09:35] /dev/video0:getFrameFreq over
main.cpp,594:[2012-04-01 17:09:36] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:38] /dev/video0:select error: 0
main.cpp,594:[2012-04-01 17:09:40] /dev/video0:select error: 0
main.cpp,618:[2012-04-01 17:09:44] /dev/video0:capture stopped
when "getFrameSize" and "getFrameFreq" over, it indicates that the operation is
successful.
Original issue reported on code.google.com by [email protected]
on 1 Apr 2012 at 9:31
Lines 788-790 in libcam.cpp:
r = y0 + (1.370705 * (v-128));
g = y0 - (0.698001 * (v-128)) - (0.337633 * (u-128));
b = y0 + (1.732446 * (u-128));
These are an exact copy of 771-773. I would guess you meant to change the y0
to y1 after the cut/paste.
Original issue reported on code.google.com by [email protected]
on 20 Sep 2010 at 12:49
I'm setting various (allowable) frame rates (FPS), but I don't notice a
difference. FPS=1 and FPS=24 appear to give the same results. I tried a couple
of different cameras without luck. How could I check for sure that v4l is using
the correct frame rate?
Original issue reported on code.google.com by [email protected]
on 17 Jul 2011 at 11:42
What steps will reproduce the problem?
1. Make the source libv4lwcam and ocv examples
2. Using opencv2.4.8
3. Run example two
What is the expected output? What do you see instead?
It is expected to see live right end left cameras, but clearly they are not
sync.
What version of the product are you using? On what operating system?
Using last version of libv4l2can rev167 (21 October, 2014), Ubuntu 12.04 64bits
and opencv2.4.8
Please provide any additional information below.
If you block the one of the two camera, the auto brightness change the order of
what camera is ahead of sync.
please see my desktop record of the issue at:
http://youtu.be/fzxOIPgcKUo
Original issue reported on code.google.com by [email protected]
on 21 Oct 2014 at 3:59
What steps will reproduce the problem?
1. v4lstereo is fantastic in embedded applications, but
has no way to transfer the data back to a controlling machine.
What version of the product are you using? On what operating system?
Latest SVN (r64) on Ubuntu Karmic i386 and armel (on BeagleBoard)
Minoru webcam
Please provide any additional information below.
The following patch should add streaming support to v4lstereo r64. It adds
a build dependencies:
libgstreamer-plugins-base0.10-dev
libgst-dev
Please be gentle, this is my first real work with C++ and so I couldn't
figure out how to selectively disable stuff at build time. I just modified
the makefile to add the required support flags. The patch does not add
much overhead to program, but could probably be done in a more efficient
way.
The streams are raw jpegs over a tcp socket - the gstreamer pipeline could
be easily modified to use rtsp, but latency is critical for my particular
application (UAV).
The streams can easily be run with the gst-launch command printer out at
runtime.
I also added an option to explicitly run the program headless, as there are
potential use cases where you want both local display and streaming.
I tried to stick to the style of the code as much as possible.
I hope this is of use to other people, and many thanks to the authors for
this great application.
If there are any modifications (probably many) which you would like to see
before inclusion, please let me know!
Gareth R
Original issue reported on code.google.com by [email protected]
on 30 Nov 2009 at 4:06
Attachments:
What steps will reproduce the problem?
1. In two.cpp, use something other than 640x480 for ww/hh, for instance 160x120
2. compile
3. run ./two
What is the expected output? What do you see instead?
I would expect the same result as with 640x480 resolution, just in another
resolution. Instead i see nothing. This works for a single camera, for
instance when changing the resolution in ocv/test.cpp, but not in
ocv/two.cpp (or in my own application for that matter).
What version of the product are you using? On what operating system?
I believe I'm using the latest version as of july 2009. I'm running Ubuntu
9.04 x64.
Please provide any additional information below.
As a side note, it would be nice to be able to change the resolution after
the Camera has been created. Something like c.reconfigure(width,height,fps)
would be great. Thanks for this great library!
Original issue reported on code.google.com by [email protected]
on 8 Jul 2009 at 5:37
What steps will reproduce the problem?
1. Download and install libcvm57.deb on Ubuntu 11.04
2.
3.
What is the expected output? What do you see instead?
Ubuntu Software Center reports "The package is of bad quality"
The installation of a package which violates the quality standards isn't
allowed. This could cause serious problems on your computer. Please contact the
person or organisation who provided this package file and include the details
beneath.
What version of the product are you using? On what operating system?
Latest version just downloaded. Ubuntu 11.04 64-bit.
Please provide any additional information below.
Lintian check results for /home/mac/Downloads/libcvm57.deb:
E: libcvm57: wrong-file-owner-uid-or-gid usr/ 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/ 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/ 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/arrays.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/blas.h 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/cmatrix.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/cvector.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/cvm.h 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/globals.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/rmatrix.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/rvector.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/scmatrix.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/srmatrix.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/include/libcvm57/utils.cpp
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/ 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t.a 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t.so 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_debug.a 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_debug.so 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_ilp64.a 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_ilp64.so 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_ilp64_debug.a
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_em64t_ilp64_debug.so
1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_ia32.a 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_ia32.so 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_ia32_debug.a 1000/1000
E: libcvm57: wrong-file-owner-uid-or-gid usr/lib/libcvm_ia32_debug.so 1000/1000
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t.so
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_debug.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_debug.so
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_ilp64.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_ilp64.so
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_ilp64_debug.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_em64t_ilp64_debug.so
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_ia32.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_ia32.so
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_ia32_debug.a
E: libcvm57: arch-independent-package-contains-binary-or-object
usr/lib/libcvm_ia32_debug.so
Original issue reported on code.google.com by [email protected]
on 3 May 2011 at 12:16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.