Hi,
I have a cheap webcam that produces corrupted MJPEG-stream. (it's a KONIG CMP-NWIPCAM10, based on the SQ610 platform)
After messing around with scripting to correct the stream for ZM i found that ffmpeg can handle this corrupt stream but ONLY when you specify the -er parameter and set it to 4
example that works:
ffmpeg -er 4 -y -r 5 -f mjpeg -i "http://192.168.2.15/cgi-bin/Stream?Vide ... ookie00000" -f mjpeg out.avi
This produces a good out.avi file
According to the ZM documentation, anything that can be understood by ffmpeg should work so I tried it but get no image.
I think it has to do with the extra parameters I specified for the input file.
My question is: how can I add these parameters to the ZM ffmpeg source option?
thanks
ffmpeg source - how to specify extra options
-
- Posts: 2
- Joined: Sun Sep 20, 2009 6:37 am
-
- Posts: 2
- Joined: Sun Sep 20, 2009 6:37 am
Meanwhile I found a workaround.
I re-stream the corrupted stream using ffserver to another port on my machine and use this new stream in ZM
Works perfectly...
This is where I found the correct setup for ffserver: http://www.infohit.net/blog/post/motion ... linux.html
I re-stream the corrupted stream using ffserver to another port on my machine and use this new stream in ZM
Works perfectly...
This is where I found the correct setup for ffserver: http://www.infohit.net/blog/post/motion ... linux.html