[Libav-user] How to access AVFormatContext's priv_data so as to know chunk_index
ravikiran.bs
ravikiran.bs at zohocorp.com
Wed Jun 20 07:18:13 EEST 2018
Hello, 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. Regards, Ravi Kiran B S ---- On Wed, 20 Jun 2018 02:09:07 +0530 Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote ---- 2018-06-19 13:17 GMT+02:00, ravikiran.bs <ravikiran.bs at zohocorp.com>: > Hello, I am using webm_chunk muxer to generate live webm dash chunks. I need > a way to get notified when each chunk write is completed from ffmpeg. I have > configured, interrupt_callback in AVFormatContext. But i am not able to > access its priv_data in order to know the current chunk index. You are not supposed to access priv_data, its contents may change from version to version. Carl Eugen _______________________________________________ Libav-user mailing list Libav-user at ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180620/c3040d8c/attachment.html>
More information about the Libav-user
mailing list