[Ffmpeg-devel] profiling libavcodec

Gianluigi Tiesi mplayer
Wed Jan 25 01:06:22 CET 2006


On Tue, Jan 24, 2006 at 05:48:11PM -0200, Peter wrote:
> Hi,
> 
> I want to analyse the bottleneck of libavcodec on the MPEG2 decoding
> process.
> 
> So I enabled gprof and played a MPEG2 TS using ffplay.
> 
> But the results I've found are not very good:
> 
> % time     secs     secs      calls   ms/call ms/call  name
> 100.00      0.01     0.01     1666     0.01     0.01  video_image_display
> 
> So I disabled the graphical display, but, then, all functions appear with %
> execution time = 0%.
> 
> Can anyone help me?
> 
> Thanks,
> 
it seams that it misses other function references, have you tried to
specify flat profile output? also try to add debug and make a static
build, often helps
Bye

-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/





More information about the ffmpeg-devel mailing list