I found what was wrong.
On "InitFilters" function, when setting args (char args[512]), I had to use
stream timebase (AVStream) and not codec timebase (AVCodecContext). I don't
know if this can be considered a bug.

Second thing, fps filter do not modify frame->pts. Is it correct?

thanks


2013/8/9 Massimo Battistel <[email protected]>

> Hello,
> regarding the following example:
>
>
> http://ffmpeg.org/doxygen/trunk/doc_2examples_2filtering_video_8c-example.html
>
> I cannot make it work with "fps=fps=25" filter. I get non monotone pts.
> Do I have to modify something on "Init_Filters"?
>
> thanks
>
>


-- 
Massimo Battistel.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to