[FFmpeg-user] how to programmatically set live_start_index

2016-11-16 Thread Louis Letourneau
I'm not sure if this belongs in user or devel, but here goes. I'm working with m3u8 files. They can sometimes be live, sometimes VOD. For live, I need to start the processing from the start. using the command line I would ffmpeg --live_start_index 0 -i file.m3u8 [...] How do I reproduce this in

Re: [FFmpeg-user] how to programmatically set live_start_index

2016-11-16 Thread Carl Eugen Hoyos
2016-11-16 16:37 GMT+01:00 Louis Letourneau : > if(av_opt_set_int(av_format_ctx_->priv_data, "live_start_index", 0, 0) > != 0) Is priv_data the right parameter? I would have expected a FormatContext. There is a dedicated mailing list for using the FFmpeg libraries, see: https://ffmpeg.org/co

Re: [FFmpeg-user] how to programmatically set live_start_index

2016-11-16 Thread Louis Letourneau
> > Is priv_data the right parameter? I would have expected a FormatContext. > > There is a dedicated mailing list for using the FFmpeg libraries, see: > https://ffmpeg.org/contact.html I didn't see the libav-user mailing list when I first looked. I'll know next time. I finally solved the proble