[FFmpeg-trac] #9561(undetermined:new): FFmpeg hangs on setpts+fps

FFmpeg trac at avcodec.org
Mon Dec 20 15:06:30 EET 2021


#9561: FFmpeg hangs on setpts+fps
-------------------------------------+-------------------------------------
             Reporter:  Jozef        |                     Type:  defect
  Chutka                             |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 Setting `setpts=N/60/TB` (> 25) followed by `fps=60` for a single image
 input, ffmpeg somehow hangs producing empty 0 bytes output.

 How to reproduce:

 {{{
 ffmpeg -f lavfi -i color=size=500x300:rate=60 -filter_complex
 movie=image.png,setpts=N/60/TB,fps=60,tpad=stop_mode=clone:stop_duration=5[v];[0][v]overlay=eof_action=pass[v]
 -map [v] -t 10 -y 60.mp4
 }}}

 ...changing setpts to value like `N/25/TB` works ok.

 tested with latest version of ffmpeg 631e31773b from
 https://www.gyan.dev/ffmpeg/builds/
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9561>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list