Doom9
3rd December 2005, 19:13
Sounds incredible, doesn't it? Okay, the average was still 2 digits, but the highest number I've ever seen. Naturally now I should test HDX4 and Nero's ASP codecs, but anyway.
XviD is single threaded. VDub is single threaded afaik, but somewhere in between them I got 90% CPU usage (100% = both cores maxed out). So, armed with the knowledge that there's no SMP optimization, I started wondering what could cause the higher CPU usage. I tried mencoder too, with the exact same settings, and it only maxes out one core. I also ruled out task manager having an issue reporting because running at normal priority, vdub managed to impact video playback, and looking at the encoding time and FPS, it is clear that encoding using VDub is effectively faster. Since decoding the MPEG-2 source and resizing takes a considerable amount of time, I'm wondering of VDub may have a separated source reading and encoding thread, which could explain the CPU usage as the reader thread could be scheduled on another core than the encoding thread, so that we have one core working only on encoding, and another one working on just decoding.
XviD is single threaded. VDub is single threaded afaik, but somewhere in between them I got 90% CPU usage (100% = both cores maxed out). So, armed with the knowledge that there's no SMP optimization, I started wondering what could cause the higher CPU usage. I tried mencoder too, with the exact same settings, and it only maxes out one core. I also ruled out task manager having an issue reporting because running at normal priority, vdub managed to impact video playback, and looking at the encoding time and FPS, it is clear that encoding using VDub is effectively faster. Since decoding the MPEG-2 source and resizing takes a considerable amount of time, I'm wondering of VDub may have a separated source reading and encoding thread, which could explain the CPU usage as the reader thread could be scheduled on another core than the encoding thread, so that we have one core working only on encoding, and another one working on just decoding.