uvc_cam with mjpg pixelformat [closed]
Hi there,
I would like to use the uvc_camera package which has probably hardware mjpeg compression support. (mjpeg stream comes from webcam) I had a look through the code and it seems that this class supports MJPG (there are several mode == MODE_JPEG requests). Therefore I changed
uvc_cam::Cam::MODE_RGB
to
uvc_cam::Cam::MODE_MJPG
which compiles but throws an error when launching:
[camera_process-2] process has died [pid 23467, exit code -11, cmd /opt/ros/fuerte/stacks/nodelet_core/nodelet/bin/nodelet manager __name:=camera_process __log:=/home/pclinux/.ros/log/dbecfd0c-5076-11e2-bb4d-b8ac6f40a936/camera_process-2.log].
log file: /home/pclinux/.ros/log/dbecfd0c-5076-11e2-bb4d-b8ac6f40a936/camera_process-2*.log
Does somebody know how to use the MJPG compression? It works with guvcview