Get streaming from IP Camera to Flash Media Server with FFmpeg


FFmpeg is a very powerful tool, among its possibilities of use, capture streaming an ip camera and send it to Adobe Media Server/Flash Media Server

.
Get streaming from IP Camera to Flash Media Server with FFmpeg


The url that should be used depends on the manufacturer of the camera. You can find out entering the camera system with Firefox, clicking the right button on the camera and click “page properties” then the “media” tab, you get the complete url. Another option is to open the html and look for the url.
If the camera has authentication, use the format http://login:pass@url
Example IP Camera mjpeg

publish mjpeg to flv
>ffmpeg -f mjpeg -r 8 -i “http://ip:port/mjpg.cgi” -f flv -vcodec flv “rtmp://ip_flash_media_server/live/streamName”

Example IP Camera HD
HD ip cameras generally use the RTSP protocol.

ip camera rtsp to rtmp
>ffmpeg -i “rtsp://ip/mpeg4” -f flv -vcodec libx264 “rtmp://ip_flash_media_server/live/streamName”

Reference
http://ffmpeg.org/

Was this article helpful? feel free to make a donation and help keep the blog in the air
Adobe, Flash Media Server , , ,

Leave a Reply