>>>> I have a network video stream that I am decoding with the ffmpeg C >>>> library. >>>> I'd like to reduce the maximal frame rate to some maximum, say 15 fps. >>>> I used the filter fps=fps=15, but even on a 25 fps video stream this >>>> caused frame duplication. I presume this was due to network delays. >>>> >>>> Is there some way to reduce the maximal frame-rate but avoid frame >>>> duplication and just get delays instead? >>>>
> >> In my program. >> I'm passing the resizing string as an argument to avfilter_graph_parse. > > Then you don't need avfilter, IMHO. When you receive a decoded frame > from avcodec, simply check if the last frame was received more than 40 > ms ago. > OK. I'll try it this way. Thanks, Adi _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user