Hello.

I am currently streaming MPEG4 from IP cameras (RTSP protocol) and need to be 
able to switch from a camera to another one very quickly (i.e. close one stream 
and open another one). I based my code on the excelent tutorial from 
http://www.dranger.com/ffmpeg/. However I have several problems / issues I 
would like to resolve. Note that I am using FFMPEG svn 15339.

- 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 ? 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 ? I could do this but I would like to 
have some input from you as I am not a FFMPEG expert.
- 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 ?
- 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) ?

Thank you forward for your answers,
Sebastien

_________________________________________________________________
Send e-mail faster without improving your typing skills.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to