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. |
11th June 2012, 08:24 | #425 | Link | ||
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
Quote:
Since he has 32 cores, the default is to use 32 threads anyway. SEt's advice was to use fewer threads, eg SetMTMode(3, 8) |
||
11th June 2012, 11:54 | #426 | Link |
Registered User
Join Date: Aug 2007
Posts: 374
|
Yes, I was suggesting using smaller numbers like SetMTMode(3, 8).
Also, CPU usage is only a hint if you are doing something completely wrong or not – only speed matters in the end and best speed in certain situations doesn't come with 100% CPU usage. |
11th June 2012, 12:12 | #427 | Link | |
Registered User
Join Date: Feb 2011
Posts: 70
|
Quote:
The best way for me is split the video source using mkvmerge GUI into 8-20 parts than encode it simultaneously. This is awesome, i can encode a video 1080p (1920x1080) with total duration 1h 57mn only take not more than 2 hours using above x264 profile. And the CPU usage can reach from 60% to 100% on the 1st pass, more part means more CPU usage can be maximized But splitting and re-merging that so many pieces of course annoying. Thats why i still want the developer of MeGUI, Avisynth 2.6 MT or x264 can make it more easy-without manually split the video source into many parts-to maximize the multi core system |
|
11th June 2012, 12:26 | #428 | Link |
契約者
Join Date: Jun 2008
Posts: 1,576
|
defalopii
Do note that having that much threads can degrade quality of your video. Because it is achieved by starting encoding of the next frame while previous is not yet finished (or something like that) or by using slices, but this also bad if you have so many of them. The difference is usually unnoticeable, but with this much threads you probably want to check this. UPD: also, looking on your spitted files 60% load i recall that 1st pass never was very thread-efficient by itself so u should make sure that load during 2nd pass is maximized. Not sure if something about it was changed lately, i don't use 2-pass encodes for years now, only crf. Last edited by Keiyakusha; 11th June 2012 at 12:53. |
11th June 2012, 12:37 | #429 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Does the amount of utilized threads by the encoder executable change in Task Manager when you change the number of threads?
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
11th June 2012, 12:57 | #431 | Link | |
Registered User
Join Date: Feb 2011
Posts: 70
|
Quote:
Yes its increase along with MT value. But if too much it will error "Process exits with error code: -1073741819 " |
|
11th June 2012, 13:03 | #433 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
Does anyone knows if it possible that with this much threads x264 just reaches some point when previous frame doesn't have enough information to start encoding new frame so new thread is not created? Then maybe higher resolution video will use more threads... Makes any sense? |
|
11th June 2012, 13:10 | #434 | Link | |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
Quote:
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
|
11th June 2012, 14:04 | #436 | Link |
Anime addict
Join Date: Feb 2009
Location: Spain
Posts: 673
|
You can try SetMTMode(5, 8), with my cpu i have problems too using MT in mode 3. Intel core i7
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite |
11th June 2012, 14:26 | #438 | Link |
Registered User
Join Date: Aug 2007
Posts: 374
|
If SetMTMode doesn't work – you are doing something wrong. I can't guarantee that 32 threads will work flawlessly (never tested such case), but something around 8 definitely works well. And I'm talking about Avisynth speed, not something like MeGUI to x264.
There is no quality degradation with SetMTMode. Either filters are MTMode-friendly and you will get exactly the same result as in non-MTMode, or you'll get crash, glitches, whatever but graceful quality degradation. What? First time I hear such issue. How about making proper bug report? |
11th June 2012, 14:57 | #439 | Link | |
Registered User
Join Date: Feb 2011
Posts: 70
|
Quote:
What i did, installed the Avisynth from here avisynth.org, than replace the avisynth.dll in the System32 folder with avisynth.dll from Avisynth 2.6 MT, thats it, is that wrong ?? Actually guys, how many percent increasing the FPS with or without Avisynth 2.6 MT ?? Is Avisynth 2.6 MT utilize the all cores up to arround 100% of CPU Usage ?? Do You ever trying like me splitting the videos into many parts and encode it simultaneously ?? than see how awesome it utilize the all core and CPU Usage and increasing the total encoding speed. Maybe Avisynth MT, or MeGUI or even x264 should try this methode, spliting the videos rather than playing with threads/frames I dont know, am i still on my way.,,?? or sould move it to another sub-forum, there is so much, i am confused where must write this Last edited by defalopii; 11th June 2012 at 15:09. |
|
11th June 2012, 16:36 | #440 | Link | |
契約者
Join Date: Jun 2008
Posts: 1,576
|
Quote:
As for me, I don't see the reason to use many threads in avisynth. Most of the time the actual encoding is a more CPU-intensive task than pre-processing. Of course if we use only good optimized filters, and our source is not some old self-recorded VHS that needs a lot of processing. But many "heavy" filters can have their own threads anyway. Last edited by Keiyakusha; 11th June 2012 at 21:04. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|