I'm wrapping up the design on an automated system to convert broadcast-quality MPEG-2 to stream-quality MPEG-4 for a government access TV station. It uses ffmpeg SVN-r10464 (the Celtic Druid binaries) under Windows XP Pro SP2.
On my test workstation, everything works very well and ffmpeg happily gobbles up 97-99% of my CPU. However, when I move it to the PC which is dedicated to encoding streams, it will never use more than exactly 50% of the CPU. The only significant difference I can find is that the new PC has a dual-core CPU while my test workstation is a single-core. ffmpeg is written for dual-core and spreads the process across both, but it never exceeds 50% total. If I change the CPU affinity and only give it access to one core, it will use the whole core but again never exceeds 50% of the total.
While everything works the way it's supposed to, I'd really love to convince ffmpeg to make use of the rest of the CPU. Does anyone have any notion what might be going on? Perhaps it's related to the Pthreads-w32 DLL that ffmpeg uses?
Thanks!
+ Reply to Thread
Results 1 to 7 of 7
-
-
it may be that the cpu speed has exceeded the i/o transfer speed of the hard drive you are using and can't read write any faster causing the bottleneck.
--
"a lot of people are better dead" - prisoner KSC2-303 -
Originally Posted by aedipuss
Thanks! -
Originally Posted by aedipuss
Thanks for the idea, though! -
Originally Posted by Soopafresh
Sorry to miss something so obvious. When I saw that it was using both cores, I assumed it had auto-detected and was already running multiple threads.
Thanks!
Similar Threads
-
ffmpeg CPU usage
By diprotic in forum Video ConversionReplies: 13Last Post: 19th Apr 2015, 14:40 -
What do i need if CPU usage goes 100% when video editing?
By NaHLiJ in forum Newbie / General discussionsReplies: 19Last Post: 28th Dec 2013, 19:13 -
looking for low cpu usage video player.
By eroy in forum Software PlayingReplies: 8Last Post: 24th Sep 2013, 07:00 -
how to limit cpu usage for program
By deejay.2001 in forum ComputerReplies: 8Last Post: 17th Jul 2008, 20:27 -
CPU usage goes to 100%
By Tbag in forum ComputerReplies: 21Last Post: 18th Jan 2008, 09:59