ffmpeg source - how to specify extra options
Posted: Sun Sep 20, 2009 6:45 am
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
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