<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div><br></div><div><br></div><div id="Zm-_Id_-Sgn"><div>Hello,<br></div><div><br></div><div>Then, how can I know what is the current chunk_index in AVFormatContext.interrupt_callback function of webm_chunk muxer ? I need to know current chunk_index value or last written chunk filename/index in the interrupt callback, which gets triggered after every chunk io close. <br></div><div><br></div><div>Regards,<br></div><div>Ravi Kiran B S<br></div></div><div class="zmail_extra"><div id="Zm-_Id_-Sgn1"><div><br></div><div>---- On Wed, 20 Jun 2018 02:09:07 +0530 <b>Carl Eugen Hoyos <ceffmpeg@gmail.com></b> wrote ----<br></div></div><div><br></div><blockquote style="border-left: 1px solid #cccccc; padding-left: 6px; margin:0 0 0 5px"><div><div>2018-06-19 13:17 GMT+02:00, ravikiran.bs <<a target="_blank" href="mailto:ravikiran.bs@zohocorp.com">ravikiran.bs@zohocorp.com</a>>:<br></div><div>> Hello, I am using webm_chunk muxer to generate live webm dash chunks. I need<br></div><div>> a way to get notified when each chunk write is completed from ffmpeg. I have<br></div><div>> configured, interrupt_callback in AVFormatContext. But i am not able to<br></div><div>> access its priv_data in order to know the current chunk index.<br></div><div><br></div><div>You are not supposed to access priv_data, its contents may change from<br></div><div>version to version.<br></div><div><br></div><div>Carl Eugen<br></div><div>_______________________________________________<br></div><div>Libav-user mailing list<br></div><div><a target="_blank" href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br></div><div><a target="_blank" href="http://ffmpeg.org/mailman/listinfo/libav-user">http://ffmpeg.org/mailman/listinfo/libav-user</a><br></div></div></blockquote></div><div><br></div></div><br></body></html>