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. |
|
|
Thread Tools | Search this Thread | Display Modes |
21st January 2007, 08:44 | #401 | Link | |
Registered User
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
|
Quote:
The first pass may not be hindering SetMT from using the cores. Once the 2nd pass starts going, CCE may be bottlenecking Avisynth.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake? Curly: Burned at the stake! Moe: Why? Curly: A hot steak is always better than a cold chop. |
|
21st January 2007, 11:03 | #402 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
J-Wo: It could be because one of the avisynth threads stalled. TRy downloading process explorer Run it while CCE is running (before and after you experience the slowdown) and double-click on the cce process. Select the thread tab. The cpu utilization between the two avisynth threads should be evenly distributed if one of them is hovering about 0-10% it might be a bug in avisynth.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
21st January 2007, 18:05 | #403 | Link |
Registered User
Join Date: Jan 2003
Posts: 213
|
The avisynth threads never get down that low, they seem to be steady around 25% +/- 5%. Again after ~30 mins of encoding, CPU utilization has dropped to 76-80%. If you'd like I could run a comparison with an older version of MT. BTW, is there an easy way to have CCE log how long the encoding process took? I'm not often at my computer during encoding so I often miss the window before it closes...
|
21st January 2007, 18:38 | #404 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
it would be fine if you could compare it with the 2.5.6MT version and the non-MT 2.5.7 version. The option to enable the log file hides in the options->outputs menu.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
23rd January 2007, 17:09 | #405 | Link |
Registered User
Join Date: Mar 2004
Posts: 889
|
Problem with WriteFile with SetMTMode()
I have problem using Writefile() with SetMTMode(). Below is a simplified scenario:
Case 1: The values are nicely placed in c:\1.txt delimited by a space. Code:
Blankclip(pixel_type="yuy2",color=$000000,length=71,width=720,height=240,fps=30000,fps_denominator=1001).killaudio() trim(0,-1) space=" " writefile("c:\1.txt", "Width", "space", "Height", "space", "Framerate", "space", "FramerateNumerator", "space", "FramerateDenominator", "space", "HasAudio", append=false) Code:
SetMTMode(2) Blankclip(pixel_type="yuy2",color=$000000,length=71,width=720,height=240,fps=30000,fps_denominator=1001).killaudio() trim(0,-1) space=" " writefile("c:\2.txt", "Width", "space", "Height", "space", "Framerate", "space", "FramerateNumerator", "space", "FramerateDenominator", "space", "HasAudio", append=false) Last edited by henryho_hk; 23rd January 2007 at 17:11. |
23rd January 2007, 23:38 | #407 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
global space =" " would work but it is a bug that happens because each thread has each own var table but they didn't have access to the local var table that are created when the filter chain is created (that contains the variable space in this case) I have fixed this in this version (avisynthMT 2.5.7.3)
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
25th January 2007, 07:29 | #410 | Link |
Pig on the wing
Join Date: Mar 2002
Location: Finland
Posts: 5,733
|
MT's not useful as your CPU isn't dual-core. AMD doesn't have anything like hyperthreading IIRC.
__________________
And if the band you're in starts playing different tunes I'll see you on the dark side of the Moon... |
25th January 2007, 18:18 | #411 | Link | |
Registered User
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
|
Quote:
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake? Curly: Burned at the stake! Moe: Why? Curly: A hot steak is always better than a cold chop. |
|
28th January 2007, 20:15 | #412 | Link | ||
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,699
|
I believe that I have found a new bug. I was recently trying to encode a movie, Step Up, to x264, using the following script:
Quote:
My avisynth.dll is your 2.5.7.2 I suppose. I have yet to try your latest one, but I will check right now. Edit: okay, 2.5.7.3 errors out as well. You can find the error using megui if you use the HQ-Slow profile and the following script: Quote:
Last edited by Adub; 28th January 2007 at 23:35. |
||
2nd February 2007, 15:40 | #414 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
Merlin7777: 80 % done with second pass x264 HQ-Slow profile and no crash yet with the blankclip script.
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
3rd February 2007, 19:00 | #417 | Link |
Registered User
Join Date: Jan 2007
Posts: 1
|
I must say that I am quite thrilled that I finally found this multithread mod to avisynth. I bought a new dual core machine hoping to encode faster, but when I tried it was just as slow. It was taking me 12 hrs per pass, 24 hrs total on my 2.66 Ghz machine. I noticed it was only using one core and I was quite upset. I found out that avisynth was bottlenecking my encode and found this. I added in the MT dll and replaced my avisynth.dll file and my encode now uses 100% both cores and went from 12 hrs per pass to abt 5 hrs per pass and 10 total. I must say I am more than thrilled with this.
Just thought I should mention though that there are a few issues. I am not sure what exactly, but I cant do both passes continuously. Once the one pass finishes in VDub, I have to close and reopen to do the second pass or else I get one of those VDub needs to close, sorry for the inconvience. It also happens occassionally as soon as it starts to encode. If thats the case I just close and reopen and keep trying until it works, eventually it starts to work and once it starts it has no issues. Which puzzles me because sometimes it works and sometimes it doesnt with the same settings, but I dont care since my encode time was cut in half. |
3rd February 2007, 21:14 | #418 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
Merlin7777: decomb 5.2.2
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
4th February 2007, 13:54 | #420 | Link |
Registered User
Join Date: Aug 2004
Location: Denmark
Posts: 807
|
merlin7777: yes threads are set to auto
__________________
Get my avisynth filters @ http://www.avisynth.org/tsp/ |
|
|