Ed Patton <[email protected]> added the comment: I think this may be related. Although I am getting an RTP stream, I found that av_open_input_file hangs when I give it a wrong hostIpAddr. It works great with the correct IP addr.
I am using the latest source . ****Code****** QString filename = "rtsp://" + hostIpAddr + "/axis-media/media.amp?videocodec=h264&audio=0" ; int buffer_size = 0; int err = av_open_input_file(&m_pFormatCtx, filename.toStdString().c_str(), NULL, buffer_size, NULL); ____________________________________________________ FFmpeg issue tracker <[email protected]> <https://roundup.ffmpeg.org/roundup/ffmpeg/issue539> ____________________________________________________
