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. |
15th September 2012, 01:56 | #161 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Maybe a threading explanation would be in place. First consider avisynth. With its model every filter needs to implement multithreading itself. And to ever get close to 90% cpu usage every filter has to do it really well. Splitting the workload of a single frame evenly for every core.
This has a couple of problems. One is that few people bother to do it. Another is that even fewer have a good understanding of thread synchronization. It can also be fairly error prone and writing portable code that uses threads also requires some extra library for abstraction. Instead it becomes much simpler when the threading is handled by the core. For example writing a filter that can process several frames at once only needs one extra rule compared to a serial one in avisynth. Don't modify the shared instance data. That's it. Even the slowest filters can usually be modified with not too much effort to match this. The core can now just assign one frame to each thread for processing. There should be no real reason for filter writers to handle threading themselves. Actually it would most likely trip up the threading handled by the vapoursynth core. So to sum it up. Vapoursynth filters as such have to know nothing of threading. They just have to follow a few simple rules that makes it possible to run them in a threaded environment. I hope this makes sense. I'm so sleepy
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
15th September 2012, 04:05 | #162 | Link |
Leader of Dual-Duality
Join Date: Aug 2010
Location: America
Posts: 134
|
Thanks for the clarification Myrsloik, that makes a lot more sense
__________________
I'm Mr.Fixit and I feel good, fixin all the sources in the neighborhood My New filter is in the works, and will be out soon |
15th September 2012, 11:40 | #164 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
It's already implemented. See how fast mvtools is now. To the core there's no real difference between spatial and temporal filters.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
15th September 2012, 11:53 | #165 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
after some consideration, I decided to write a small plugin for VapourSynth.
coding was finished in half a day. LINK Since some changes will be further made before a formal release as for VapourSynth and the license of VS is not clear, i will not distribute binary at soon
__________________
my repositories |
15th September 2012, 11:58 | #166 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
16th September 2012, 01:11 | #167 | Link | ||
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,890
|
Quote:
In MAnalyse docs: Quote:
__________________
BeHappy, AviSynth audio transcoder. |
||
16th September 2012, 01:21 | #168 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
On a side note, I've decided to use the affero GPL and I'm about halfway to having R8 ready.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
16th September 2012, 02:30 | #169 | Link | |
Leader of Dual-Duality
Join Date: Aug 2010
Location: America
Posts: 134
|
Quote:
Also so I assume with your clarification of the multithreading that you are not considering implementing the multiprocessing module.
__________________
I'm Mr.Fixit and I feel good, fixin all the sources in the neighborhood My New filter is in the works, and will be out soon |
|
16th September 2012, 03:00 | #170 | Link |
Guest
Join Date: Jan 2002
Posts: 21,901
|
Will Affero GPL allow dynamic invocation of Vapoursynth without "infecting" the application, i.e., is it like LGPL? If it is not like LGPL, I submit that it may be an unwise decision to use this license.
Assuming that you will allow some kind of LGPL-like licensing, consider this: In order not to inhibit plugin writers who wished to keep their plugin source private, and other apps that wanted to use Avisynth without disclosing their source, Ben Rudiak-Gould exempted avisynth.h from LGPL and made it freely usable. Will you consider doing the same for your equivalent interface? Thank you. Last edited by Guest; 16th September 2012 at 03:10. |
16th September 2012, 03:12 | #171 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
16th September 2012, 03:13 | #172 | Link | |
Registered User
Join Date: Mar 2005
Posts: 128
|
Quote:
http://forum.doom9.org/showpost.php?...&postcount=150 http://www.vapoursynth.com/2012/09/r...slowly-coming/ |
|
16th September 2012, 11:20 | #177 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
How would it be unsuitable? Avisynth has been doing fine for a long time with gpl+linking exception. I don't see what new problems having licensing pretty much identical to avisynth would cause. Or is there a huge problem with the avisynth licensing too that I've missed?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
16th September 2012, 12:35 | #179 | Link | |
Registered User
Join Date: Nov 2011
Location: spain
Posts: 45
|
Quote:
|
|
16th September 2012, 12:44 | #180 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
I don't see the problem with this unless there's a misunderstanding somewhere.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|