[FFmpeg-trac] #3531(undetermined:closed): ffmpeg hangs converting a possibly broken avi file

FFmpeg trac at avcodec.org
Wed Apr 23 20:42:55 CEST 2014


#3531: ffmpeg hangs converting a possibly broken avi file
-------------------------------------+-------------------------------------
             Reporter:  hxuanyu      |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  important    |                Component:
              Version:  git-master   |  undetermined
             Keywords:  avi          |               Resolution:  fixed
  deadlock regression                |               Blocked By:
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by DonMoir):

 I changed read_braindead_odml_indx so it only adds an index entry if it's
 a keyframe. You end up with only 2 index entries. This allowed to open in
 about 1 to 3 seconds on my slower machine. Could not open on this machine
 before without it dying due to overheating. When adding index entries in
 read_braindead_odml_indx, it adds keyframe or non-keyframe entries and
 it's the non-keyframe entries that are a problem since there are many
 millions of them. Seems memory is thrashing to disk etc., as it attempts
 to build the index since it becomes a large consumer of memory and CPU.

 With the above change it worked normally but I don't know what other
 ramifications it might have.

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


More information about the FFmpeg-trac mailing list