[Libav-user] How to connect to an IP camera in libav
Alexander Wischnewski
aw.wisch at googlemail.com
Tue Dec 11 14:21:23 CET 2012
Hi Don,
take a look at the open source project iSpy (Connect), it is a free
software for network cameras and recorders supporting all kind of
manufactors. If you are lucky you will find the database of .cgi commands
they are using in the source code.
Best regards,
Alex
2012/12/11 Don Moir <donmoir at comcast.net>
> **
> > From: Alexander Wischnewski
> > To: This list is about using libavcodec, libavformat,
> libavutil,libavdevice and libavfilter.
> > Sent: Sunday, December 09, 2012 9:43 PM
> > Subject: Re: [Libav-user] How to connect to an IP camera in libav
> >
> > Hello Don,
> >
> > is the avformat_open_input function taking long or maybe the
> avformat_find_stream_info ?
> >
> > In the second case you have to reduce the maximal analyze duration of
> the AVFormatContext, you can do it like this:
> >
> > pFormatCtx->max_analyze_duration = 1.0 * AV_TIME_BASE;
> >
> > // Retrieve stream information
> > avformat_find_stream_info(pFormatCtx, NULL)
> >
> > Seems that the default value is set to a very high value to make sure
> there are all important informations gathered,
> > but this is not necessary for a simple mjpeg stream. I even use this
> setting for decoding h264 streams and had no problems so far.
> >
> > Best regards,
> > Alex
>
> Hi Alex,
>
> That helps but doesn't completely resolve it. Even if I ignore timing
> completely it's about 1/4 second off. The software that came with it is
> right on. Arrgh more work :)
>
> Also the framerate guessed by ffmpeg is always 25 fps in this case which
> is wrong so need to do something about that.
>
> I would be interested in a database of strings to control a variety of IP
> cameras. Note that I just care about the various strings for acquisition
> and controlling pan/tilt/zoom for various IP cameras and not interested in
> controlling software so much.
>
> I know it exist but mostly packaged up with a program. I would be willing
> to purchase such a thing.
>
> Would you happen to know where I could my hands on that ?'
>
> I have the strings for my foscam but thats just one camera. I would need
> them for many.
>
> Thanks,
>
> Don
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20121211/0ff7f40d/attachment.html>
More information about the Libav-user
mailing list