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)

handaxe 2011-04-12 22:23

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 986904)
Do you mean having a viewfinder on the n900 side, so you can see what your streaming on the n900 while its streaming?

Yes, but from another smartcam, say on a n95 s60 device.

Quote:

Originally Posted by azkay (Post 986904)
I have no idea what you just said, lolol.

And neither do I :) Well.... right, when you exit the PC server, the n900 (or for that matter n95) camera (client) exits. This means that if you want to revisit the camera from the PC you cannot until you go to the camera phone and restart smartcam. The design issue refers to the fact that smartcam was conceived to provide a pc/laptop with a web cam, this assuming that remote usage was not a criterion.

Hope that is clearer.

azkay 2011-04-12 22:32

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by handaxe (Post 986932)
Yes, but from another smartcam, say on a n95 s60 device.

So instead of using it as a webcam, your watching the n95 stream- on the n900?

That might work. I mean, I dont have an N97 anymore for testing, but I should be able to get around that (I can just use what I already use the n900 for, and relay it back or something for testing).

I can look into it once I figure out this GUI situation. It should be easily doable, though.

Quote:

Originally Posted by handaxe (Post 986932)
And neither do I :) Well.... right, when you exit the PC server, the n900 (or for that matter n95) camera (client) exits. This means that if you want to revisit the camera from the PC you cannot until you go to the camera phone and restart smartcam. The design issue refers to the fact that smartcam was conceived to provide a pc/laptop with a web cam, this assuming that remote usage was not a criterion.

Hope that is clearer.

Maybe an always running background "monitor" process? Running on the n900, every X seconds it would tcpconnect to the PC smartcam server, if it exists, start smartcamM5+connect? If not, wait a few seconds and check again?

handaxe 2011-04-12 22:45

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 986935)
So instead of using it as a webcam, your watching the n95 stream- on the n900?

That might work. I mean, I dont have an N97 anymore for testing, but I should be able to get around that (I can just use what I already use the n900 for, and relay it back or something for testing).

I can look into it once I figure out this GUI situation. It should be easily doable, though.

Maybe an always running background "monitor" process? Running on the n900, every X seconds it would tcpconnect to the PC smartcam server, if it exists, start smartcamM5+connect? If not, wait a few seconds and check again?

Why not be able to use smartcam on the n900 as on the a PC - sorting out the kernel driver issue for one I imagine? But yes, it would be nice.

As for the always available cam issue, it in fact means making the n900 smartcam more server-liḱe and the PC more client-like (the classic webcam design) and thus the very opposite of how smartcam was conceived. Your description above sounds good. Perhaps as an option - ie it can go away for good as it does now, or it can spawn the listener process?

azkay 2011-04-12 22:50

Re: [Announce] Smartcam Maemo 5 Port
 
Maybe its because its 9am and I havnt slept yet, but im really confused right now. lolol.

For the first idea, do you mean using the N95 as a webcam for the n900?

azkay 2011-04-13 07:20

Re: [Announce] Smartcam Maemo 5 Port
 
First version up, coded in C++ with Qt4.
Everything on it "works", except the LED checkbox is disabled until I can get it working.

You can now get rid of mono and the runtimes if you dont use them for anything else:
http://talk.maemo.org/showpost.php?p...3&postcount=19

Viewfinder if on, will push the CPU usage up a little.
Any bugs with this version? Any suggestions?

EDIT::
Seems I didnt test the shortcut, nothing happens when I press it.

EDIT::
Weird. Now it doesnt find any smartcam files after installing. Ffffffffff.
If someone figures out whats wrong with the .deb before I do, let me know. Its 6pm and I havnt slept in over 24 hours, so bedtime.

EDIT::
Fixed

handaxe 2011-04-13 20:18

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 986942)
For the first idea, do you mean using the N95 as a webcam for the n900?

Yes, or using a source from smartcam running on any platform in can run on - symbian, samsung, another n900 etc

Congrats on the new version. Will look at it soon....

azkay 2011-04-13 20:42

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by handaxe (Post 987629)
Yes, or using a source from smartcam running on any platform in can run on - symbian, samsung, another n900 etc

Congrats on the new version. Will look at it soon....

To actually use it as a WEBCAM on the N900, I think you would have to do this http://www.kudanai.com/2010/11/howto...webcam-in.html for the N900 instead of on the PC.

But to just view the stream on the N900, that shouldnt be too hard.

handaxe 2011-04-13 21:31

Re: [Announce] Smartcam Maemo 5 Port
 
Quote:

Originally Posted by azkay (Post 987085)
First version up, coded in C++ with Qt4.

Looks good indeed.

Save and load the ip : port do not work for me.

If you disconnect from the PC end, then smartcam n900 locks-up. Some buttons are responsive but nothing happens. Closes OK and restarts fine.

The viewfinder is fun (and as you note, a cpu gobbler but lo-rez works well). Once could re-insert the logo when the viewer checkbox is unticked?

Good-stuff.

PS On the other theme, any idea what would it take to get the linux version of the smartcam server working on the n900?

azkay 2011-04-13 22:28

Re: [Announce] Smartcam Maemo 5 Port - Now with more Qt
 
Weird, the save/load works fine for me.
Check in /opt/smartcam_m5/bin
It should remake it with whatevers in the "smartcam:" inputbox everytime you hit "save".

I hadnt tested closing the server on the PC, only closing the program on the N900 (Gstreamer closes if you hit "X", now).

I couldve sworn I had the viewfinder setup to put the logo back up when its unchecked. Ill have to look into it.

I havnt looked at the Linux server for smartcam yet, ill look at it some time.

justice4all3000 2011-04-14 09:23

Re: [Announce] Smartcam Maemo 5 Port - Now with more Qt
 
now all we need is some kind of camera stand for the n900


All times are GMT. The time now is 17:13.

vBulletin® Version 3.8.8