Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No option to add video segment duration #10

Open
Vish005 opened this issue Jun 18, 2015 · 1 comment
Open

No option to add video segment duration #10

Vish005 opened this issue Jun 18, 2015 · 1 comment

Comments

@Vish005
Copy link

Vish005 commented Jun 18, 2015

I'm using this function in your wrapper class.

  • (void) convertInputPath:(NSString_)inputPath outputPath:(NSString_)outputPath options:(NSDictionary*)options progressBlock:(FFmpegWrapperProgressBlock)progressBlock completionBlock:(FFmpegWrapperCompletionBlock)completionBlock;

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

@Vish005
Copy link
Author

Vish005 commented Jun 19, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant