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 |
30th May 2016, 06:08 | #241 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
No idea, but try eg
Code:
LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins+\MP_Pipeline.dll") ffdshow_source() # NOT INSIDE MP_PipeLine script MP_Pipeline(""" ### platform: win32 SetMemoryMax(512) sss = 1.5 newWidth = round(sss*width(last)/8)*8 newHeight = round(sss*height(last)/8)*8 LanczosResize(newWidth,newHeight) ### ### """)
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? |
30th May 2016, 08:44 | #243 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
The source filter statement has to be within the "MP_Pipeline" construct. This combination may not work at all since ffdshow_source() is not a conventional source filter. My knowledge of Avisynth scripts in ffdshow is very limited though...
|
31st May 2016, 09:35 | #244 | Link | |
Registered User
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
|
Quote:
|
|
31st May 2016, 17:03 | #247 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Never used it (ffdshow_source), but see here:- http://ffdshow-tryout.sourceforge.ne...video:avisynth
Is installed by ffdshow-tryout. EDIT: you have to select tick box on install, see below EDIT: I dont currently have ffdshow installed, but I think it may install the dll into it's own directory, perhaps a copy into autoload plugins dir would work for general usage.
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 11th May 2019 at 17:38. |
14th August 2016, 15:46 | #249 | Link |
Registered User
Join Date: Oct 2011
Location: Kyiv, Ukraine
Posts: 24
|
Hello.
Is it possible to use MP_Pipeline and ScriptClip inside it? They both started from """ tripple quote marks. ScriptClip does not want to work with a single quotation mark as it is stated in the documentation. |
16th August 2016, 01:32 | #250 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
Code:
function ScriptClip_lines(clip c) { c *ScriptClip here* } then put the "ScriptClip_lines()" line in the place you want
__________________
See My Avisynth Stuff |
|
17th November 2016, 09:48 | #252 | Link |
Registered User
Join Date: Dec 2011
Posts: 354
|
Hello, I wanted to speed up xsharpen with this. With MT version, xsharpen goes at nice 2x-4x speed. But sometimes it gives me corrupted frame.
Can I call it like this to prevent from denoising being inside of it? Code:
mp_pipeline(""" Import("C:\Users\BallGNM\Desktop\denoised.avs") s16=dither_resize16(6840,4860) s16.ditherpost(mode=-1).xsharpen(strength=255,threshold=255).Dither_convert_8_to_16() s16.Dither_limit_dif16 (last, thr=0.7, elast=2.0) dither_resize16(1120,840).gradfun3(smode=2,lsb_in=true,lsb=false,mode=6,thr=0.5) ### branch 2 ### ### """) dehalo_alpha_mt() Last edited by bxyhxyh; 17th November 2016 at 09:52. |
8th February 2017, 10:05 | #253 | Link | ||
Registered User
Join Date: Oct 2016
Posts: 111
|
Can someone help me? I'm using avs+.
MP_Pipeline's great, my speed increase 30 ~ 45% and encode time decrease 30% with my script: Quote:
Quote:
|
||
21st December 2017, 22:59 | #256 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
I'd like to split my script into multiple process in order to avoid the 2 GB limit, 'cause it crashes.
I'm trying to split my script like this: Code:
MP_Pipeline(""" FFVideoSource("op.mxf", fpsnum=24000, fpsden=1001) Spline64ResizeMT(1920, 1080, threads=4, logicalCores=true, MaxPhysCore=true, SetAffinity=true) #AmplifyDB(-12.0) opening=last ### platform: win32 ### export clip: opening ### ### FFVideoSource("ep.mxf", fpsnum=24000, fpsden=1001) tdeint(mode=2, order=-1, field=-1, mthreshL=6, mthreshC=6, map=0, type=2, debug=false, mtnmode=1, sharp=true, cthresh=6, blockx=16, blocky=16, chroma=true, MI=64, tryWeave=true, link=1, denoise=true, slow=2, opt=4) Converttoyv12(interlaced=false, chromaresample="Spline64", matrix="Rec709") opening++trim(2157, 30327) episode=last ### platform: win32 ### export clip: episode ### ### FFVideoSource("ed.mxf", fpsnum=24000, fpsden=1001) Spline64ResizeMT(1920, 1080, threads=4, logicalCores=true, MaxPhysCore=true, SetAffinity=true) #AmplifyDB(-14.0) episode++trim(0,0) final=last ### platform: win32 ### export clip: final ### ### #Normalize(0.89, show=false) #ResampleAudio(48000) tweak(sat=1.53 , dither=true) ### platform: win32 ### ### dfttest(sigma=64, tbsize=1, lsb_in=false, lsb=false, Y=true, U=true, V=true, opt=3, dither=0) ### platform: win32 ### ### Spline64ResizeMT(3840, 2160, threads=4, logicalCores=true, MaxPhysCore=true, SetAffinity=true) ### platform: win32 ### ### aWarpSharp2(thresh=180, blur=3, type=0, depth=35, depthC=10, chroma=4) ### platform: win32 ### ### f3kdb(range=15, Y=45, Cb=30, Cr=30, grainY=0, grainC=0, sample_mode=2, blur_first=true, dynamic_grain=false, opt=3, mt=true, keep_tv_range=true, input_depth=8, output_depth=8) ### platform: win32 ### ### TextSubmod("sub.ass") ### platform: win32 ### ### """) If it works, MPP it's gonna be really useful to my daily tasks! Last edited by FranceBB; 22nd December 2017 at 20:09. |
23rd December 2017, 00:43 | #258 | Link | |
Registered User
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
|
Quote:
__________________
See My Avisynth Stuff |
|
23rd December 2017, 03:08 | #259 | Link |
Broadcast Encoder
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
|
@real.finder... uh... I see... I just replied on github as well. As a "workaround", I'm using audio created in a separate avisynth script, created to make a low-res version that was sent out to our subtitling team. Anyway, audio support would be a really useful feature. Unfortunately, I'm a .NET guy and my lazy ass made me forget almost everything about C++ I studied at university and embrace C# time ago. Perhaps, JPSDR / StainlessS / Groucho2004 could take a look at the code and, if interested, add audio support.
|
23rd December 2017, 12:05 | #260 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Or you could use avisynth 64 bit to avoid the 2gb limit... as far as I can see all your filters are also available for x64.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
Tags |
avisynth, multi-process, pipeline |
Thread Tools | Search this Thread |
Display Modes | |
|
|