[Libav-user] Error while setting fps filter value
Przemysław Sobala
przemyslaw.sobala at gmail.com
Mon Apr 18 11:18:17 CEST 2016
Hello
I'm trying to add the fps video filter to my filter chain.
I set the 'fps' option using:
av_opt_set_video_rate(fps_filter_ctx, "fps", (AVRational) {15,1},
AV_OPT_SEARCH_CHILDREN);
but after that I can see an error log entry:
[fps] Value 15.000000 for parameter 'fps' out of range [0 - 0]
After using
av_opt_set(fps_filter_ctx, "fps", "15", AV_OPT_SEARCH_CHILDREN);
everything works fine but I'm not in favour of AVRational -> char[] ->
AVRational conversion
--
regards
Przemysław Sobala
More information about the Libav-user
mailing list