<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jun 19, 2013 at 6:51 PM, Andrey Utkin <span dir="ltr"><<a href="mailto:andrey.krieger.utkin@gmail.com" target="_blank">andrey.krieger.utkin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">2013/6/20 Matthew Einhorn <<a href="mailto:moiein2000@gmail.com">moiein2000@gmail.com</a>>:<br>
<div class="im">> When I tried wgets on the link I get a 27 byte file (attached).<br>
<br>
</div>Did you look into it?<br>
<br></blockquote><div><br>_red in the face_ I just assumed it'd be binary data. I'll know nexttime to at least open the file with notepad.<br><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<br>
Consider increasing the value for the 'analyzeduration' and 'probesize' options<br>[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>