edit: well, the title had to be "commands order" - why I can't edit the title in this forum?
anyway..
Hi, I have to switch a couple of movie intros.
I'm using the code below, but I would like to put every command in a separate line. how I do that?
If I put AssumeFPS, crop, bbmod, etc... in a separate line they do not work...
What's the more synthetic, efficient and elegant way to accomplish it?
Code:LoadPlugin("\MeGUI-2913-64\tools\ffms\ffms2.dll") Video=FFVideoSource("_track1_[eng].mkv", fpsnum=24000, fpsden=1001, threads=1) Paramount=Trim(Video,0,462).Loop(0,455,462).Loop(0,0,5) Dreamworks=Trim(Video,463,962) Film=Trim(Video,963,0) Switch=Dreamworks++Paramount++Film Return Switch.AssumeFPS(25).crop(0, 0, 0, 0).bbmod(0,0,0,0,128,8).Spline36Resize(702,388) #SelectRangeEvery(800,20) #FillBorders(0,0,0,0) Prefetch(7)
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
Last edited by maudit; 4th Jul 2022 at 08:09.
-
The syntax is like this
Code:Paramount=Trim(Video,0,462).Loop(0,455,462).Loop(0,0,5)
Code:Paramount=Trim(Video,0,462) paramount=paramount.Loop(0,455,462) paramount=paramount.Loop(0,0,5)
-
Note that the . syntax is an un-named pipe. The output of the filter on the left is piped directly to the input of the filter on the right. There are some cases where it doesn't work out as in davexnet example. Compare these two scripts for example:
Code:ColorBars() ShowFrameNumber() SeparateFields() StackVertical(SelectEven(), SelectOdd())
Code:ColorBars() ShowFrameNumber() SeparateFields().StackVertical(SelectEven(), SelectOdd())
Last edited by jagabo; 4th Jul 2022 at 20:33.
Similar Threads
-
help with avspmod
By maudit in forum Newbie / General discussionsReplies: 4Last Post: 24th Apr 2022, 05:45 -
Muxing Videos with Different Field Orders
By koberulz in forum Newbie / General discussionsReplies: 8Last Post: 23rd Aug 2021, 22:09 -
getting errors when trying to run AVSPmod
By Betelman in forum RestorationReplies: 9Last Post: 27th May 2021, 12:52 -
Same device serving different field orders?
By bigass in forum CapturingReplies: 3Last Post: 18th Jan 2021, 10:37 -
Avspmod stopped working
By Smart Jason in forum Software PlayingReplies: 4Last Post: 16th Nov 2019, 04:54