hi guys, avformat_alloc_output_context2(&oc, NULL, "hls", filename); oc is pointer to a AVFormatContext. Now to change the hls parameters like time,wrap etc in the context. regards hari -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130621/2392c6d7/attachment.html>