[FFmpeg-trac] #9073(undetermined:new): ffmpeg memory overflow when trimming 4K clips

FFmpeg trac at avcodec.org
Sat Jan 23 11:54:32 EET 2021


#9073: ffmpeg memory overflow when trimming 4K clips
-------------------------------------+-------------------------------------
             Reporter:  andykais     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:
             Keywords:  memory       |               Blocked By:
  filter_complex inputs              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by richardpl):

 From logs its obvious that something caches huge amounts of memory,
 probably because of messing with PTS (presentation timestamps) in your
 graph.

 Please consider using agraphmonitor with only audio filters, if it shows
 big cache numbers than it is bug in some of filters, otherwise it is badly
 designed filtergraph.

 Also I see some frames have NAN timestamps, this will obviously cause big
 caching issues.

 Also please consider uploading short input samples which would allow to
 reproduce this memory issue.

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


More information about the FFmpeg-trac mailing list