2001-12-23 19:14:18 +00:00
|
|
|
TODO list (short term):
|
|
|
|
=======================
|
2002-09-20 09:28:46 +00:00
|
|
|
* v4lsrc/v4lmjpegsrc/v4l2src: fix interlacing (not handled at all...)
|
2003-06-01 20:55:38 +00:00
|
|
|
* fix v4l*src ! spider ! colorspace ! xvideosink
|
|
|
|
- first sets to PLAYING, then (re-)triggers capsnego - that breaks
|
2001-12-23 19:14:18 +00:00
|
|
|
|
|
|
|
TODO list (long term):
|
|
|
|
======================
|
2002-02-04 19:47:37 +00:00
|
|
|
* v4lmpegsrc (*hint* MPEG card needed *hint*)
|
2002-09-20 09:28:46 +00:00
|
|
|
* v4l2sink
|
2002-11-13 12:35:55 +00:00
|
|
|
* BSD-videosrc (bktr)
|
2002-02-04 19:47:37 +00:00
|
|
|
* color correction (brightness, hue, etc.)
|
|
|
|
* gamma correction
|
2001-12-23 19:14:18 +00:00
|
|
|
|
|
|
|
Useful Documentation:
|
|
|
|
=====================
|
|
|
|
MJPEG/V4L API : ./videodev_mjpeg.h
|
2004-05-31 20:36:07 +00:00
|
|
|
|
|
|
|
V4L API : /usr/include/linux/videodev.h or
|
|
|
|
/usr/src/linux/Documentation/video4linux/API.html or
|
|
|
|
http://linux.bytesex.org/v4l2/API.html
|
|
|
|
|
|
|
|
V4L2 API : /usr/include/linux/videodev2.h or
|
|
|
|
http://v4l2spec.bytesex.org/
|
|
|
|
|
2001-12-23 19:14:18 +00:00
|
|
|
BSD/Meteor API: /usr/include/machine/ioctl_meteor.h
|
2004-05-31 20:36:07 +00:00
|
|
|
|
2001-12-23 19:14:18 +00:00
|
|
|
mjpegtools : http://www.sourceforge.net/projects/mjpeg
|
2003-05-21 06:33:18 +00:00
|
|
|
|
|
|
|
Capturing:
|
|
|
|
==========
|
|
|
|
* sound is the master clock
|
|
|
|
* it's probably a good idea to create an audiosource element:
|
|
|
|
- autodetect alsa/oss
|
|
|
|
- first try alsa, then oss... they work the same internally
|
|
|
|
* same for videosource:
|
|
|
|
- autodetect v4l/v4l2 + mjpeg capabilities
|
|
|
|
- for this, just open device using v4l2element. On success:
|
|
|
|
+ use v4l2
|
|
|
|
- on failure:
|
|
|
|
+ use v4lelement and query for MJPEG capabilities
|
|
|
|
+ if that's available, combine caps of v4lmjpegsrc and v4lsrc
|
|
|
|
* both sources run in their own GstThread with a high priority
|
|
|
|
* an encoder element takes care of encoding + muxing. A toplevel element
|
|
|
|
(reverse of spider) is probably a good idea here. How? Don't know...
|
|
|
|
* format negotiation via filtered caps
|
|
|
|
* statistics via listening to the frame_{lost,inserted,deleted,captures}
|
|
|
|
signals and GST_PAD_QUERY_POSITION (gst_pad_query())
|