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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to