View Full Version : VirtualDub & 50% Cpu Usage??
MoUCLAs
25th September 2006, 12:15
Hello , i have the Dual core athlon xp 4400+ and when i encode a video with VirtualDub i have only 50% cpu usage. Isnt it compatimble with the dual core?
GodofaGap
25th September 2006, 12:37
Newer versions of VirtualDub do decoding and encoding in separate threads, but for more multithreading you are really dependent on the codecs themselves, not VirtualDub.
Also, CPU usage in itself doesn't say everything. It is better to just compare the speed in fps with one core and two cores.
MoUCLAs
25th September 2006, 13:02
the codecs that i have tried are x264 and XviD..
I am using the 1.6.15 Virtualdub-mpeg..
How do i create seperate threads? and what do they suppose to do? i am encoding from mpeg-2
GodofaGap
25th September 2006, 13:33
VirtualDub creates separate threads itsself. And I already explained what they do: decoding and encoding.
MoUCLAs
25th September 2006, 14:44
But Unfortunately they are using only the one Core of my Cpu..
Serbianboss
25th September 2006, 14:51
I have the same problem.I have dual core 3800+ and also have 50%.
But if you use avisynth script and fast recompress you will have 80-90% os usage.
MoUCLAs
25th September 2006, 16:24
i am specially interested to encode into h264 using VirtualDub, since i havent fount more easiest way.. is it possible with avisynth?
check
25th September 2006, 16:30
Try a program like MeGUI instead of VD for h264 encoding - you can specify however many threads you want with it.
Turtleggjp
26th September 2006, 16:21
I haven't dealt with VirtualDub-MPEG, so I'm not sure how it deals with decoding the MPEG video and multithreading. I use AVISynth and VirtualDub together all the time. If you can use AVISynth routines (such as DGMPGDec) to decode the MPEG video and do all other preparations (resizing, deinterlacing, etc.), then all VirtualDub has to do is feed the frames into the video compressor of your choice. If you pre-processing stuff is fairly complex, then you should get some good usage out of your second core. When I work on certain TV shows where I take 1920x1080i @ 30fps and de-interlace it to 720x540 @ 60fps, my CPU usage runs around 70-90%, sometimes even hitting 100% temporarily. Other than that, as GodofaGap said, you're at the mercy of your video compressor to get more than 50% usage in a dual core environment.
Matt
DmitryPopov
25th October 2006, 16:47
You can try my VideoEnhancer. It can use any codec and more than a hundred of VirtualDub filters. All codecs and filters work in separate threads so the speed is much higher than VD on dual core machines.
http://www.thedeemon.com/VideoEnhancer/
Nil Einne
26th October 2006, 18:20
I don't use filters as I simply re-compress my MPEG2 recordings to XviD so the only thing in a different thread would be the decoding part and since this isn't much of a limiting factor I somewhat doubt VE would be much faster then VD for me (okay I don't currently have dualcore either but thats not the point) :-P
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.