[FFmpeg-trac] #7662(avfilter:closed): 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 13:28:21 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:  closed
             Priority:  normal      |                Component:  avfilter
              Version:  git-master  |               Resolution:  invalid
             Keywords:  fps         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by vishal733):

 That's not the way to look at it..

 Steps:
 i) First skip frames at 0.125125, 0.166833
 ii) Pick frame at  0.208542 (Frame n=0 output from fps filter)
 iii) Skip frames at 0.25025, 0.291958, 0.333667, 0.375375, 0.417083,
 0.458792, 0.5005, 0.542208, 0.583917, 0.625625, 0.667333
 iv) Pick frame at 0.709042 (Frame n=1 output from fps filter)

 The frames skipped are based upon the fps value given to fps filter.

 Now fps filteradditionally resets the pts_time in step (ii), and step(iv)
 to 0, and 0.5 respectively (which qualifies as a cfr output from fps
 filter, as intended by this filter)
 Whereas what I need is for fps filter to not reset the pts_time in
 step(ii), and step(iv). That's what I meant by unaltered pts_time. (maybe
 even this will qualify as a cfr, and not really a vfr!)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7662#comment:12>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list