<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">...<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra">
<div class="gmail_quote"><div><br>I did it again properly with wgets which downloaded the actual video now. When I open the file in notepad I see this sequence repeatedly:<br>
--ipcamera<br>Content-Type: image/jpeg<br>Content-Length: 38416<br></div><div>followed after a newline with binary data.<br><br></div><div>calling ffplay on this "ffplay -loglevel debug -analyzeduration 9999999 -probesize 9999999 videostream.cgi"<br>
<br></div><div>I still get this:<br>[ingenient @ 00000000025ea480] Format ingenient probed with size=2048 and score=50<br>File position before avformat_find_stream_info() is 0 0B f=0/0<br>[ingenient @ 00000000025ea480] Could not find codec parameters for stream 0 (Video: mjpeg): unspecified size<div class="im">
<br>
Consider increasing the value for the 'analyzeduration' and 'probesize' options<br></div>[ingenient @ 00000000025ea480] File position after avformat_find_stream_info() is 4<br>C:\FFmpeg\videostream.cgi: could not find codec parameters<br>
[AVIOContext @ 00000000025e9ec0] Statistics: 32768 bytes read, 0 seeks<br></div><div><br></div><div><br></div><div>Thanks,<br></div><div>Matt<br></div></div></div></div>
</blockquote></div><br><br><div><div>Simply adding x.mjpeg after blah.cgi, e.g.
<a href="http://blah.cgi?x.mjpeg">http://blah.cgi?x.mjpeg</a> as described here:
<a href="http://code.opencv.org/issues/2474">http://code.opencv.org/issues/2474</a> was enough to enable ffmpeg to figure
out that it's supposed to be a mjpeg stream and now it works beautifully!<br><br></div><div><br></div>Thanks all,<br></div>Matt<br></div></div>