sebarnolds [Seb / Frip] wrote:
[...]
> - I must enable anonymous viewer login in the IP camera settings because
> authentication is supported. From what I've seen on another post
> (http://lists.mplayerhq.hu/pipermail/libav-user/2008-December/001762.html),
> this is still not supported. Is this right ?
AFAIK, support for RTSP authentication is still missing.
> I looked a bit and it seems it would be easy to support
> rtsp://login:p...@ip/stream urls as the http protocol already support that.
> Again, am I right ?
If you know the RTSP protocol and the authentication mechanism,
and have some knowledge about the rtsp.c internals, then it should
be easy.
> I could do this but I would like to have some input from you as I am not a
> FFMPEG expert.
Well, I do not know the details of the authentication mechanism.
If you post some details (what needs to be done, how the RTSP setup
phase needs to be modified, etc...) maybe I can provide some hints
about where to implement the needed features in rtsp.c (maybe if you
plan to implement features for the rtsp demuxer the ffmpeg-devel
mailing list can be more appropriate).
> - The first frames of the stream that I display are not complete (display
> errors...) and this has a big negative visual impact. If I am not mistaken
> this is because FFMPEG did not receive already a keyframe. Is there a way to
> be sure to have received one to avoid the incomplete display ?
Not sure about this... In theory, I think you can check the
key_frame field in AVFrame (and avoid displaying any frame until
the first key frame has been received), but I never tried it.
> - Calling av_find_stream_info takes a lot of time (up to 4-5s) and this is
> something that I would like to avoid as, as I said, I need to be able to
> switch quickly from a camera stream to another one ? I have found out that I
> could skip the call to av_find_stream_info when using MJPEG streams but not
> with MPEG4 streams. Anyone can tell me one I could reduce that delay (1 or 2s
> would be more acceptable) ?
Try playing with max_analyze_duration; it should allow to reduce
this startup delay...
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user