- Time
- Post link
or try using vapoursynth instead? It natively supports threading.
Studing a good way to improve speed with avisynth, I tested some different path…
I tried this path in the latest days; I didn’t dare to try it with my poor old dual core, dual threaded CPU, but with the new quad core, eight treaded one, I wanted to give it a try… and, oh boys, it works, very well!
How it works?
Well, just take your script, and “cut” it in several pieces - it seems that four pieces works well here, they run the CPU at around 80%, leaving some breath for surfing and other little things; probably it could work with more pieces, but your mileage can vary.
Before
project1.avs
avisource(“your source.avi”)
filter1
filter2
filter3
[/code]
After
project1_part1.avs
avisource(“your source.avi”)
filter1
filter2
filter3
trim(000000,040020)
project1_part2.avs
avisource(“your source.avi”)
filter1
filter2
filter3
trim(040000,080020)
project1_part3.avs
avisource(“your source.avi”)
filter1
filter2
filter3
trim(080000,120020)
project1_part4.avs
avisource(“your source.avi”)
filter1
filter2
filter3
trim(120000,000000)
project1_final.avs
a=avisource(“project1_part1.avi”).trim(000000,039999)
b=avisource(“project1_part2.avi”).trim(000000,039999)
c=avisource(“project1_part3.avi”).trim(000000,039999)
d=avisource(“project1_part4.avi”)
a+b+c+d
Encode them at the same time; speed improvement: from 250% up to 400%, depending on how “heavy” are the filters/plugins…
You know, instead of waiting, let’s say, two days, it’s better to wait “just” 12 hours, don’t you think?
Hope this would be of some help.
Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com
or try using vapoursynth instead? It natively supports threading.
Too old to learn also vapoursynth… 😄
Well, preparing the various parts would take usually five minutes, while the time spared is roughly equal to several hours, so I think I could follow this path for some time more…
Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com