use mjpg-streamer with ubuntu on BBB

Hi everyone,

I’ trying to use mjpg-stremer on my Beaglebone black.

My distro is the ubuntu eMMC flasher for BBB from elinux.

I’m using an C270 logitech webcan, and this the commands i used in order to install ans use mjpg-player

sudo apt-get update

sudo apt-get install g++ curl pkg-config libv4l-dev libjpeg-dev build-essential libssl-dev vim cmake
sudo apt-get install imagemagick
cd /home/ubuntu
tar -xvf ./mjpg-streamer.tar.gz
cd mjpg-streamer/
sudo make install
mjpg_streamer -i ‘/usr/local/lib/ -d /dev/video0 -r 1280x960 -f 15 -n -y’ -o ‘/usr/local/lib/ -w /usr/local/www -p 8080’

On the beaglebone, mjpg-streamer, starts correcty :

MJPG Streamer Version: svn rev:
i: Using V4L2 device.: /dev/video0
i: Desired Resolution: 1280 x 960
i: Frames Per Second.: 15
i: Format…: YUV
i: JPEG Quality…: 80
o: www-folder-path…: /usr/local/www/
o: HTTP TCP port…: 8080
o: username:password.: disabled
o: commands…: enabled

But whene, i go to my streamer page ‘’ ", i have acces to the website but all the videos are blank.

Auto Generated Inline Image 1.png

I don’t know what, is happening;

And when i tried to use mjpg-streamer on my raspberry pi 2 and my webcam.

i use EXACTLY the same commands on raspbian jessie. And it WORKS !!!

Does anyone have an idea to help me ? Or know what is happening on my BBB

Thanks a lot

try one frame per second and 50% quality to start with and go up from

Thanks for your reply.

Modification of the fps and quality changes nothing.

BUT :slight_smile:

I just found this topic :

And a guy explain that mjpg-streamer need a patch.

And it works !!!