Thanks for the response, it works! :) I was thinking to put such a code within a thread. Whenever "avformat_open_input" finds a stream at the given address, then the thread can be terminated. In the meantime, the program can do other stuffs. But do you know how I can make a thread with libavcodec functions?
-- View this message in context: http://libav-users.943685.n4.nabble.com/Libav-user-Check-an-address-to-see-if-there-is-any-video-stream-on-it-or-not-tp4659115p4659119.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user