On 21 May 2010 05:19, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote: > David McPaul <dlmcpaul@xxxxxxxxx> wrote: >> On 15 May 2010 20:10, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote: >> > For profiling, the "profile" command is helpful, too. >> Just be aware the profile command will not work when playing media >> files decoded using avcodec. >> >> I am not going to say how long it took me to realise why :-) > > The only reason I could come up with would be missing function frames > for assembly inlines. Is there anything else? ffmpeg uses the frame pointer for other things so it is basically corrupt when interrupted by profile. I spent some time trying to figure out why my profile results seemed so darn random. In theory we could build ffmpeg so it could be profiled but we would lose some of the assembler code. Anyway I just wanted to let everyone else know not to bother trying to profile media playback -- Cheers David