use mjpg-streamer with ubuntu on BBB

391 views
Skip to first unread message

dauph...@gmail.com

unread,
Jun 14, 2016, 6:56:14 PM6/14/16
to BeagleBoard
Hi everyone,

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

My distro is the ubuntu eMMC flasher for BBB from elinux.
http://elinux.org/BeagleBoardUbuntu#eMMC:_BeagleBone_Black.2FGreen

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
wget https://github.com/shrkey/mjpg-streamer/raw/master/mjpg-streamer.tar.gz
tar -xvf ./mjpg-streamer.tar.gz
cd mjpg-streamer/
make
sudo make install
mjpg_streamer -i '/usr/local/lib/input_uvc.so -d /dev/video0 -r 1280x960 -f 15 -n -y' -o '/usr/local/lib/output_http.so -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 '' 192.168.1.16:8080 ", i have acces to the website but all the videos are blank.



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


Auto Generated Inline Image 1

evilwulfie

unread,
Jun 14, 2016, 8:36:40 PM6/14/16
to beagl...@googlegroups.com
try one frame per second  and 50% quality to start with and go up from there.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/7b602ddb-4831-4ffc-96df-8f73f24d3830%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


dauph...@gmail.com

unread,
Jun 15, 2016, 2:25:17 PM6/15/16
to BeagleBoard
Thanks for your reply.

Modification of the fps and quality changes nothing.

BUT :)

I just found this topic :
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=109352

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

And it works  !!!










Reply all
Reply to author
Forward
0 new messages