[MPlayer-dev-eng] Demultiplexer is busier at the beginning of a file?

Daniel Egger degger at fhm.edu
Thu Feb 21 14:15:02 CET 2002


Hija,

I just noticed that something is really abork in the demultiplexer.
When I play a mp3 file it utilises the CPU with 5% load at the beginning
of the file and most of the time is spend within the demultiplexer:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  us/call  us/call  name    
 76.67      0.23     0.23        1 230000.00 238630.79  demux_mpg_fill_buffer
 13.33      0.27     0.04    89136     0.45     0.45  synth_filter
  3.33      0.28     0.01   118325     0.08     0.08  imdct36
  3.33      0.29     0.01    18906     0.53     0.53  mp_msg_c
  3.33      0.30     0.01        1 10000.00 10201.55  demux_open_stream

If I skip a few times 10s each the load is below 2% and the
profile looks much better as well:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls  us/call  us/call  name    
 30.38      0.24     0.24        1 240000.00 240000.00  demux_mpg_fill_buffer
 18.99      0.39     0.15   225792     0.66     1.15  synth_filter
 13.92      0.50     0.11   300499     0.37     0.37  imdct36
 13.92      0.61     0.11   225792     0.49     0.49  dct32
  7.59      0.67     0.06    12544     4.78    13.55  compute_imdct

Any ideas?

-- 
Servus,
       Daniel




More information about the MPlayer-dev-eng mailing list