[Ffmpeg-devel] profiling libavcodec

Mike Melanson mike
Tue Jan 24 20:51:10 CET 2006


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?

	I don't do much profiling but maybe ffplay's threading is messing with 
the profiling? Maybe try the safe, singly-threaded ffmpeg transcoder 
(transcode to raw formats and send them to /dev/null).

-- 
	-Mike Melanson





More information about the ffmpeg-devel mailing list