[FFmpeg-trac] #5224(avcodec:new): Excessive memory use in H.264 decoder with threading enabled

FFmpeg trac at avcodec.org
Tue Feb 9 17:17:46 CET 2016


#5224: Excessive memory use in H.264 decoder with threading enabled
-------------------------------------+-----------------------------------
             Reporter:  jkqxz        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  unspecified  |               Resolution:
             Keywords:  h264         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------

Comment (by kierank):

 Replying to [comment:1 cehoyos]:
 > Replying to [ticket:5224 jkqxz]:
 > > Given a stream with gaps in frame_num, the threaded decoder may
 allocate many more frames than it should.  (Up to thread count *
 num_ref_frames whole frame buffers.)
 >
 > I believe you are simply describing how multi-threaded decoding works or
 what do I miss?

 He/she has exactly explained the problem, you clearly are missing
 something.

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


More information about the FFmpeg-trac mailing list