X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=gst-plugins-base-subtitles0.10%2Fsys%2Fv4l%2FTODO;fp=gst-plugins-base-subtitles0.10%2Fsys%2Fv4l%2FTODO;h=96616c087eeabfa395dc252cdd92a107b1e1588e;hb=57ba96e291a055f69dbfd4ae9f1ae2390e36986e;hp=0000000000000000000000000000000000000000;hpb=be2c98fb83895d10ac44af7b9a9c3e00ca54bf49;p=mafwsubrenderer diff --git a/gst-plugins-base-subtitles0.10/sys/v4l/TODO b/gst-plugins-base-subtitles0.10/sys/v4l/TODO new file mode 100644 index 0000000..96616c0 --- /dev/null +++ b/gst-plugins-base-subtitles0.10/sys/v4l/TODO @@ -0,0 +1,44 @@ +TODO list (short term): +======================= +* v4lsrc/v4lmjpegsrc/v4l2src: fix interlacing (not handled at all...) + +TODO list (long term): +====================== +* v4lmpegsrc (*hint* MPEG card needed *hint*) +* v4l2sink +* BSD-videosrc (bktr) + +Useful Documentation: +===================== +MJPEG/V4L API : ./videodev_mjpeg.h + +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/ + +BSD/Meteor API: /usr/include/machine/ioctl_meteor.h + +mjpegtools : http://www.sourceforge.net/projects/mjpeg + +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())