View Single Post
Old 3rd January 2003, 01:29   #1  |  Link
TheWEF
Gordian Mod.
 
TheWEF's Avatar
 
Join Date: Oct 2001
Posts: 772
vcf - avs conversion tool - edit captures in vdub

Dark$oul71 sent me a nice litte tool to convert vcf to avs files.
you can edit your captures in vdub, then open the resulting avs with gknot.

give it a try!

EDIT: follow Dark$oul71s link further down in the thread for download.

wef.

from the readme:
Quote:
VCF2AVS V1.2 by Dark$oul71
==========================

Version History:
================
V1.2 - 1.1.2003
Added denoise function based on Dolemiteīs DVX
presets for Convolution3D.

Added support for reading cropping values
from VCF file and coverting those values
to AVS croppig syntax. This way you can easily
crop away damaged parts of the movie and feed
the movie as AVS file to GKnot or any other
encoding app.

Added fade in and out support.
You can specify the amount of frames to fade in
and out.
Default: 50 frames
(for PAL 50 FPS means 2 seconds)

Added crossfade (X-fade) feature for multiple
cutpoints. This is a great feature for commercials.
VCF2AVS adds a fade out to the end of one part and
a fade in to the beginning of the next part.
You can specify the amount of frames to fade in
and out.
Default: 25 frames
(for PAL 25 FPS means 1 seconds)
Note: The value is applied to both fade in
and out. So 25 frames means a 50 frames crossfade

V1.1 - 20.11.2002
Fixed a small bug because I calculated the start
frame in AVISynth wrong.

Thanks to bb for pointing out


What does this tool do ?
It extracts the SelectRange argument from a
VCF file (Virtual Dub Configurationfile) and
converts it to a AVISynth trim command.

So you can easily edit out the commercials
in your captured AVI(s) using Virtual Dub.

Also nulltransform aka cropping is extracted
from VCF file if available.

How to use:
===========
1) Edit/Cut your AVI(s) in VDub
2) Crop unwanted parts of the movie away with nulltransform
3) Save the settings in a VCF file
4) Launch VCF2AVS
5) Open your AVI(s) with the browse button
6) Open your corresponding VCF file
7) Choose your settings (denoise, X-fade, etc)
8) Save the AVS script
9) Open the AVS file with your favourite encoding app.

Now use the AVS script as a base. Add
resize, deinterlace as you like.

VCF2AVS automaticly enables/disables the various checkboxes
and comboboxes. If no crop- or trim-informations are available
then you canīt select the coresponding boxes.)
If the Convolution3D DLL is not found in the VCF2AVS dir then
you canīt select denoising. And so on.....

So if anything is "grayed out", donīt blame me

To those of you who still havenīt understood
what this tool does:

It takes this part of a VCF file
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(688,28923);
VirtualDub.subset.AddRange(40720,31518);
VirtualDub.subset.AddRange(75474,58825);
VirtualDub.subset.AddRange(139121,60731);

and converts it to this AVS code
Trim(689,29611)+Trim(40721,72238)+Trim(75475,134299)+Trim(139122,199852)

For fade in I use the reverse.fadeout2(..).reverse command. This is a
"hack" and not needed with newer versions of AVISynth because there
is a FadeIn command. Iīve kept the reverse-stuff because itīs more
compatible with older version of AVISynth.
Thanks to Michael for pointing out this trick.


Of course this prog comes without warranty.
Use at own risk..etc..bla...bla..bla

Some final notes:
=================
Thanks to TheWef there is a new version of GKnot that supports AVS and AVI
beside the (long supported) DVD2AVI projekt files. By combining Virtual Dub,
VCF2AVS and GKnot you get "the best of both worlds".
You can easily eding and crop inside Virtual Dub (the BEST Video-editing-app
Iīve ever seen). After this use the power of AVISynth and the speed gain
during fast recompress mode. Also without any cropping and triming in mind
VCF2AVS adds more flexibiliy to GKnot. You can open segmented multiple AVIs
and also open BIG AVIs (like 20 GB or more).

<c> by D$ in 2003

Last edited by TheWEF; 5th January 2003 at 17:14.
TheWEF is offline   Reply With Quote