Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|
#1 | Link |
|
Registered User
Join Date: Feb 2011
Posts: 70
|
x264 Encoding with MeGUI on 32 Cores System
Just make comparison between using standard Avisynth with Avisynth 2.6 MT on MeGUI
What i used: * Dual AMD Opteron 6272 with Total 32 Cores * RAM 16GB * Video Source 1920x1080p, total duration 30mn 2s * MeGUI 2112 * x264 v2200 * x264 Setting: Code:
program --preset fast --pass 2 --bitrate 5000 --stats ".stats" --threads 16 --deblock -1:-1 --b-adapt 2 --ref 3 --weightp 2 --qpmin 10 --qpmax 51 --chroma-qp-offset -2 --rc-lookahead 60 --merange 32 --me umh --direct auto --subme 9 --trellis 2 --psy-rd 0.00:0 --no-fast-pskip --output "output" "input" Code:
DirectShowSource("D:\Sample.645782-algrm.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
1st pass: 10.95 FPS 2nd pass: 14.97 FPS Threads: 40 Encoding Speed: Start 9:32:37 Finish 11:26:33 its about 2 hours CPU Usage 1st pass: 5% - 10% CPU Usage 2nd pass: 20% - 30% 2. With Avisynth 2.6 MT: Avisynth Script Code:
SetMemoryMax(15000)
SetMTMode(3, 8)
DirectShowSource("D:\Sample.645782-algrm.mkv", fps=23.976, audio=false, convertfps=true).AssumeFPS(24000,1001)
1st pass: 11.28 FPS 2nd pass: 15.28 FPS Threads: 64 Encoding Speed: Start 11:55:33 Finish 01:54:14 its about 2 hours CPU Usage 1st pass: 7% - 13% CPU Usage 2nd pass: 21% - 35% No significant improvement. This is probably the maximum of MT. Have tried mode 1 to 6. For me, mode 3 is the best, other even worst than not using MT. Also tried adjust the threads from 2 to 32. 8 is good choice, values above it will crashed. I dont know its MeGUI problem or the the Avisynth 2.6 MT or x264 it self. 3. Now see when i splitted the video source into 10 parts than encode it simultaneously. This is No MT, just standard Avisynth. Result: 1st pass: See screenshot 2nd pass: See screenshot Threads: 40 per x264 process Encoding Speed: Start 10:17:16 Finish 10:39:38 its about 20 Minutes CPU Usage 1st pass: 60% - 80% CPU Usage 2nd pass: 100% It was awesome...!!! See how the Encoding Speed increase 6x more faster. CPU Usage on 1st pass also increase. More parts means the more u can utilize the CPU usage up to 100%. This is maybe good idea for developer of MeGUI or Avisynth 2.6 MT or x264 rather than playing with frames/threads Any opinion guys... |
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|