Hello, If you copy/paste your code it will be much easier to help you. The first question would be: do you manage the return code to see what's going on ? (avformat_open_input returns a negative error code in case of failure).
Le 16 juin 2015 à 16:09, yari mattei <[email protected]> a écrit : > Hi guys, > > I am using the FFMPEG API to implement a RTSP stream reader and I have a > problem. > > If I try to connect to a stream wchich is unavailable the program is freezing > (it try to connect forever without any massage or possibility to handle this) > > The function I am using is avformat_open_input(&pFormatCtx, filename, NULL, > NULL). > > Do you know if there is a way to handle this problem? Or any other API which > allows to handle it? > > Cheers, > Yari > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
