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 2013, 16:24 | #941 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
Btw, the links are still broken. I don't think the files are public in your dropbox.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
|
16th September 2013, 04:59 | #943 | Link | |
Registered User
Join Date: Aug 2007
Posts: 218
|
Quote:
Code:
r = core.std.ShufflePlanes([src], [0], vs.GRAY) g = core.std.ShufflePlanes([src], [1], vs.GRAY) b = core.std.ShufflePlanes([src], [2], vs.GRAY) a = core.std.BlankClip(clip=r, color=[65535]) last = core.std.Interleave([r,b,g,a])# r b g a -> rb ga -> rgba # Turn right last = core.std.Transpose(last) # last = core.std.FlipHorizontal(last) # EDIT: Not needed last = core.std.DoubleWeave(last, True) last = core.std.SelectEvery(last, 2, 0) last = core.std.DoubleWeave(last, True) last = core.std.SelectEvery(last, 2, 0) # Turn left last = core.std.Transpose(last) # last = core.std.FlipVertical(last) # EDIT: Not needed last.set_output() Code:
"vspipe.exe" test.vpy - | convert -depth 16 -size 1920x1080 rgba:- test.png
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18 ffms2 builds with 10bit output hack: libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1 Built from ffms2 6e0d654 (hack a9fe004) Mirrors: http://bit.ly/19TwDD3 Last edited by SAPikachu; 16th September 2013 at 06:40. |
|
16th September 2013, 05:27 | #944 | Link |
typo lover
Join Date: May 2009
Posts: 595
|
@SAPikachu
I think that FlipHorizontal/FlipVertical is unneeded. Just Transpose x 2 is enough.
__________________
my repositories Last edited by Chikuzen; 16th September 2013 at 17:36. |
16th September 2013, 06:41 | #945 | Link |
Registered User
Join Date: Aug 2007
Posts: 218
|
Yes they are indeed unneeded. I followed advice of Vapoursynth documentation and didn't notice that. Just updated the snippet. Thanks for pointing out this.
__________________
f3kdb 1.5.1 / MP_Pipeline 0.18 ffms2 builds with 10bit output hack: libav-9a60b1f / ffmpeg-1e4d049 / FFmbc-0.7.1 Built from ffms2 6e0d654 (hack a9fe004) Mirrors: http://bit.ly/19TwDD3 |
18th September 2013, 18:24 | #946 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Welcome to the weekly "the project isn't dead" announcement.
Due to wanting to fix some issues properly the x64 builds will be delayed a bit. Note that the current and past 4 git revisions are broken.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
27th September 2013, 16:21 | #949 | Link | |
unsigned int
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
|
Quote:
I'm fairly confident I can add that functionality.
__________________
Buy me a "coffee" and/or hire me to write code! |
|
28th September 2013, 08:14 | #950 | Link | |
Registered User
Join Date: Apr 2009
Posts: 478
|
Quote:
Thanks, looking forward to it! |
|
1st October 2013, 19:21 | #951 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Here's RC1 for R20.
Report any bugs you find here. I'll post some FrameEval examples later. Changes: Code:
r20: rewrote the ugliest threading code, the locking is now a bit more fine grained in general added frameeval, a function to allow per frame filter evaluation blankclip now generates a new frame on every request to keep memory usage down, added the keep argument to optionally always return the same frame the message handler now takes an extra user data pointer, the handler and data pointer is still per process instead of per core though added plugin autoloading for linux (jackoneill) added plugin autoloading for windows, autoloaded plugins for all users go into <installdir>\plugins and per user autoloaded plugins go into <appdata>\vapoursynth\plugins include the python backtrace in errors when available fixed a bug in the propagation of filter errors, requesting a frame with an error twice no longer makes vapoursynth hang fixed the error that happens when avisource is used to open a vs script inside a vs script added override support to vdecimate (nodame) added -version option to vspipe and other small fixes addborders now properly rejects clips where the colorspace can change addborders and blankclip now properly default to black for all colorspaces added tdeint propery to the prefetch list_functions fixed a cache bug that would make caches adapt too slowly/not at all only output the first 200 slow warnings per avisynth filter don't prefetch any frames by default for avisynth filters
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
5th October 2013, 18:22 | #953 | Link |
Registered User
Join Date: Jun 2012
Location: Ibiza, Spain
Posts: 321
|
Long time no testing due to various things and now non of my scripts works :/
I can easily make VS crash with a simple Repari call (0.9 and 1.0). This script for instance: Code:
import vapoursynth as vs core = vs.get_core() core.avs.LoadPlugin(path=r'DGDecodeNV.dll') core.avs.LoadPlugin(path=r'RepairSSE2.dll') core.avs.LoadPlugin(path=r'RemoveGrainSSE2.dll') src = core.avs.DGSource('01.dgi') main = core.avs.RemoveGrain(src, 1) main = core.avs.Repair(main, src, 17) main.set_output() |
6th October 2013, 10:20 | #955 | 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 |
|
6th October 2013, 13:52 | #956 | Link |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Here's R20 RC2.
It fixes the avisynth compatibility for filters without prefetching. I also added removegrain and repair to the prefetch list since apparently I forgot them.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet |
6th October 2013, 20:42 | #958 | Link | |
Professional Code Monkey
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,548
|
Quote:
If it still crashes, can you send me the exact repair and removegrain dlls you are using? There are simply too many variations of them for me to find and try all. It's also interesting because it now crashes inside removegrain code and not in vapoursynth like like in reel.deel's log.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet Last edited by Myrsloik; 6th October 2013 at 20:53. Reason: Clarifications |
|
7th October 2013, 04:41 | #959 | Link | |
Registered User
Join Date: Aug 2004
Location: Russia, Novosibirsk
Posts: 176
|
Quote:
Code:
src=r'video-raw\\n01-01.avi' plugins_avs_custom=r'C:\\Bin\\avisynth_plugins_custom\\' import vapoursynth as vs import sys core = vs.get_core(threads = 1) core.avs.LoadPlugin(plugins_avs_custom + r'RemoveGrainSSE2.dll') clip = core.ffms2.Source(src) clip = core.avs.RemoveGrain(clip, 1) clip.set_output() Last edited by Tima; 7th October 2013 at 16:25. Reason: Correct link for my version of RemoveGrain |
|
7th October 2013, 09:39 | #960 | 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 |
|
Tags |
speed, vaporware, vapoursynth |
Thread Tools | Search this Thread |
Display Modes | |
|
|