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

Michael Rice michaelarice at gmail.com
Mon Feb 4 23:16:36 CET 2013


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

Here's the output of 'avprobe rtsp://192.168.1.11/axis-media/media.amp':
avprobe version 10_alpha1, Copyright (c) 2007-2013 the Libav developers
  built on Jan 16 2013 10:48:07 with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
[rtsp @ 0x7f9679006600] Estimating duration from bitrate, this may be
inaccurate
Input #0, rtsp, from 'rtsp://192.168.1.11/axis-media/media.amp':
  Metadata:
    title           : Media Presentation
  Duration: N/A, start: 0.033389, bitrate: N/A
    Stream #0.0: Video: h264 (Baseline), yuvj420p, 704x480 [PAR 10:11 DAR
4:3], 28.33 fps, 29.97 tbr, 90k tbn

Any ideas?

Thanks.
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-api/attachments/20130204/555b013a/attachment.html>


More information about the libav-api mailing list