USB_Cam, Could not open MJPEG Decoder
Whenever I run usb_cam with pixel_format:="mjpeg", I get the following error:
usb_cam video_device set to [/dev/video1]
...
usb_cam pixel_format set to [mjpeg]
[mjpeg @ 0x7fabe40f0160]codec type or id mismatches
Could not open MJPEG Decoder
Segmentation Fault
I'm using a Logitech Webcam Pro 9000, on Ubuntu 11.04, with the latest "usb_cam" downloaded from the bosch-ros-pkg repository. usb_cam works great when I set pixel_format to "yuyv", and I can see the image with image_view. However, the frame rates for "mjpeg" should be 4x higher than "yuyv" at this camera's native resolution (according to the list at http://www.quickcamteam.net/devices/l... ). I would ultimately like to use this webcam to track a 'fast' moving target, one that I should be able to catch at 30fps, but not reliably catch 5-7.5 fps.
I've installed ffmpeg and libavcodec-dev from Ubuntu's software center. I'd be happy to supply any additional information, but I'm not sure what to look for.
- Thanks!
The link below: https://code.ros.org/trac/opencv/tick... seems broken. Does anyone has an answer to this? Same problem here. I am using Indigo, usb_cam and Ubuntu 14.04.