Hi,
Tekweb wrote:
> Hi there,
> i want to read an RTSP Stream from an Axis Camera and decode it.
> Decoding a File via the libs works fine(even wrapped for my C# project),
> but i just dont know where to start with the RTSP stuff.
Just open the "rtsp://..." URL, using the "rtsp" AVInputFormat.
Try "ffmpeg -i rtsp://..." to check if the stream sent by your camera
is supported by libavformat.
> Does anyone has some example Code?
The same code you use for playing from a file should work fine.
> Im not even sure if ffmpeg already has support for RTSP via TCP.
You probably mean "RTP over TCP", right? Yes, libavformat supports
it (in particular, it supports RTP over RTSP), but I am not sure
how you can select this transport protocol (for sure, if the RTSP
server says that RTP over UDP is unsupported then libavformat tries
RTP over RTSP... But I do not know how to force it if RTP over UDP
is supported).
Luca
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user