Mono Framework

Jul 9, 2014 at 3:53 PM
I noticed you mention that this should run under the Mono Framework (base functionality) in Linux.

Would you have some guidance/instructions on how I can go about setting this up under the Mono framework (assuming that I already have the framework set up on my Linux box)?

Thanks.
Coordinator
Jul 9, 2014 at 5:13 PM
Hmm. Well I haven't tried it since last December but I believe you can get the command line version running with the command:
mono MJpegCameraProxyCmd.exe
Try that out first and make sure everything works as expected.

If all is good, you can get it running as a background service by following this guide like I did: http://mattdeboard.net/2012/10/19/how-to-run-windows-service-as-linux-daemon/

MJpegCameraProxy.exe is the service executable.


Report back if you run in to any difficulties.
Jul 10, 2014 at 5:39 AM
Thanks! I'll try running it on a Raspberry Pi first and let you know how it goes.
Coordinator
Jul 10, 2014 at 1:32 PM
For Raspberry Pi (which is what I tested on) you may also need to install libgdiplus: http://www.shatalmic.com/raspberry-pi-mono-libgdiplus
Jul 10, 2014 at 5:34 PM
It's working! No noticeable performance differences on the RPi too.

Had it set up as follows:

apt-get install mono-complete

then followed the guidance in your link:
sudo apt-get install automake
sudo apt-get install libtool
sudo apt-get install libglib2.0-dev
sudo apt-get install libxrender-dev
sudo apt-get install libfontconfig1-dev
sudo apt-get install libpng12-dev
sudo apt-get install libgif-dev
sudo apt-get install libjpeg8-dev
sudo apt-get install libtiff5-dev
sudo apt-get install libexif-dev
sudo apt-get install gettext

then ran the script posted in the forum

then "mono MJpegCameraProxyCmd.exe"

Thanks mate for your help in getting this set up.
Coordinator
Jul 10, 2014 at 6:24 PM
I'm glad you got it working! I'm sure you could bog down the RPi though if you added several megapixel cameras and loaded the all.html page (since that page requests shrunken images, the app has to resize them).