wireless cam stops after 17 hours with mplayer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



Hey folks,

I have two linksys wireless web cams.? Cam 1 just plays videos, cam 2 uses mplayer to take an image every minutes.? Cam 1 keeps playing, no problems.? Cam 2 keeps stopping after about 17 hours (~1050 images at 1 min intervals).? I have to think there is a network setting or mplayer issue.? Maybe someone on here can help me out.

My mplayer command in my shell script is very simple...
mplayer http://192.168.1.19/img/video.asf -frames 1 -vo jpeg

I'm using a linksys e3000 router which is locally connected to the verizon fios actiontek router.? 

Also, here's below is the output I see after I try to stream the video.? I can still access the wireless camera, though I can't view the stream.

cr at cr-desktop:~$ mplayer http://192.168.1.19/img/video.asf
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://192.168.1.19/img/video.asf.
Resolving 192.168.1.19 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.19
Connecting to server 192.168.1.19[192.168.1.19]: 80...
http_read_response read 0 (i.e. EOF).
STREAM_ASF, URL: http://192.168.1.19/img/video.asf
Resolving 192.168.1.19 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.19
Connecting to server 192.168.1.19[192.168.1.19]: 80...
read: Operation now in progress
Failed, exiting.
Resolving 192.168.1.19 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.19
Connecting to server 192.168.1.19[192.168.1.19]: 80...
http_read_response read 0 (i.e. EOF).
No stream found to handle url http://192.168.1.19/img/video.asf


Exiting... (End of file)



Here's what a good stream looks like:
cr at cr-desktop:~/cam$ mplayer http://192.168.1.19/img/video.asf
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
MPlayer SVN-r1.0~rc3+svn20090426-4.4.3 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing http://192.168.1.19/img/video.asf.
Resolving 192.168.1.19 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.1.19
Connecting to server 192.168.1.19[192.168.1.19]: 80...
Cache size set to 320 KBytes
Cache fill: 17.50% (57344 bytes)?? 
ASF file format detected.
[asfheader] Video stream found, -vid 1
VIDEO:? [MP4S]? 640x480? 24bpp? 1000.000 fps??? 0.0 kbps ( 0.0 kbyte/s)
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] Can't open /dev/fb0: Permission denied.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar YV12 
V:?? 1.9? 20/ 20? 8%? 2%? 0.0% 0 0 16% 
Exiting... (Quit)


Thanks so much for any help on this one!

Charles



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux