Video problem with gmotionlive


4 posts
by SteveDee » Wed Jan 09, 2013 9:08 pm
I was hoping to use an RPi as a remote monitor/client to a server running Ken Lavrsen's "motion" application.

I'd like to use gmotionlive, which is a simple, light-weight, gtk viewer for streaming webcams that use multipart/x-mixed-replace streams.

When I run the "gmotionlive" app on the RPi I get an image with horizontal tearing, and each horizontal "block" is usually colour tinted.

I get a similar problem if I run motion on RPi, and monitor motion video locally on the RPi using gmotionlive.

However, if I run IceWeasel on RPi I don't have this video problem. But after running for maybe 10-15secs with cpu at 100% the RPi hangs. IceWeasel is way too heavy for RPi.

gmotionlive works fine on my laptop, and I've checked a list of dependancies and found all packages are installed.

Anyone had experience of this, or have any suggestions?
Posts: 126
Joined: Thu Dec 29, 2011 2:18 pm
by Cloudcentric » Wed Jan 09, 2013 9:23 pm
Presuming you are using Raspbian (Debian Wheezy 7) ARMHF Distro. could you not run Iceweasel from command Line so the GUI is not loaded.

I believe the the commands are:

startx /usr/bin/iceweasel
or
xinit /usr/biniceweasel
I know everything about nothing"
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am
by Cloudcentric » Wed Jan 09, 2013 10:08 pm
There is software call devilspie2 which allows the software to be sized/placed in X

http://www.gusnan.se/devilspie2

There is also available the original devilspie software

https://help.ubuntu.com/community/Devilspie


..both are in the Raspbian repositories
I know everything about nothing"
Posts: 982
Joined: Fri Sep 14, 2012 9:13 am
by SteveDee » Fri Jan 11, 2013 4:58 pm
Cloudcentric wrote:...run Iceweasel from command Line so the GUI is not loaded...


Thanks for your input Cloudcentric.

I tried: startx /usr/bin/iceweasel
...but once again the cpu load was too much and the system froze after a few seconds.

I've gone back to an earlier idea, to use VLC (which I rejected because I'd read that VLC can't handle very low frame rates).
Anyway, the magic recipe is to use a URL like this:-
http://{ip addr}:{port}/?action=stream

This displays the mjpeg video from motion and only creates cpu load of around 25-30%.
Posts: 126
Joined: Thu Dec 29, 2011 2:18 pm