On Sun, Jul 28, 2013 at 4:28 PM, Adi Shavit <[email protected]> wrote:
> On Sun, Jul 28, 2013 at 3:09 PM, Alex Cohn <[email protected]> wrote:
>> On Jul 28, 2013 1:56 PM, "Adi Shavit" <[email protected]> wrote:
>>>
>>> Hi,
>>>
>>>   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?
>>>
>>> Thanks,
>>> Adi
>>>
>>> PS. reposted from here:
>>> <http://ffmpeg.gusari.org/viewtopic.php?f=16&t=972>
>>
>> Are you using the libraries in your own program, or looking for the correct
>> parameters for ffmpeg executable? In the latter case, the ffmpeg-user list
>> should be the preferred choice.
>>
>> Alex Cohn

> 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.

BR,
Alex Cohn
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to