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

FFmpeg trac at avcodec.org
Wed Mar 18 10:57:35 CET 2015


#4369: FFmpeg uses 100% cpu while processing an invalid gif
------------------------------------+------------------------------------
             Reporter:  masom       |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  gif mp4     |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |
------------------------------------+------------------------------------

Comment (by Cigaes):

 The file announces 6.67 frames per second, but ffprobe shows each frame
 separated by 655.35 seconds. Either this file was badly encoded or theree
 is a bug in the Gif demuxer.

 The long encoding comes from the fact that the MP4 muxer does not support
 variables FPS, and therefore needs to duplicate each frame 4371 times.

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


More information about the FFmpeg-trac mailing list