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. |
11th October 2007, 21:11 | #21 | Link | |
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
Quote:
Code:
subtitle(src2.framecount)) "info" shows your intended framecount because when you run a filter on a function (in this case, "src2.LengthenClip(1200)"), it returns a brand new clip and leaves the source clip unchanged. Remember, AviSynth is a functional-like language. Do not try to use imperative programming idioms where you try to set state. If you were to do: Code:
src2 = src2.LengthenClip(1200).info src2.subtitle(string(src2.framecount)) |
|
11th October 2007, 23:23 | #22 | Link |
Registered User
Join Date: Mar 2007
Posts: 15
|
Maybe it's time to move over...
Thanks, foxyshadis, for bringing some light into Avisynths behaviour here. I admit: I'm a bit of a noob to it.
Still i think, that this structure: Code:
PutResultHere = BlankClip().DoSomethingToIt.AndThis.AndLenghenClip() I'm moving over to a new thread now, stickboy shall not longer be bothered anylonger with my basic questions. Have a nice day! |
12th October 2007, 03:25 | #23 | Link | ||
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
Quote:
Quote:
Code:
PutResultHere = BlankClip().DoSomethingToIt().AndThis().AndLengthenClip() Code:
PutResultHere = AndLengthenClip(AndThis(DoSomethingToIt(BlankClip()))) Code:
BlankClip() DoSomethingToIt() AndThis() AndLengthenClip() PutResultHere = last |
||
27th September 2008, 05:50 | #24 | Link |
Resize Abuser
Join Date: Apr 2005
Location: Seattle, WA
Posts: 623
|
stickboy, I've done some basic toying around with RemapFrames after I had a brainstorm over here
http://forum.doom9.org/showthread.ph...74#post1188174 The main problem I see with building a NLE on top of AviSynth is the Splicing. I think RemapFrames can fix the trim headache one would encounter when trying to do a multi track NLE. In essence it makes the trims independent of each other. Code:
Base = ColorBars().BlankClip().ShowFrameNumber(x=10,y=30).ConvertToRGB32() ClipA = ColorBars().BlankClip(pixel_type="YUY2").ColorYUV(showyuv=true).BilinearResize(640,480).ShowFrameNumber(x=10,y=30).ConvertToRGB32() ClipB = ColorBars().invert().FlipVertical().Trim(0,999).ShowFrameNumber(x=10,y=30).ConvertToRGB32() Base = RemapFrames(Base,sourceClip=ClipA,mappings="[20 50] [0 30]") Base = RemapFrames(Base,sourceClip=ClipB,mappings="[100 150] [0 50]") Base
__________________
Mine: KenBurnsEffect/ZoomBox CutFrames Helped: DissolveAGG ColorBalance LQ Animation Fixer |
27th September 2008, 10:01 | #25 | Link |
AviSynth Enthusiast
Join Date: Jul 2002
Location: California, U.S.
Posts: 1,267
|
I think selective filtering would be better off done with Trim or ApplyRange (or with ReplaceFrames/RemapFrames).
I agree that transitions and audio would be necessary for what you want, but: 1. Transitions are way outside the scope of RemapFrames. I have no idea how that'd even work. 2. Dealing with audio is more realistic, but it's also hard (which is why I haven't done it). I think if you want to make a graphical NLE based around AviSynth, it'd probably be better just to stick with Trim and Splice. Independent Trims shouldn't be hard; you just need to make sure you only call Trim() on the source clips instead of chaining them. Splice would need to be improved so that you can do: Splice(a, b, c, d) without it internally creating a Splice(a, Splice(b, Splice(c, d))) chain (or maybe it's left-folding; I don't remember offhand). |
29th September 2008, 14:31 | #26 | Link |
Registered User
Join Date: Mar 2007
Posts: 15
|
I'm glad to see that there's life in the development of AviSynth! Recently, i've come to use Avisynth for what it's name suggests ever since: The synthesis of video, in an artsy context. (see Flash-Clips on silvertree.de !)
I wonder if there is a possibility to write frames of a lower resolved clip into higher resolved clips DIRECTLY as D3D-rectangles , instead of instantiating an auxiliary clip by adding borders to the small one to make it match the size of the big one and then layeroing the two? So for extensive scripting synthesis, this is a question of ioptimized code... Any ideas? greetings from cologne, germany. blausand |
29th September 2008, 15:00 | #27 | Link | |
Avisynth language lover
Join Date: Dec 2007
Location: Spain
Posts: 3,431
|
Quote:
|
|
22nd September 2013, 19:28 | #28 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
I updated RemapFrames: RemapFrames 0.4.1
Added remf, remfs, rfs, rfs_merge and rfs_transform:
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding Last edited by cretindesalpes; 16th January 2014 at 23:35. Reason: Small update : 0.4.1 |
15th February 2019, 03:44 | #29 | Link |
Registered User
Join Date: Jan 2015
Posts: 1,056
|
These filters look interesting but proper documentation is necessary if we're to avoid accidentally erasing our hard drives or nuking Russia or something equally disastrous.
__________________
I ask unusual questions but always give proper thanks to those who give correct and useful answers. |
15th February 2019, 07:36 | #30 | Link |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
At least some have their own pages on the AviSynth wiki with pretty good explanations and examples for their use. For example, here's the page for RemapFrames:
http://avisynth.nl/index.php/RemapFrames Which were you thinking of trying out? I've only used a few but use ReplaceFramesSimple about every day of my life. |
15th February 2019, 17:47 | #32 | Link |
Registered User
Join Date: Sep 2007
Posts: 5,377
|
The original version has html documentation, usage examples
(v0.3.1) http://www.avisynth.nl/users/stickboy/ApplyEvery.zip |
15th February 2019, 19:05 | #33 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
I added 32/64 bit builds of ApplyEvery with updated AVS2.6 headers to my collection.
__________________
Groucho's Avisynth Stuff |
28th April 2020, 17:36 | #35 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Remapframes x86 and x64, just above your post in Groucho's Avisynth Stuff.
__________________
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 ??? |
|
|