[FFmpeg-trac] #7662(avfilter:new): When using video filter fps, provide an option to retain actual pts, and pts_time for frames
FFmpeg
trac at avcodec.org
Thu Jan 10 11:13:33 EET 2019
#7662: When using video filter fps, provide an option to retain actual pts, and
pts_time for frames
------------------------------------+------------------------------------
Reporter: vishal733 | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: fps | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by vishal733):
I understand your point now, and got the rationale behind fps filter
changing the pts values.
Btw, just to correct this statement:
> Preserving the PTS means preserving the initial frame rate.
Not really. If you don't change the pts, it will just be a vfr(variable
frame rate) output, at the desired output fps. Isn't it?
Whereas, by changing pts values, we get a cfr(constant frame rate) at the
desired output fps.
I guess my request here could be better worded as "Ability to get vfr at
desired fps from fps filter".
Actually my usecase is, I want to allow frames to pass through at 2fps
without altering their pts. And then apply more video filters on top of
it.
I guess -r option could have worked for me, if it was possible to apply
filters after doing -r.
I hope I am making sense?
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7662#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list