[Libav-user] IP cam accessing directly and from dshow speeddifferences.

Matthew Einhorn moiein2000 at gmail.com
Thu Jun 20 01:49:08 CEST 2013


...

>
> 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:
> --ipcamera
> Content-Type: image/jpeg
> Content-Length: 38416
> followed after a newline with binary data.
>
> calling ffplay on this "ffplay -loglevel debug -analyzeduration 9999999
> -probesize 9999999 videostream.cgi"
>
> I still get this:
> [ingenient @ 00000000025ea480] Format ingenient probed with size=2048 and
> score=50
> File position before avformat_find_stream_info() is 0    0B f=0/0
> [ingenient @ 00000000025ea480] Could not find codec parameters for stream
> 0 (Video: mjpeg): unspecified size
>
> Consider increasing the value for the 'analyzeduration' and 'probesize'
> options
> [ingenient @ 00000000025ea480] File position after
> avformat_find_stream_info() is 4
> C:\FFmpeg\videostream.cgi: could not find codec parameters
> [AVIOContext @ 00000000025e9ec0] Statistics: 32768 bytes read, 0 seeks
>
>
> Thanks,
> Matt
>


Simply adding x.mjpeg after blah.cgi, e.g. http://blah.cgi?x.mjpeg as
described here: http://code.opencv.org/issues/2474 was enough to enable
ffmpeg to figure out that it's supposed to be a mjpeg stream and now it
works beautifully!


Thanks all,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130619/bc860479/attachment.html>


More information about the Libav-user mailing list