Hi Don,<div><br></div><div>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. </div>
<div><br></div><div>Best regards,</div><div>Alex</div><div><br><br><div class="gmail_quote">2012/12/11 Don Moir <span dir="ltr"><<a href="mailto:donmoir@comcast.net" target="_blank">donmoir@comcast.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial">> From: Alexander Wischnewski <br>> To: This
list is about using libavcodec, libavformat, libavutil,libavdevice and
libavfilter. <br>> Sent: Sunday, December 09, 2012 9:43 PM<br>> Subject:
Re: [Libav-user] How to connect to an IP camera in libav</font></div><div class="im">
<div><font face="Arial">> <br>> Hello Don,</font></div>
<div>> </div>
<div>> is the avformat_open_input function taking long or maybe the
avformat_find_stream_info ? </div>
<div>> </div>
<div>> In the second case you have to reduce the maximal analyze duration of
the AVFormatContext, you can do it like this:</div>
<div>> </div>
<div>> pFormatCtx->max_analyze_duration = 1.0 *
AV_TIME_BASE;</div>
<div>> </div>
<div>> // Retrieve stream
information<br>>
avformat_find_stream_info(pFormatCtx, NULL)</div>
<div>> <br>> Seems that the default value is set to a very high value to
make sure there are all important informations gathered,</div>
<div>> 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.</div>
<div>> </div>
<div>> Best regards,<br>> Alex</div>
<div> </div>
</div><div>Hi Alex,</div>
<div> </div>
<div>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 :)</div>
<div> </div>
<div>Also the framerate guessed by ffmpeg is always 25 fps in this case which is
wrong so need to do something about that.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>I know it exist but mostly packaged up with a program. I would be willing
to purchase such a thing. </div>
<div> </div>
<div>Would you happen to know where I could my hands on that ?'</div>
<div> </div>
<div>I have the strings for my foscam but thats just one camera. I would need
them for many.</div>
<div> </div>
<div>Thanks,</div>
<div> </div>
<div>Don</div></div>
<br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>