[Libav-user] rtsp over tcp by apies

Zanelli Franco fzanelli at tecnosens.it
Wed Feb 29 09:59:43 CET 2012

Hi all,
pardon me, I send again the question because I made a mistake before.

this is my code:

int res;
AVFormatContext *fc = avformat_alloc_context();
res = avformat_open_input(&fc, "rtsp://", NULL, NULL);

I found out that ?tcp option passed via rtsp URL is deprecated and now 
we use -rtsp_transport parameter, but how can I set this using ffmpeg 
apies? Is there a parameter in AVFormatContext or AVCodecContext that I 
have to set?

thank you


More information about the Libav-user mailing list