Is the avio_set_interrupt_cb deprecated in the new ffmpeg release?
What is the substitute?
Is the avio_set_interrupt_cb deprecated in the new ffmpeg release? What is the substitute?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I found the answer myself. Here is how it’s done
You define the call back
Make a call back struct
Assign it to you
AVFormatContext‘sinterrupt_callbackbefore any file readingif you open file with ‘avio_open2’, use it like this:
Hope someone find it helpful.