[FFmpeg-trac] #3308(undetermined:new): High memory consumption on remuxing a program stream to matroska

FFmpeg trac at avcodec.org
Mon Jan 27 10:00:58 CET 2014


#3308: High memory consumption on remuxing a program stream to matroska
-------------------------------------+-------------------------------------
             Reporter:  cehoyos      |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  mpegps       |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by cehoyos):

 Massif output for the remuxing of the complete file:
 {{{
 --------------------------------------------------------------------------------
   n        time(i)         total(B)   useful-heap(B) extra-heap(B)
 stacks(B)
 --------------------------------------------------------------------------------
  77 19,609,853,744      647,132,288      643,912,769     3,219,519
 0
 99.50% (643,912,769B) (heap allocation functions) malloc/new/new[],
 --alloc-fns, etc.
 ->98.17% (635,266,133B) 0xCEE728: av_buffer_realloc (buffer.c:164)
 | ->98.17% (635,264,092B) 0x61FC01: av_dup_packet (avpacket.c:204)
 | | ->98.17% (635,264,092B) 0x5DF62D: parse_packet (utils.c:1286)
 | | | ->98.17% (635,264,092B) 0x5E0036: read_frame_internal (utils.c:1397)
 | | |   ->98.17% (635,264,092B) 0x5E0C10: av_read_frame (utils.c:1504)
 | | |   | ->98.17% (635,264,092B) 0x47E482: process_input (ffmpeg.c:3031)
 | | |   |   ->98.17% (635,264,092B) 0x4668DE: main (ffmpeg.c:3334)
 | | |   |
 | | |   ->00.00% (0B) in 1+ places, all below ms_print's threshold
 (01.00%)
 | | |
 | | ->00.00% (0B) in 1+ places, all below ms_print's threshold (01.00%)
 | |
 | ->00.00% (2,041B) in 1+ places, all below ms_print's threshold (01.00%)
 |
 ->01.34% (8,646,636B) in 19 places, all below massif's threshold (01.00%)
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/3308#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list