gstreamer/sys/v4l2
Hans de Goede 10d41286d5 v4l2src: fix 'hang' with some cameras caused by bad timestamping if no framerate is available
For cameras/drivers that don't support e.g. VIDIOC_G_PARM we'd end up without
a framerate and would try to divide by 0, causing run-time warnings and all
frames to be timestamped with 0, which makes sinks that sync against the clock
drop them, causing 'hangs' (observed with the pwc driver and a Logitech QuickCam
Pro 4000). So if we do not know the framerate, simply don't adjust the
timestamps. Fixes #591451.
2009-08-14 13:30:31 +01:00
..
.gitignore add cvsignores 2003-09-11 19:17:02 +00:00
gstv4l2.c v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00
gstv4l2bufferpool.c v4l2sink: change where buffers get dequeued 2009-08-04 09:22:29 +02:00
gstv4l2bufferpool.h v4l2sink: change where buffers get dequeued 2009-08-04 09:22:29 +02:00
gstv4l2colorbalance.c sys/v4l2/Makefile.am: Fix makefile, list libs in stack order. 2006-09-26 13:18:06 +00:00
gstv4l2colorbalance.h configure.ac: Detect video4linux headers on Solaris too. 2008-01-21 19:35:58 +00:00
gstv4l2object.c v4l2src: clear format list in READY->NULL 2009-08-14 10:15:43 +02:00
gstv4l2object.h v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00
gstv4l2sink.c v4l2: Remove some OMAP specific hacks 2009-08-04 09:32:07 +02:00
gstv4l2sink.h v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00
gstv4l2src.c v4l2src: fix 'hang' with some cameras caused by bad timestamping if no framerate is available 2009-08-14 13:30:31 +01:00
gstv4l2src.h v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00
gstv4l2tuner.c Fix comparison of the tuner norms 2009-01-30 14:42:44 +01:00
gstv4l2tuner.h sys/v4l2/gstv4l2tuner.*: Fix _set_channel(): remove useless g_object_notify() for "channel" property that doesn't exi... 2006-10-18 11:04:09 +00:00
gstv4l2vidorient.c sys/v4l2/: Fix compilation with newer GIT kernels that deprecated 2008-06-09 08:42:49 +00:00
gstv4l2vidorient.h sys/v4l2/Makefile.am: Fix makefile, list libs in stack order. 2006-09-26 13:18:06 +00:00
gstv4l2xoverlay.c sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36. 2006-10-09 07:01:19 +00:00
gstv4l2xoverlay.h sys/v4l2/gstv4l2xoverlay.*: Fix build as per the patch in #338818 comment 36. 2006-10-09 07:01:19 +00:00
Makefile.am v4l2: fix make distcheck by disting some more headers 2009-08-11 03:08:01 +01:00
README Fix level for multi-channel case. 2007-02-22 14:35:28 +00:00
v4l2_calls.c v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00
v4l2_calls.h v4l2: Directly use GST_PTR_FORMAT for printing caps with the LOG_CAPS macro 2009-08-04 14:45:31 +02:00
v4l2src_calls.c v4l2sink: change where buffers get dequeued 2009-08-04 09:22:29 +02:00
v4l2src_calls.h v4l2: Add v4l2sink element 2009-08-04 09:16:56 +02:00

v4l2 plugins
============

The idea is a bit the same as the idea for the v4l1 plugins. We want
one generic v4l2element, and a few child objects (probably only two:
v4l2src and v4l2sink):

                /-------- v4l2src
v4l2element ---=
                \-------- v4l2sink

Both v4l2src and v4l2sink have a uncompressed and a compressed
recording-/playback-mode. Since this is all part of v4l2, the 'client'
of these elements, i.e. an application using v4l2src/v4l2sink, will
hardly notice this. All capsnego stuff is done inside, and the plugin
knows which formats are compressed and which are not.

Please note that the v4l1 and the v4l2 plugins are *not* compatible
concerning properties. Naming has been kept the same where possible,
but in some cases, properties had to be removed or added to make
full use of v4l2.

V4L2 API: http://linux.bytesex.org/v4l2/.
          http://v4l2spec.bytesex.org/
          /usr/include/linux/videodev2.h or

Kernel patches available from
          http://dl.bytesex.org/patches/.

Articles:
          http://lwn.net/Articles/203924/