成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
- qileilu
- 帖子: 375
- 注册时间: 2007-08-26 9:06
- 来自: 长沙
- 联系:
Re: 成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
mark,有空了折腾
- qiufeng
- 帖子: 296
- 注册时间: 2007-09-04 13:51
- 来自: LC @ eastasia
Re: 成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
记得FULLCIRCLE还是啥其它杂志好像讲过类似的。
好奇的是如何确认自己家的公网IP?每次登录电信ADSL后的公网IP似乎都不一样。
好奇的是如何确认自己家的公网IP?每次登录电信ADSL后的公网IP似乎都不一样。
-
- 帖子: 7
- 注册时间: 2007-10-03 5:30
- 联系:
Re: 成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
我运行第二步:
它提示我没有那个文件过着目录
代码: 全选
sudo mv /etc/ffserver.conf /etc/ffserver.conf_backup
-
- 帖子: 86
- 注册时间: 2011-11-19 18:29
- 系统: 12.10
Re: 成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
我局域网中测试用的局域网IP可以了,运程的和用公网IP不行,以下是我运行截图:
好像不上传图片。我是找不到。。。。。
还有同样的配置在mini2440开发板上不可以:
[root@FriendlyARM /ffpserver]# ffserver version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 26 2013 15:44:30 with gcc 4.4.3 (ctng-1.6.1)
configuration: --enable-cross-compile --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --enable-shared --arch=armv4 --enable-gpl --enable-libx264 --prefix=/opt/webcam/ffmpeg --extra-cflags=-I/opt/webcam/ffmpeg/include --extra-ldflags=-L/opt/webcam/ffmpeg/lib/
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[1] + Done ffserver -f /ffpserver/ffserver.conf
[root@FriendlyARM /ffpserver]#
[root@FriendlyARM /ffpserver]# ffmpeg -r 15 -s 352x288 -f video4linux2 -i /dev/v
ideo0 http://localhost:8090/feed1.ffm
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 26 2013 15:44:30 with gcc 4.4.3 (ctng-1.6.1)
configuration: --enable-cross-compile --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --enable-shared --arch=armv4 --enable-gpl --enable-libx264 --prefix=/opt/webcam/ffmpeg --extra-cflags=-I/opt/webcam/ffmpeg/include --extra-ldflags=-L/opt/webcam/ffmpeg/lib/
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[video4linux2,v4l2 @ 0x3f620] The V4L2 driver changed the video from 352x288 to 320x240
[video4linux2,v4l2 @ 0x3f620] The driver changed the time per frame from 1/15 to 1/5
[video4linux2,v4l2 @ 0x3f620] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 989345101.509967, bitrate: 6144 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 6144 kb/s, 5 tbr, 1000k tbn, 5 tbc
http://localhost:8090/feed1.ffm: Input/output error
[root@FriendlyARM /ffpserver]#

还有同样的配置在mini2440开发板上不可以:
[root@FriendlyARM /ffpserver]# ffserver version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 26 2013 15:44:30 with gcc 4.4.3 (ctng-1.6.1)
configuration: --enable-cross-compile --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --enable-shared --arch=armv4 --enable-gpl --enable-libx264 --prefix=/opt/webcam/ffmpeg --extra-cflags=-I/opt/webcam/ffmpeg/include --extra-ldflags=-L/opt/webcam/ffmpeg/lib/
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[1] + Done ffserver -f /ffpserver/ffserver.conf
[root@FriendlyARM /ffpserver]#
[root@FriendlyARM /ffpserver]# ffmpeg -r 15 -s 352x288 -f video4linux2 -i /dev/v
ideo0 http://localhost:8090/feed1.ffm
ffmpeg version 1.0 Copyright (c) 2000-2012 the FFmpeg developers
built on Mar 26 2013 15:44:30 with gcc 4.4.3 (ctng-1.6.1)
configuration: --enable-cross-compile --target-os=linux --cross-prefix=arm-linux- --cc=arm-linux-gcc --enable-shared --arch=armv4 --enable-gpl --enable-libx264 --prefix=/opt/webcam/ffmpeg --extra-cflags=-I/opt/webcam/ffmpeg/include --extra-ldflags=-L/opt/webcam/ffmpeg/lib/
libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[video4linux2,v4l2 @ 0x3f620] The V4L2 driver changed the video from 352x288 to 320x240
[video4linux2,v4l2 @ 0x3f620] The driver changed the time per frame from 1/15 to 1/5
[video4linux2,v4l2 @ 0x3f620] Estimating duration from bitrate, this may be inaccurate
Input #0, video4linux2,v4l2, from '/dev/video0':
Duration: N/A, start: 989345101.509967, bitrate: 6144 kb/s
Stream #0:0: Video: rawvideo (YUY2 / 0x32595559), yuyv422, 320x240, 6144 kb/s, 5 tbr, 1000k tbn, 5 tbc
http://localhost:8090/feed1.ffm: Input/output error
[root@FriendlyARM /ffpserver]#
-
- 帖子: 86
- 注册时间: 2011-11-19 18:29
- 系统: 12.10
Re: 成功在办公室远程监控家中电脑摄像头,伟大的ubuntu 10.04上实现!!
百度“IP”,显示的就是公网IP吧。qiufeng 写了:记得FULLCIRCLE还是啥其它杂志好像讲过类似的。
好奇的是如何确认自己家的公网IP?每次登录电信ADSL后的公网IP似乎都不一样。
-
- 帖子: 4
- 注册时间: 2013-03-26 14:48
- 系统: Ubuntu 12.04.2