View Single Post
  #4  
Old 08-06-2011, 01:48 AM
any ANONYMOUS forum user any ANONYMOUS forum user is offline
any user of the forum who preferred to post anonymously
 
Join Date: Aug 2011
Location: Server of stream-recorder.com
Posts: 211
any ANONYMOUS forum user is on a distinguished road
Default

Re: ReStream .asf from IP camera (Linksys WVC54GCA)


Linksys WVC54GCA can be recorded and re-streamed. It might not be that easy for a newbie, but it is possible.

And although the camera can be accesses via Internet Explorer (with an ActiveX control) or using the Linksys IP Cam Think client. But the best thing is that you can access the camera using freeware VLC player
Code:
vlc.exe http://[camera[/url] address]/img/video.asf
and MPlayer:
Code:
mplayer.exe http://[camera[/url] address]/img/video.asf
Note that besides Windows Media stream
Code:
http://[camera address]/img/video.asf
you can access the Motion JPEG camera output
Code:
http://[camera address]/img/mjpeg.jpg
Code:
http://[camera address]/img/mjpeg.cgi

Besides watching the IP camera, you can grab a JPEG frame from it using mplayer:
Code:
mplayer.exe http://[camera address]/img/video.asf -frames 1 -vo jpeg:quality=100:maxfiles=1
And you can save the camera output using ffmpeg:
Code:
ffmpeg.exe -i http://[camera address]/img/video.asf -vcodec copy -b 800k output.asf
Note that this will record video only and will save it as output.asf video file. You should be able to play the recorded .asf file using Windows Media Player, VLC, MPlayer,...


If you want to convert Windows Media stream from this IP camera to flash, you can use ffserver:
Add the following to your ffserver.conf file
Code:
<Stream stream1.swf>   
Feed feed1.ffm   
Format swf   
VideoCodec flv   
VideoFrameRate 2   
VideoBufferSize 80000   
VideoBitRate 100   
VideoQMin 1   
VideoQMax 5   
VideoSize 352x288   
PreRoll 0   
Noaudio   
</Stream>
Then you will get and FLV stream, that you can watch by embedding SWF player:
HTML Code:
<EMBED src="http://[FFSERVER]/stream1.swf" mce_src="http://[FFSERVER]/stream1.swf" width=640 height=480 type="application/x-shockwave-flash"></EMBED>
And of course you can use ffserver to re-broadcast the stream from IP camera to a flash server.
Reply With Quote