OpenWatch / FFmpegWrapper

A lightweight Objective-C wrapper for some FFmpeg libav functions
Other
179 stars 54 forks source link

No option to add video segment duration #10

Open Vish005 opened 9 years ago

Vish005 commented 9 years ago

I'm using this function in your wrapper class.

I need to set the video segment duration. Is there any option for that ?

Vish005 commented 9 years ago

Fixed this issue by adding av_opt_set_int(formatContext->priv_data, "hls_time", 10, 0); Better you can add this property in your wrapper class