數位天堂

Nokia:科技始終來自於人性; 拜耳:如果文明不能使我們更相愛,那科技便失去意義!
歡迎您的加入,讓我們一起討論科技與環保的整合應用...

您尚未登入。

#1 2011-07-19 12:34:45

Aven
天使
來自: 數位天堂
註冊日期: 2007-07-15
文章數: 2266
網站

在 RT-N16 上安裝 webcam 可行性?

有沒有人成功在 RT-N16 上安裝 webcam ,可以遠端連回去監看的?
網路上查到的還是失敗的居多..orz

https://digiland.tw/uploads/2_rt-n16_webcam.jpg





技術問題請於論壇上集眾人之力公開討論,感恩 thankgod

離線

 

#2 2011-07-19 21:47:51

hippo
天使
註冊日期: 2008-10-07
文章數: 1562
目前積分 :   20 

Re: 在 RT-N16 上安裝 webcam 可行性?

Lly@RT-N16, 不知是否仍為舊WebUI? 如果是舊WebUI, 可能有WebCam功能.



離線

 

#3 2011-07-21 12:41:32

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

hippo 提到:

Lly@RT-N16, 不知是否仍為舊WebUI? 如果是舊WebUI, 可能有WebCam功能.

光有介面,沒有驅動,是無法功成的.
目前lly的驅動程式還沒有修正,故尚無法正常運作.


離線

 

#4 2011-07-25 23:55:34

Aven
天使
來自: 數位天堂
註冊日期: 2007-07-15
文章數: 2266
網站

Re: 在 RT-N16 上安裝 webcam 可行性?

這幾天測試的結果:
palantir 失敗

root@tomato:/opt/etc# palantir Jul 22 17:55:19 [main] -- palantir 2.6 starting -- Jul 22 17:55:19 [main] Definitions for 1 devices found Jul 22 17:55:19 [main] No serial port specified Jul 22 17:55:19 [main] No named pipe specified Jul 22 17:55:19 [video] GCAP: Invalid argument Jul 22 17:55:19 [video] Capabilities: 4390912 (p▒B (null) ) Jul 22 17:55:19 [video] Size: (62x4390912)-(0x716157488) Jul 22 17:55:19 [video] ** Fatal error: GCHAN: Invalid argument root@tomato:/opt/etc#


MJPG streamer 成功
https://digiland.tw/uploads/2_mjpg-streamer_web.jpg



技術問題請於論壇上集眾人之力公開討論,感恩 thankgod

離線

 

#5 2012-05-11 21:08:07

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

Lly@RT-N16 RT-N16-1.9.2.7-rtn-r4177
內建(mjpg_streamer)webcam設定介面測試成功
需用uvc規格的webcam,要用非ie瀏覽器才可以看的到

palantir還是測不成功

May 11 21:06:34 [main] -- palantir 2.8pre3 starting -- May 11 21:06:34 [main] Definitions for 1 devices found May 11 21:06:34 [main] No serial port specified May 11 21:06:34 [main] No named pipe specified May 11 21:06:34 [video] Trying V4L2 interface first May 11 21:06:34 [video] Driver: uvcvideo May 11 21:06:34 [video] Card: UVC Camera (046d:08c2) May 11 21:06:34 [video] Bus_info: usb-0000:00:04.1-1.1.4 May 11 21:06:34 [video] Capabilities: video_capture streaming May 11 21:06:34 [video] Video input 0: type composite ("Camera 1") May 11 21:06:34 [video] control: Brightness [1:0-255/1] May 11 21:06:34 [video] Found device definition for Brightness May 11 21:06:34 [video] control: Contrast [1:0-255/1] May 11 21:06:34 [video] control: Saturation [1:0-255/1] May 11 21:06:34 [video] control: White Balance Temperature, Auto [2:0-1/1] May 11 21:06:34 [video] control: Gamma [1:100-220/120] May 11 21:06:34 [video] control: Gain [1:0-255/1] May 11 21:06:34 [video] control: Power Line Frequency [3:0-2/1] May 11 21:06:34 [video] Menu items: May 11 21:06:34 [video] Disabled May 11 21:06:34 [video] 50 Hz May 11 21:06:34 [video] 60 Hz May 11 21:06:34 [video] control: White Balance Temperature [1:2800-6500/10] May 11 21:06:34 [video] control: Sharpness [1:0-255/1] May 11 21:06:34 [video] control: Backlight Compensation [1:0-2/1] May 11 21:06:34 [video] available pixformat: MJPG* - MJPEG May 11 21:06:34 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV) May 11 21:06:34 [video] trying BGR3... May 11 21:06:34 [video] trying YU12... May 11 21:06:34 [video] trying YUYV... May 11 21:06:34 [video] YUYV supported with capture size 1024x576 May 11 21:06:34 [video] trying UYVY... May 11 21:06:34 [video] trying BA81... May 11 21:06:34 [video] trying GBRG... May 11 21:06:34 [video] trying GRBG... May 11 21:06:34 [video] trying RGGB... May 11 21:06:34 [video] trying S561... May 11 21:06:34 [video] No supported palette available for requested size, reverting to V4L May 11 21:06:34 [video] GCAP: Invalid argument May 11 21:06:34 [video] ** Fatal error: Could not get V4L1 device capabilities (running a V4L2-only driver?)



最後修改: ardayang (2012-05-11 21:09:54)


離線

 

#6 2012-05-13 14:42:09

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

Lly@RT-N16-1.9.2.7-rtn-r4177 + uvcwebcam + palantir 2.8pre3(擷取解析度設1024x576) + 楓樹瀏覽器 = 成功

ipkg install palantir

更新palantir 2.6為palantir 2.8pre3
/opt/bin/palantir
/opt/bin/sysfeed

修改/opt/etc/palantir.conf參數
VideoDevice /dev/video0
VideoNorm NTSC
FrameSize 1024x576

modprobe uvcvideo
modprobe v4l2_common
palantir

May 13 13:54:46 [main] -- palantir 2.8pre3 starting -- May 13 13:54:46 [main] Definitions for 3 devices found May 13 13:54:46 [main] No serial port specified May 13 13:54:46 [main] No named pipe specified May 13 13:54:46 [video] Trying V4L2 interface first May 13 13:54:46 [video] Driver: uvcvideo May 13 13:54:46 [video] Card: UVC Camera (046d:08c2) May 13 13:54:46 [video] Bus_info: usb-0000:00:04.1-1.1.4 May 13 13:54:46 [video] Capabilities: video_capture streaming May 13 13:54:46 [video] Video input 0: type composite ("Camera 1") May 13 13:54:46 [video] control: Brightness [1:0-255/1] May 13 13:54:46 [video] Found device definition for Brightness May 13 13:54:46 [video] control: Contrast [1:0-255/1] May 13 13:54:46 [video] control: Saturation [1:0-255/1] May 13 13:54:46 [video] control: White Balance Temperature, Auto [2:0-1/1] May 13 13:54:46 [video] control: Gamma [1:100-220/120] May 13 13:54:46 [video] control: Gain [1:0-255/1] May 13 13:54:46 [video] control: Power Line Frequency [3:0-2/1] May 13 13:54:46 [video] Menu items: May 13 13:54:46 [video] Disabled May 13 13:54:46 [video] 50 Hz May 13 13:54:46 [video] 60 Hz May 13 13:54:46 [video] control: White Balance Temperature [1:2800-6500/10] May 13 13:54:46 [video] control: Sharpness [1:0-255/1] May 13 13:54:46 [video] control: Backlight Compensation [1:0-2/1] May 13 13:54:46 [video] available pixformat: MJPG* - MJPEG May 13 13:54:46 [video] available pixformat: YUYV - YUV 4:2:2 (YUYV) May 13 13:54:46 [video] trying BGR3... May 13 13:54:46 [video] trying YU12... May 13 13:54:46 [video] trying YUYV... May 13 13:54:46 [video] YUYV supported with capture size 1024x576 May 13 13:54:46 [video] Actual capture size: (1024x576) May 13 13:54:46 [video] Image size: 1179648 May 13 13:54:46 [video] Colorspace: 8 May 13 13:54:46 [video] 2 mmap() buffers allocated May 13 13:54:46 [video] mmap()ed buffer 0 (length 1179648, offset 0) May 13 13:54:46 [video] mmap()ed buffer 1 (length 1179648, offset 1179648) May 13 13:54:46 [video] Allocating yuv->rgb buffer (1769472 bytes) May 13 13:54:46 [main] Starting device thread May 13 13:54:46 [main] Listening on :: port 3000 May 13 13:54:46 [main] Control queue timeout set to 30 s May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server. May 13 13:56:48 [main] 1 client(s) connected May 13 13:56:48 [main] ::ffff:192.168.1.21 - #0: connection accepted, spawning server. May 13 13:56:48 [main] 2 client(s) connected May 13 13:56:48 [main] Capture thread started May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started May 13 13:56:48 [http] ::ffff:192.168.1.21 - video server started May 13 13:56:48 [http] ::ffff:192.168.1.21 - requested URL `/' May 13 13:56:48 [http] ::ffff:192.168.1.21 - User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.56 Safari/535.11 CoolNovo/2.0.2.26 May 13 13:56:48 [http] ::ffff:192.168.1.21 - streaming mode: continuous, open loop May 13 13:56:53 [video] JPEG compression buffer resized to 64000 May 13 13:56:53 [main] Local JPEG buffer resized to 64000 (need 33362) May 13 13:57:03 [http] ::ffff:192.168.1.21 - connection terminated May 13 13:57:03 [http] ::ffff:192.168.1.21 - wrote 0 [+0] frames (0 bytes) in 15.00 s - 0.00 f/s, 0.00 kB/s, 0.00 kB/f May 13 13:57:03 [main] 1 client(s) connected


楓樹瀏覽器(不能用IE瀏覽器)
http://192.168.1.1:3000
就可以看到畫面了

備註:
要使用支援的解析度,如:
YUYV supported with capture size 1024x576
(啟動palantir時,會測試及告知支援的解析度)
上一次的測試解析度用到了不支援的320x240所以失敗,
感謝David Santinoli的提醒.

最後修改: ardayang (2012-05-13 14:52:53)


離線

 

#7 2012-05-14 22:33:16

ardayang
精靈
註冊日期: 2008-05-25
文章數: 104
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

Lly@RT-N16-1.9.2.7-rtn-r4177
Logitech QuickCam Pro 4000
insmod /opt/lib/modules/2.6.22.19/kernel/drivers/media/video/pwc/pwc.ko
設640x480,可以看到畫面,但畫面更換速度極慢,慢到不會動.


離線

 

#8 2013-08-26 22:10:23

ffrr
教士
註冊日期: 2008-06-21
文章數: 50
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

有高手研究出解決方法了嗎?

N16+Webcam 怎麼跑用mvc或是motion呢?
(把webcam當成是motion detection)

有看到這串討論文章 https://digiland.tw/viewtopic.php?pid=3372#p3372
可是N16跟著做還是不行 都會顯示 ioctl (VIDIOCGCAP): Invalid argument
有高手知道原因嗎?


離線

 

#9 2013-12-18 04:48:44

ffrr
教士
註冊日期: 2008-06-21
文章數: 50
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

國外有人重編了motion,測試過在N16可以工作,終於不會報錯嚕
不過有高手可以確認程式的安全性嗎?

原網址
http://wl500g.info/showthread.php?25107 … tion-Alert


離線

 

#10 2014-01-29 00:01:18

yan198981
新生
註冊日期: 2014-01-28
文章數: 10
目前積分 :   

Re: 在 RT-N16 上安裝 webcam 可行性?

这个我也有点想弄的


離線

 

相關討論主題

主題 回覆 點閱 最後發表
WL-HDD 啟用 WebCAM 功能測試 作者 Aven  [ 1 2 3 ]
26 100447 2012-05-07 09:56:15 作者 sb5101e
0 11212 2008-08-25 10:32:32 作者 Aven
WL500GP webcam server? 作者 moby
9 35036 2008-02-24 23:41:37 作者 eiki

友情連結

論壇頁尾

Powered by PunBB
© Copyright 2018 Rickard Andersson
RSS Feed