Ave Cesar,
>   Does anyone have a tool to save a mjpeg stream captured from an uvc 
> webcam that outputs mjpeg (like the Logitech Quickcam 5000) directly to 
> disk, using a command-line tool (that could be embedded in scripts)? I 
> tried getting the stream from the webcam with uvc_stream and saving it 
> with vlc, but even with command-line option vlc still opens the GUI. I 
> would like to save the mjpeg directly without relying on transcoding 
> (like with ffmpeg) due to CPU utilization (planning to use it on an 
> embedded CPU). 
You may checkout revision #31 of mjpg-streamer and issue the following
command:
# make clean all
# export LD_LIBRARY_PATH="$(pwd)"
# mkdir -p pictures
# ./mjpg-streamer -o "output_file.so -f pictures"

More examples are to be found in the included "start.sh" file

URL: http://mjpg-streamer.sf.net
The intended module is
"http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/plugins/output_file/output_file.c?revision=28&view=markup";
The subversion repsository is at:
http://mjpg-streamer.svn.sourceforge.net/viewvc/mjpg-streamer/mjpg-streamer/

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

Reply via email to