View Single Post
  #1  
Old 02-01-2011, 03:03 PM
whiteramosa whiteramosa is offline
Junior Member
 
Join Date: Feb 2011
Posts: 1
whiteramosa is on a distinguished road
Default

how do i stream the video from IP cam (Problem setting up stream server by ffserver)


Hi , I have a problem, I m setting up a stream server by ffserver, i configure the file as :

Port 8090
BindAddress 0.0.0.0
MaxHTTPConnections 2000
MaxClients 1000
MaxBandwidth 1000
CustomLog -
NoDaemon

###########################################<Feed feed1.ffm>
File "/home/msun/tmp/feed1.ffm"
FileMaxSize 40M
Launch ffmpeg -i http://IPaddress/axis-cgi/mjpg/video.cgi
#Launch ffmpeg -i /home/msun/tmp/temp1.avi
ACL allow 127.0.0.1
#ACL allow 192.168.0.0 192.168.255.255
</Feed>

<Stream stat.html>
Format status
ACL allow 127.0.0.1
ACL allow 192.168.0.0 192.168.255.255
</Stream>

<Stream file.swf>
Feed feed1.ffm
Format swf
VideoCodec flv
VideoFrameRate 26.5
VideoBufferSize 80000
VideoBitRate 200
VideoQMin 1
VideoQMax 5
VideoSize 352*288
PreRoll 0
#AudioCodec libmp3lame
#AudioChannels 1
#AudioBitRate 32
NoAudio
</Stream>

as above, when i launch ffmpeg with input which is prerecorded video, it is working, but live video from camera , is not, can any body help me. Thank you guys
Reply With Quote