[libav-api] Accessing HTTP/MJPEG Stream from Axis Encoder

Michael Rice michaelarice at gmail.com
Tue Feb 5 16:20:49 CET 2013


I am currently using "10_alpha1", at least that's what version.h says. The
tarball that I downloaded is "libav-HEAD-e034cc6.tar.gz" on 16 Jan 2013 (I
used the git snapshot URL link).

I just got the latest nightly snapshot and it has the same results (see
below). Are the two patches from Vladimir in the nightly snapshot?

$ ./avprobe http://192.168.1.11/axis-cgi/mjpg/video.cgi
avprobe version v9-373-ge66240f, Copyright (c) 2007-2013 the Libav
developers
  built on Feb  5 2013 09:12:21 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
[ingenient @ 0x7fea8b806600] Could not find codec parameters (Video: mjpeg)
[ingenient @ 0x7fea8b806600] Estimating duration from bitrate, this may be
inaccurate
http://192.168.1.11/axis-cgi/mjpg/video.cgi: Operation not permitted
# avprobe output

Michael


On Tue, Feb 5, 2013 at 3:11 AM, Luca Barbato <lu_zero at gentoo.org> wrote:

> On 04/02/13 23:16, Michael Rice wrote:
> > Hello -
> >
> > I am using an Axis Q7404 encoder to convert analog video to digital and
> > stream it on my network. I am writing an application using libav to
> display
> > the video streams. The Axis will output either H.264 over RTSP or MJPEG
> > over HTTP. I can view the RTSP/H.264 stream, but fail on the HTTP/MJPEG
> > stream.
> >
> > Here's the output of 'avprobe
> http://192.168.1.11/axis-cgi/mjpg/video.cgi':
> > [ingenient @ 0x7f9534006600] Could not find codec parameters (Video:
> mjpeg)
> > [ingenient @ 0x7f9534006600] Estimating duration from bitrate, this may
> be
> > inaccurate
> > http://192.168.1.11/axis-cgi/mjpg/video.cgi: Operation not permitted
>
> Which version are you using? Vladimir recently landed two patches to
> address a similar problem.
>
> lu
>
> _______________________________________________
> libav-api mailing list
> libav-api at libav.org
> https://lists.libav.org/mailman/listinfo/libav-api
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20130205/8ae3088c/attachment.html>


More information about the libav-api mailing list