Hello everyone.
I am having some troubles getting a stream from my Logitech USB camera when resolution is over 320x240.
Here is what I did:
- I have installed Ubuntu core v15.09, kernel version 4.2.0.
- I have downloaded and compiled mjpg-streamer on my Ubuntu.
- I have connected the USB Camera: Logitech C905 (2MP).
The mjpg-streamer opens a web port 8080, which enables me to connect with the browser and see a video stream. When the resolution is up to 320x240 everything works. But when I am trying a bigger resolution, the stream does not show up.
Here is the command for mjpg-streamer for 640x480:
./mjpg_streamer -i “input_uvc.so -d /dev/video0 -y -n -r 640x480” -o “output_http.so -w ./www” &
I have enabled error logs
sudo echo 0xffff > /sys/module/uvcvideo/parameters/trace
When the resolution is 320x240, each frame statistics is shown in the dmesg. But when using a bigger resolution, dmesg shows two types of errors:
uvcvideo: Marking buffer as bad (error bit set).
uvcvideo: USB isochronous frame lost (-18).