From: Kyle S. <ksh...@gm...> - 2012-08-14 01:26:56
|
On 8/13/2012 8:31 PM, NightStrike wrote: > On Wed, Aug 8, 2012 at 2:49 PM, Kyle <ksh...@gm...> wrote: >> It's *very* slow. If you compare the speed to that of a older FFmpeg, >> the debug build is practically unusable. > > I'm coming into this very late, and I probably can't be of much help, > but just a thought. Have you tried profiling ffmpeg to see where it's > wasting all of its time? For instance, if it's seeing tons of delays > just trying to get mutexes, then that's a problem. Thank you for the help. Ive been forced to switch over to w32threads because of this issue and I'm willing to offer any help to get it fixed. I think winpthreads is a great package for not only FFmpeg but also other high cpu usage apps, and prefer it over any of the other pthread wrapper libraries. With that said, I haven't tried to profile FFmpeg. I'm not sure how I would go about doing that either. > Compiling with -pg and using gprof would be a help, as would throwing > some instrumentation in the code at various key points. I can supply a build with -pg, I haven't used gprof yet but I believe it works along with a build that is compiled with -pg. I'm a bit rusty in C, but I'm very motivated to fix this so just walk me though anything you would like tested and I'll see that it's done. > Have you used gprof before? It can be daunting with the output that it gives. Any progress on this bug is a huge help to me. Best regards, Kyle Schwarz |