Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Virtualdub & Avisynth 2.5x, editing in Virtualdub via Avisynth
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
radunn
Posted: Nov 6 2004, 07:24 AM


Unregistered









I am very new to AVISynth, but not so new to Virtualdub.

My basic question is can I do the regular cutting of an AVI in Virtualdub (Mod) with a *.avs? Is the *.avs written to if such cuts are done in Virtualdub (Mod)?

Thanks for your support.
 
  Top
fccHandler
Posted: Nov 6 2004, 08:21 AM


Administrator n00b


Group: Moderators
Posts: 3961
Member No.: 280
Joined: 13-September 02



Cutting may be done in Avisynth using the syntax:

Trim(0,15) + Trim(30,40) + Trim(121,304)

When written on a single line, this creates an output clip which is the sum of the trimmed portions.

Note that in Avisynth, the frame boundaries are inclusive; i.e., the command "Trim(30,40)" specifies 11 frames total.

--------------------
May the FOURCC be with you...
 
     Top
Fizick
Posted: Nov 7 2004, 02:26 AM


Unregistered









You may easy define ranges (framesets) in VirtualDubMod,
and convert their to Trims commands in VirtualDubMod script editor.
But all version of VirtualDubMod have bug (one more frame),
and recently I make my bug fixed version 1.5.4.2, temporary available at my WWW.
 
  Top
radunn
Posted: Nov 7 2004, 08:51 AM


Unregistered









QUOTE (Fizick @ Nov 6 2004, 08:26 PM)
You may easy define ranges (framesets) in VirtualDubMod,
and convert their to Trims commands in VirtualDubMod script editor.
But all version of VirtualDubMod have bug (one more frame),
and recently I make my bug fixed version 1.5.4.2, temporary available at my WWW.

If I am unable to download your fixed version, is there a work around for this bug?

I am a noobie; how are the 'framesets'(ranges) defined; are they the cut frames or what is remaining? Thanks smile.gif
 
  Top
Fizick
Posted: Nov 8 2004, 10:51 AM


Unregistered









radunn,
Do you see WWW button wink.gif
 
  Top
radunn
Posted: Nov 8 2004, 05:14 PM


Unregistered









QUOTE (Fizick @ Nov 8 2004, 04:51 AM)
radunn,
Do you see WWW button wink.gif

Fizick,
Thanks, I located the WWW button.

I have a bunch of Avisynth notes that will make things easier but I'm still at the beginning phase. You mentioned using Trim commands in Virtualdub Mod's script editor. Does/Would this replace using Notepad for the AVS script? Or does Script Editor automatically have access to *.avs for editing after *.avs is opened in Virtualdub Mod?

My second question pertains to AVI cuts via Avisynth. In Virtualdub Mod, do the frames at Mark In/Out (cuts) go into the AVS Trim () commands?

FccHandler stated:
Trim(0,15) + Trim(30,40) + Trim(121,304)
When written on a single line, this creates an output clip which is the sum of the trimmed portions.

Does FccHandler's statement mean that no matter how many cuts are made that command is all that is needed in *.avs? Thanks for your support..... huh.gif
 
  Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
5 replies since Nov 6 2004, 07:24 AM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion