<div dir="ltr"><div><div><div>I found what was wrong.<br></div>On "InitFilters" function, when setting args (<span class="">char</span> <a name="_a26"></a>args[512]), I had to use stream timebase (AVStream) and not codec timebase (<a name="_a3"></a>AVCodecContext). I don't know if this can be considered a bug.<br>
<br></div>Second thing, fps filter do not modify frame->pts. Is it correct?<br><br></div>thanks<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/9 Massimo Battistel <span dir="ltr"><<a href="mailto:battistel@gmail.com" target="_blank">battistel@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hello,<br>regarding the following example:<br><br clear="all"><a href="http://ffmpeg.org/doxygen/trunk/doc_2examples_2filtering_video_8c-example.html" target="_blank">http://ffmpeg.org/doxygen/trunk/doc_2examples_2filtering_video_8c-example.html</a><br>

<br></div>I cannot make it work with "fps=fps=25" filter. I get non monotone pts.<br></div>Do I have to modify something on "Init_Filters"?<br><br></div>thanks<br><br></div>
</blockquote></div><br><br clear="all"><br>-- <br>Massimo Battistel.
</div>