Log in

View Full Version : TIVTC avisynth x264 65% idle CPU


Krawhitham
7th November 2011, 19:52
Normally when encoding with x264 I run at 95% CPU load. This video needed TDecimate(cycleR=1) not something I ran across before. The encode was real slow and only used 35% CPU load

here is the script

LoadPlugin("DGDecode.dll")
DGDecode_mpeg2source("video.d2v", info=3)
LoadPlugin("ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("TIVTC.dll")
TDecimate(cycleR=1)
Spline36Resize(864,480) # Spline36 (Neutral)


Here is the command line I used
"x264.exe" --crf 18 --level 4.1 -o video.h264 video.avs

I have an AMD with 6 cores, none of the 6 cores is above 77% load.

Any way I can improve performance?

mandarinka
7th November 2011, 20:24
Avisynth is single-threaded (except for plugins that handle multithreading on their own, internally), thus bottlenecking your encode to speed that can be sustained by the 1-threaded (1 core utilizing) avisynth input. That's why part of your cpu's available resources are idle.