Hello Thomas,
By a fluke I implemented the YUV pixel format a few hours ago, even
though I did not like it so much, since it consumes many CPU cycles to
do such a YUV->JPEG compression. However, if that is your only
possibility you may give it a try. You can get the most current version
by using subversion:

$ mkdir somefolder
$ cd somefolder
$ svn co https://mjpg-streamer.svn.sourceforge.net/svnroot/mjpg-streamer
mjpg-streamer
$ cd mjpeg-streamer/mjpg-streamer
$ make clean all

Compression is done by libjpeg, please check if you have installed the
header files and its library.

In your case the invocation of the server will look like:
$ export LD_LIBRARY_PATH=.
$ ./mjpg_streamer --input "input_uvc.so --yuv --fps 5 --resolution
320x240" --output "output_http.so --www ./www"

If you want to daemonize the server (command line switch -b), use
absolute paths.

Known issues:

    * My Logitech 5000 just supports 160x120, 320x240 but not 640x480
      capturing in YUV pixel format mode. It also does not work with
      luvcview to use the highest resolution.

Feedback welcome and with kind regards,
Tom
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to