View Full Version : I need help with X264 Using only 11% CPU
sutha25
16th September 2014, 05:16
Hi i have search the forum for any Idea about using CPU more then 11% but couldn't find any help that works for me
iam trying to encode Bluray BD50 to 720P
i have tired --Threads auto to 12 still didn't help
Task Manager
http://prntscr.com/4na336
Megui Encoding
http://prntscr.com/4na3f9
Script's I tired with SetMTMode and without it
SetMTMode(5)
LoadPlugin("C:\Users\Administrator\Downloads\Compressed\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\BANGALORE\BDMV\STREAM\00002.m2ts", fpsnum=24, fpsden=1)
SetMTMode(2)
Levels(17, 0.800, 255, 0, 255, coring=true)
ColorYUV(gamma_y=128, gamma_u=256, gamma_v=256, off_y=-16,autowhite=true)
crop(0, 130, 0, -130)
Spline36Resize(1280,544) # Spline36 (Neutral)
LSFmod()
degrainmedian(mode=3)
Spresso(2,25,3)
return(last)
LoadPlugin("C:\Users\Administrator\Downloads\Compressed\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\BANGALORE\BDMV\STREAM\00002.m2ts", fpsnum=24, fpsden=1)
Levels(17, 0.800, 255, 0, 255, coring=true)
ColorYUV(gamma_y=128, gamma_u=256, gamma_v=256, off_y=-16,autowhite=true)
crop(0, 130, 0, -130)
Spline36Resize(1280,544) # Spline36 (Neutral)
LSFmod()
degrainmedian(mode=3)
Spresso(2,25,3)
i pretty much tired all the SetMTMode and with Distributor() as well still is not passing more then 11% CPU and 20FPS
nekosama
16th September 2014, 07:17
Blame it on slow (unoptimized filters, lsf and degrainmedian, maybe even spresso since it's old might be wrong since it mostly relies on masktools but definitly lsf), at this point avisyth is slowing down your encode, not x264.
sutha25
16th September 2014, 09:39
Blame it on slow (unoptimized filters, lsf and degrainmedian, maybe even spresso since it's old might be wrong since it mostly relies on masktools but definitly lsf), at this point avisyth is slowing down your encode, not x264.
i have tired without any filter and got only 32 FPS and 8%CPU usage it did increase from 20 FPS to 32 FPS but cpu went down from 11% to 8% and what are the way to increase to use at least 80% CPU?
http://prntscr.com/4nb7s0
LoadPlugin("C:\Users\Administrator\Downloads\Compressed\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\BANGALORE\BDMV\STREAM\00002.m2ts", fpsnum=24, fpsden=1)
Levels(17, 0.800, 255, 0, 255, coring=true)
ColorYUV(gamma_y=128, gamma_u=256, gamma_v=256, off_y=-16,autowhite=true)
crop(0, 130, 0, -130)
Spline36Resize(1280,544) # Spline36 (Neutral)
Groucho2004
16th September 2014, 09:58
i have tired without any filter and got only 32 FPS and 8%CPU usage it did increase from 20 FPS to 32 FPS but cpu went down from 11% to 8% and what are the way to increase to use at least 80% CPU?
- Run the script through AVSMeter (http://forum.doom9.org/showthread.php?t=165528) and post the results
- Post your x264 command line
sutha25
16th September 2014, 10:05
- Run the script through AVSMeter (http://forum.doom9.org/showthread.php?t=165528) and post the results
- Post your x264 command line
thanks for the reply here the ss of the avs meter
http://prntscr.com/4nbcqo
X264 Command Line
program --level 4.1 --pass 2 --bitrate 1861 --stats ".stats" --deblock -3:1 --keyint 240 --bframes 5 --b-adapt 2 --b-pyramid none --ref 8 --qpmin 10 --qpmax 51 --vbv-bufsize 24000 --vbv-maxrate 24000 --me umh --subme 9 --partitions all --psy-rd 1.0:0.15 --colormatrix bt709 --threads 16 --sar 1:1 --output "output" "input"
Groucho2004
16th September 2014, 10:09
thanks for the reply here the ss of the avs meter
Which script was that? Also, do the same with MT mode enabled.
sutha25
16th September 2014, 10:17
Which script was that? Also, do the same with MT mode enabled.
OK this is without NO Filter
LoadPlugin("C:\Users\Administrator\Downloads\Compressed\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\BANGALORE\BDMV\STREAM\00002.m2ts", fpsnum=24, fpsden=1)
Levels(17, 0.800, 255, 0, 255, coring=true)
ColorYUV(gamma_y=128, gamma_u=256, gamma_v=256, off_y=-16,autowhite=true)
crop(0, 130, 0, -130)
Spline36Resize(1280,544) # Spline36 (Neutral)
http://prntscr.com/4nbcqo
this is with SETMTMODE
SetMTMode(5)
LoadPlugin("C:\Users\Administrator\Downloads\Compressed\MeGUI\tools\ffms\ffms2.dll")
FFVideoSource("E:\BANGALORE\BDMV\STREAM\00002.m2ts", fpsnum=24, fpsden=1)
SetMTMode(2)
Levels(17, 0.800, 255, 0, 255, coring=true)
ColorYUV(gamma_y=128, gamma_u=256, gamma_v=256, off_y=-16,autowhite=true)
crop(0, 130, 0, -130)
Spline36Resize(1280,544) # Spline36 (Neutral)
http://prntscr.com/4nbev4
you think it mite be something wrong with my FFMS2?
Groucho2004
16th September 2014, 10:29
you think it mite be something wrong with my FFMS2?
Possibly. CPU utilization should be much higher, especially since FFMS2 is internally multi-threaded.
Try LSMASH (LWLibavVideoSource) (http://forum.doom9.org/showthread.php?p=1689573#post1689573).
sutha25
16th September 2014, 10:40
Possibly. CPU utilization should be much higher, especially since FFMS2 is internally multi-threaded.
Try LSMASH (LWLibavVideoSource) (http://forum.doom9.org/showthread.php?p=1689573#post1689573).
here with SETMTMODE
http://prntscr.com/4nbiq0
sutha25
16th September 2014, 10:47
i tired on Megui and got around 55 FPS and is just going up i'll let you know when is 1st pass finished
http://prntscr.com/4nbjy2
EDIT::is going on 62 FPS with out SETMTMODE
http://prntscr.com/4nbm3v
With SETMTMODE
http://prntscr.com/4nbwe6
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.