[FFmpeg-trac] #1051(undetermined:open): ffmpeg with -f lavfi and movie leads to error messages and videos with 1 fps

FFmpeg trac at avcodec.org
Fri Apr 20 18:30:46 CEST 2012


#1051: ffmpeg with -f lavfi and movie leads to error messages and videos with 1
fps
-------------------------------------+-------------------------------------
             Reporter:  ls           |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  rawvideo     |               Resolution:
  probesize                          |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Changes (by Cigaes):

 * analyzed:  0 => 1
 * keywords:   => rawvideo probesize


Comment:

 The problem is that your frames are large: full-HD. As {{{-f lavfi}}}
 outputs rawvideo, each packet takes 3110400 bytes: the default
 {{{probesize}}} value, 5000000, only allows to analyze one frame, which is
 not enough to determine the framerate.

 Adding {{{-probesize 6220801}}} (two frames, plus 1 because for some
 reason the comparison is exclusive) or more solves the problem.

 Of course, the default value of {{{probesize}}} should be enough to work
 by default. I am not sure what the best way to solve the problem is, so
 the bug stays open.

 But for now you have a workaround.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1051#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list