[FFmpeg-trac] #4369(avformat:closed): FFmpeg uses 100% cpu while processing an invalid gif

FFmpeg trac at avcodec.org
Sun Mar 29 14:42:50 CEST 2015


#4369: FFmpeg uses 100% cpu while processing an invalid gif
------------------------------------+--------------------------------------
             Reporter:  masom       |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:  worksforme
             Keywords:  gif         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+--------------------------------------
Changes (by cehoyos):

 * status:  open => closed
 * resolution:   => worksforme


Comment:

 The sample you uploaded plays for eighteen hours, encoding with FFmpeg
 takes 150 seconds here (which is not forever) with {{{-vsync cfr}}} which
 is the default for mov. You can ues {{{-vsync vfr}}}, the output file may
 not completely conform to the relevant specification.

 I added an option {{{-max_gif_delay}}} that allows you to play the sample
 in real-time.

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


More information about the FFmpeg-trac mailing list