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

FFmpeg trac at avcodec.org
Tue Feb 9 17:11:52 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            |
-------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:   => h264


Comment:

 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?

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


More information about the FFmpeg-trac mailing list