WEBCAM

Discussioni sulla funzione di stazione di videosorveglianza e tutto quello che ruota intorno ad essa (IPcams etc.)
Rispondi
etesmar
Messaggi: 42
Iscritto il: 03 mar 2011, 10:25

WEBCAM

Messaggio da etesmar »

E' possibile collegare una webcam ad una porta usb del nas e accedere ad essa dall'esterno??
Non mi interessa fare cose particolari come reistrazioni o altro, solo vedere il video.
Avatar utente
edo
Messaggi: 2654
Iscritto il: 25 ago 2008, 22:59
Località: Brescia
Contatta:

Re: WEBCAM

Messaggio da edo »

Una webcam per essere vista da remoto non serve collegarla al NAS, basta che sia in rete e attraverso il Port fowardind del router potrà essere vista anche dall esterno della LAN, la configuri nel NAS solo se desideri registrarla.
Telecamere solo USB non possono essere gestite dal NAS, potrai collegarle ad un PC ed eventualmente utilizzare remote desktop.
- TS-659 Pro - TS-509 Pro - FW v3.8.0 - 6 * WD RED 2TB - RAID5 - EXT4 -
- iMac 27 i7 3,4Ghz SSD256GB - OSX 10.8.2 Mountain Lion
- TViXM6500A - Popcorn Hour C300 A400 - NMP1000P - AppleTv
- Dreambox 8000HD -Dreambox 800se - XBOX360 - WII
- Router Netgear DGND3700 - Switch CISCO SG 100-16 - APC Smart-UPS 1500
- http://www.hitech-audiovideo.it
etesmar
Messaggi: 42
Iscritto il: 03 mar 2011, 10:25

Re: WEBCAM

Messaggio da etesmar »

Ti ringrazio della risposta, il mio desiderio era non lasciare pc accesi a casa quando sono assente , speravo che lasciando acceso solo il NAS potessi in qualche modo vedere la WEB, non mi interessava registrare il video.
Pazienza dovrò comprare una IP Cam. : Sad :
Avatar utente
unreal64
Messaggi: 265
Iscritto il: 08 feb 2011, 20:50
Località: Roma
Contatta:

Re: WEBCAM

Messaggio da unreal64 »

In realtà leggevo qualche tempo fa che qualcuno sul forum ufficiale c'è riuscito...
http://forum.qnap.com/viewtopic.php?f=97&t=5437

il problema grande mi sa che a te non interessa la registrazione, ma la visualizzazione via web, giusto?
l'utente SOb_S ha messo il link a mjpg streamer che dovrebbe fare al caso tuo ;)

Considera però che configurare il tutto probabilmente non sarà semplicissimo... in caso di aiuto dovrai chiedere in inglese sul forum ufficiale, non credo che qualcuno degli utenti ITA l'abbia fatto...
Running:
HW: QNAP TS-219P+ // 2 x Seagate 2TB (ST2000DL003) // APC ES 550 BE550G-GR
FIRM: v3.4.0 Build 0212
QPKGs: Optware(IPKG) // TwonkyMedia 6.0.30 // SqueezeBox 7.5.3R2
Immagine
dts
Messaggi: 29
Iscritto il: 02 set 2009, 18:30

Re: WEBCAM

Messaggio da dts »

Io ci sto provando e posso dire che la procedura descritta sul forum inglese è molto semplice e spiegata passo passo.
Il problema è che se la webcam che si possiede non è inclusa nel driver che gli utenti del forum hanno già compilato, saremo costretti a compilarcelo da noi e allora la questione si fa lunga (nel migliore dei casi) o impossibile quando QNAP non ha reso disponibile il codice sorgente del NAS che si possiede (e questo è il mio caso in quanto non è disponibile il codice sorgente del TS 209 PRO II... Ma perchè?).
fasix
Messaggi: 187
Iscritto il: 31 lug 2010, 16:52

Re: WEBCAM

Messaggio da fasix »

puoi spiegarmi qualche procedura hai seguito?
io nel post del forum inglese mi sono perso. ci sono varie prove non correlate una l'altra.
mi puoi riportare quali passi hai eseguito?
dts
Messaggi: 29
Iscritto il: 02 set 2009, 18:30

Re: WEBCAM

Messaggio da dts »

Io ho seguito passo passo le istruzioni di JYX sul forum inglese che ti riporto qui di seguito.
Purtroppo i moduli compilati presenti nella discussione non sono compatibili con il mio TS 209 pro II.
Spero di esserti stato utile.


"You have to install ipkg, dig that information up somewhere in the forum if you haven't installed it already. Then I also suggest that you spend 5-10 minutes to google up what kind of driver you should use for your particular camera. If it's not supported by spca5xx, pwc (or gspca), then this "guide" isn't anything for you and you can stop reading here, otherwise ...

1) Install the vidcat software.
ipkg install w3cam


2) Copy the kernel module files provided by S0b_S earlier in this thread to: /lib/modules/misc
(i moduli da copiare li trovi sempre nella discussione inglese e sono i seguenti:

uvcvideo.ko*
video-buf.ko*
spca5xx.ko*
v4l1-compat.ko*
videodev.ko*
v4l2-common.ko*


3) Now you have to make a couple of devices in the /dev/folder, so type:
(digita i comandi seguenti)

mknod /dev/video0 c 81 0
ln -s /dev/video0 /dev/video
mknod /dev/video1 c 81 1
mknod /dev/video2 c 81 2
mknod /dev/video3 c 81 3
chmod 666 /dev/video*


4) And now it's time to load the modules, the order is important since we are using insmod! Otherwise you will get an error message that says something like this, depending on which module you want to load: "insmod: cannot insert `/lib/modules/misc/spca5xx.ko': Unknown symbol in module (-1): No such file or directory".
So, take it in this order and you shouldn't get messages like that above:

insmod /lib/modules/misc/videodev.ko
insmod /lib/modules/misc/spca5xx.ko
insmod /lib/modules/misc/pwc.ko


5) Try to grab a picture now using vidcat


vidcat -d /dev/video0 > /Public/test.jpg


If your lucky a picture will be created in your /Public folder with the name test.jpg. Then you smile, you can take pictures using your webcam. If you get messages saying "Can't open device /dev/video0", then exchange /dev/video0 with /dev/video1 or 2 or 3 on the vidcat command line above. If you are really unlucky it will not work anyway and then I suggest you try the gspca driver instead of the spca5xx (if this is what you use for your camera). This driver is provided in this post. Copy it to the same place as the spca5xx and insmod it in the same way, but still after the videodev driver!

I've also setup modprobe which removes the problem with having to figure out the order of loading the modules, but that is another topic and the answer is elsewhere on the QNAP-forum. I found it by searching for modprobe and modules.dep keywords.

Good luck!
fasix
Messaggi: 187
Iscritto il: 31 lug 2010, 16:52

Re: WEBCAM

Messaggio da fasix »

grazie, mi sei stato molto utile. vorrei sapere se questa guida potrebbe essere compatibile con il mio TS-219P
thanks
dts
Messaggi: 29
Iscritto il: 02 set 2009, 18:30

Re: WEBCAM

Messaggio da dts »

Il modo migliore per saperlo è applicarla. Infondo sono pochi passi e al massimo sarai costretto a riavviare il NAS in caso di blocco del sistema

In bocca al lupo e fammi sapere
Rispondi

Torna a “Stazione di Sorveglianza e IP cams”