maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Smartcam Maemo 5 Port - Now with more Qt (https://talk.maemo.org/showthread.php?t=71452)

Bramji 2011-03-29 09:16

Re: [Announce] Smartcam Maemo 5 Port
 
i have installed al files( at the app mananger all the 7 files are there)
but i have still no icon at the menu to launch smart cam.
also i tried this:
ls -al /etc/smartcam-m5
he sais it isn't there. what do i wrong?

Radu 2011-03-29 09:23

Re: [Announce] Smartcam Maemo 5 Port
 
You said you installed it without xTerminal. How exactly did you install them? Describe each step.

Bramji 2011-03-29 09:38

Re: [Announce] Smartcam Maemo 5 Port
 
well, the 6 deps files on this page:
http://talk.maemo.org/showpost.php?p...3&postcount=20
installed just to go to the internal memory, and then it installes itselfs.
the last one #2 Download and install Smartcam for Maemo 5
i pressed on instal on my pc, unziped the file into a folder.
that folder I transferd to the internal memory and then just run the deb file.
I have installed:
libglib2.0-cil_2.10.4-1_armel.deb
libgtk2.0-cil_2.10.4-1_armel.deb
libmono2.0-cil_2.4.3-1_all.deb
libmono-corlib2.0-cil_2.4.3-1_all.deb
ibmono-posix2.0-cil_2.4.3-1_all.deb
libmono-system2.0-cil_2.4.3-1_all.deb
mono-runtime_2.4.3-1_arvmel.deb
mono-runtime

I hope i described it well

azkay 2011-03-29 12:47

Re: [Announce] Smartcam Maemo 5 Port
 
And you did run ./smartcam-m5-install.sh as root?

Quote:

Originally Posted by Radu (Post 977604)
Thanks, great application, works fine after manually installing mono as described earlier in this thread. Perhaps the mono installation could be automated in the initial sh script.
I also had gstreamer hang and eating my CPU, had to kill it manually.

Anyway, is there any place where I can modify the parameters gstreamer is invoked with, such as changing the video size/quality? Thank you!

Yeah, sorry for being so slow with updating, last 2 days ive been setting up Linux on my laptop and its just died again, so ive been trying to figure out why it wont boot up.

The quality slider sets the quality from 0~90, I found anything higher than 90, the video just basically died and want to really inconsistent fps (0~1fps, every few frames were blank, etcetc).

The video size theres no point changing because the Windows side Smartcam only supports 320x240 or 160x120, I might be able to look at recompiling it to support higher res, but I wouldnt count on it for a little while, C++ hurts my head. If I was "set" on recompiling the PC side, it would probably end up being changed more, maybe so gstreamer can send the frames directly to the server, without going through the local server on the n900 first (Currently it goes, N900 app > gstreamer > N900 app > PC). If I recompiled it to take a udp stream instead, without adding on the custom headers and such, it would completely take off the N900 server dependency and could probably lower usage quite a bit. The GUI on the N900 would effectively be only a GUI, with no other processing.

/walloftext

EDIT::
Actually. Im going to go to bed, wake up, try to fix the laptop as fast as possible, then look at what I mentioned above. Now its made me curious, seems like a nice challenge to pass some time and keep practicing my coding.

If I can get anywhere, after a few days/weeks, I could have a "proof of concept" sort of thing happening, after that maybe even a complete smartcam port (PC and N900 side), specifically tailored for N900 use.

EDIT::
If you cant get it installed before I wake up, once I get linux working on my laptop, ill make a video on installing it or something.

Bramji 2011-03-29 12:59

Re: [Announce] Smartcam Maemo 5 Port
 
how can i run that?
(./smartcam-m5-install.sh)

azkay 2011-03-29 13:04

Re: [Announce] Smartcam Maemo 5 Port
 
Go to the directory where you extracted the .tar.gz
Code:

cd /home/user/MyDocs/smartcam-m5
(or wherever you extracted it too)
Code:

./smartcam-m5-install.sh

handaxe 2011-03-29 13:13

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 977715)
....If I recompiled it to take a udp stream instead, without adding on the custom headers and such, it would completely take off the N900 server dependency and could probably lower usage quite a bit. The GUI on the N900 would effectively be only a GUI, with no other processing.
....

One thing about udp is that some routers are set to mess with it for security reasons. TCP is a safe option in that respect.

I have been messing around with streaming using gstreamer and vlc via udp/rtp and it is harder than one thinks initially to get it to work across the WAN. The receiver often chokes and the stream is very bitrate sensitive. Maybe it is just my incompetence. LAN is easy, even for me :)

azkay 2011-03-29 13:21

Re: [Announce] Smartcam Maemo 5 Port
 
Maybe try both. I mean, the first version I used was over TCP, it had a ton of framerate problems, then I recoded it in udp and everything was fixed, back up to 30fps.

Ill stick with udp for the first version (if I end up recoding it and not just editing a few things), (if I ever get that far) then change it to optional tcp, I guess.

UDP is easier to code with, too. For image/video transfer anyway, as it doesnt do any checking to see if the frames arrived etcetc, it takes away some overhead.

Lets see what happens.

lolimages:
http://www.skullbox.net/udp.jpg
http://www.skullbox.net/tcp.jpg

Bramji 2011-03-29 16:06

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 977729)
Go to the directory where you extracted the .tar.gz
Code:

cd /home/user/MyDocs/smartcam-m5
(or wherever you extracted it too)
Code:

./smartcam-m5-install.sh

I get a permission denied... i tried root and sudo gainroot

sethstorm 2011-03-29 18:52

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by Bramji (Post 977878)
I get a permission denied... i tried root and sudo gainroot

I thought the location that MyDocs was in, isn't on a filesystem that allows for execution. Thus the permission denied while root messages.


All times are GMT. The time now is 21:03.

vBulletin® Version 3.8.8