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.

 

Go Back   Doom9's Forum > Video Encoding > (Auto) Gordian Knot

Reply
 
Thread Tools Search this Thread Display Modes
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
Old 4th January 2003, 14:50   #2  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Hi there,

if you´ve any suggestions, bug-reports, feature requests then
either PM me or post them into this thread.

I´m currently working on a new version that will have a audio
processing module. There you can add any AVS file generated
by VCF2AVS and Virtualdub will be run with a generated script
to save a wave file from the AVS. Afterwards this wave file can
be converted with BeSweet using a configurable commandline.
So you can convert the wave to OGG, MP3 or MP2 as you
like. By using a filelist multiple files can be "batch-processed".

This will take a few days. So please be patient.

I´ll post a URL where to download the new version ASAP.

cu,
D$
Darksoul71 is offline   Reply With Quote
Old 4th January 2003, 20:28   #3  |  Link
sillKotscha
what's this for?
 
sillKotscha's Avatar
 
Join Date: Apr 2002
Location: Berlin, Germany
Posts: 993
Hi guys,

according to this thread:

- GKnot 0.27 Segmented AVI loading

isn't 'VCF 2 AVS' little bit of a detour?

this script
Code:
SegmentedAviSource("D:\capture\capture000.avi")
works just great!! and according to Wilberts comment I can tell that I'm using avisynth_a_03.01.03 without any problems...

just wondering, where is the advantage of vcf2avs? I don't want to sound sniffy but...

Sill
__________________
latest mix sets: http://soundcloud.com/sill

Last edited by sillKotscha; 4th January 2003 at 22:39.
sillKotscha is offline   Reply With Quote
Old 4th January 2003, 22:50   #4  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
i was short before asking if such a tool exists !

many thanks !

i think its not possible to work with avs files as input ?
would be no problem, the selectrange->trim conversion works anyways.
Zhnujm is offline   Reply With Quote
Old 5th January 2003, 01:33   #5  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Hi,

@sillKotscha:
Quote:
isn't 'VCF 2 AVS' little bit of a detour?
Well, this "segmented AVI" stuff is easy to do with AVSGen and honestly just to feed segmented AVI for GKnot wasn´t my main motivation.

Quote:
just wondering, where is the advantage of vcf2avs? I don't want to sound sniffy but...
Well, I think loading up a "cutlist" from a VCF file is the main advantage. How else would you feed multiple AVI files to GKnot ?
I´m not forcing anyone to use VCF2AVS but if you´ve to get through a lot of analogue captures it makes your live easier.

Try the x-fade "feature" on some TV captures. I think you´ll like it. Of course I didn´t reinvent the wheel. All this can be done by hand with AVISynth scripts but if you get used to VCF2AVS even 4-5 movies can be edited and set up in a few minutes.

By adding a audio module (I´ve finished it but still have to do some testing) generating multiple, normalized MP3-files from AVI are no problem anymore.

@Zhnujm:
I can add "support" for AVS as input but honestly I don´t understand the reason for this. Isn´t the "normal" way AVI->AVS->GKnot->DivX ?
Please give an example..

cu,
D$
Darksoul71 is offline   Reply With Quote
Old 5th January 2003, 13:54   #6  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
i am trying to use it with mpeg2 (dvb) captures and so i have to use an avs file for opening in vdub. the generated avs file with the trim range would not only be useful for gknot, i was more thinking about reencoding to mpeg-2. still trying a few possible ways as my dvd-r arrives in a few weeks.

but theres no real need to implement avs input, im already happy with the range->trim conversion and the cropping can be done easily manually.

btw, theres a small bug, the "fade in+out" button also enables/disables the cropping.
Zhnujm is offline   Reply With Quote
Old 5th January 2003, 16:30   #7  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Hi,

I´ve just finished my audio processing module and uploaded VCF2AVS to my server.
You can download it here:
http://home.debitel.net/user/holger....ad/VCF2AVS.zip
Currently I use VirtualDub to extract the audio from AVI and save it as wave file. I know that BeSweet supports AVI file(s) as source but this feature is still labeled as "beta". Honestly I haven´t tried BeSweet on AVI files. As soon as BeSweet supports all sorts of AVI files as source (big files > 4 Gb / AVS files / etc) I´ll remove the usage of VirtualDub for saving the audio track and process the AVI directly with BeSweet.

@ Zhnujm:
Quote:
btw, theres a small bug, the "fade in+out" button also enables/disables the cropping.
Ooops, I´ve fixed this with this version. I was checking the wrong checkbox. Thanks for pointing out.
BTW: I´ve added AVS files to the Opendialog. Now you can also choose AVS as source.

cu,
D$

BTW: A happy new year to every1.

Last edited by Darksoul71; 10th January 2003 at 16:09.
Darksoul71 is offline   Reply With Quote
Old 5th January 2003, 16:48   #8  |  Link
sillKotscha
what's this for?
 
sillKotscha's Avatar
 
Join Date: Apr 2002
Location: Berlin, Germany
Posts: 993
Quote:
Originally posted by Darksoul71
I´m not forcing anyone to use VCF2AVS but if you´ve to get through a lot of analogue captures it makes your live easier.
i know, i know - as i said... i don't want to sound sniffy!! I don't feel like being forced, it was just my first idea came in to my mind after reading this thread... and of course I will test it!! I'm open minded NOT narrow minded and beside of that I like things which make my life easier...

Actually I'm not in the position to grimp - because you are the one who can develop such tools - I can't ;-(


Quote:
Originally posted by Darksoul71
Try the x-fade "feature" on some TV captures. I think you´ll like it. Of course I didn´t reinvent the wheel. All this can be done by hand with AVISynth scripts but if you get used to VCF2AVS even 4-5 movies can be edited and set up in a few minutes.

wOOt, now you made me feel like testing it imediatly... maybe tonight:
PRO7 @ 20:15h ;-)

thanks dude and again sorry for my stupidity...

regards Sill

/Edit: your new link doesn't work

/Edit2: now it does - and yeah, of course happy new year
__________________
latest mix sets: http://soundcloud.com/sill
sillKotscha is offline   Reply With Quote
Old 5th January 2003, 19:45   #9  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
thanks again, works perfect now.
i have to try the fade in/out with my next captures. sounds very interesting.
Zhnujm is offline   Reply With Quote
Old 6th January 2003, 02:04   #10  |  Link
stax76
staxrip & mpv.net
 
Join Date: Jun 2002
Posts: 5,247
Quote:
i was short before asking if such a tool exists !
VirtualDub cut to AviSynth Trim converter can be found in
DVX as gimmick in the AviSynth script editer for some time
now, I had code it in order to make a comp test when VirtualDub
was used for cutting but the normal way is to cut with VirtualDub
and encode with LameACM, extracting wave with VirtualDub and encode
then with BeSweet usually goes out of sync!

'Dolemite
__________________
staxrip is in need of a new maintainer since I would like to retire.
stax76 is offline   Reply With Quote
Old 9th January 2003, 13:46   #11  |  Link
sillKotscha
what's this for?
 
sillKotscha's Avatar
 
Join Date: Apr 2002
Location: Berlin, Germany
Posts: 993
Hi D$,

I know, PM = privat message... but your inbox is full and I don't think my answer is too personal not to post it here...
btw, it's the first time I'll write here in my native language and for the rest of course the last

au mann - Entschuldigung, ich hätte Dir ja schon eher geantwortet aber ich seh so selten auf meine PM's, dass ich Deine ebenso übersehen habe... im dt. doom9_forum ist es für die ganz doofen (/me )recht ersichtlich... es poppt ein nettes Fenster auf, hehe...

gut, also

ad1:
klar mache ich für Dich Werbung - keine Frage

ad2:
Diplomvortrag... musst Du Deine Arbeit verteidigen?? - noch bin ich nicht soweit aber ich weiß jetzt schon, dass ich das Glück haben werde, um eine Verteidigung meiner DArbeit herumzukommen ... was studierst Du denn?? - btw, viel Erfolg!!

ad3:
Quote:
P.S.: VCF2AVS hat momentan noch Probleme mit zu langen Datei= & Pfadnamen für die AVS Quelldateien und den Pfad zu VCF2AVS für die Erzeugung von Audiodateien. Wenn´s hier zu Problemen kommt, dann einfach VCF2AVS in eine "höhere" Verzeichnisebene kopieren bzw. den Namen des AVS-Quellscriptes verkürzen. Ich arbeite noch an einer Lösung des Problems.
ahh, jetzt weiß ich auch, warum BeSweet bei mir nie anspring...

gut, also ich mach mich an's Werk...

regards Sill
__________________
latest mix sets: http://soundcloud.com/sill
sillKotscha is offline   Reply With Quote
Old 9th January 2003, 17:35   #12  |  Link
bkam
Registered User
 
bkam's Avatar
 
Join Date: Nov 2002
Location: London
Posts: 115
Maybe I am misunderstanding the use of this tool, but I am curious. In this thread manono said this:
Quote:
The best way I've seen to do the credits was to follow a suggestion from TheREAL (I think), by using the Coring Filter (VDub only) as well as a very strong Temp Smoother.
I was wondering whether you could somehow get Gknot to mux this, but you can't add the avi of an already encoded credits it looks like.
Quote:
Originally posted by manono

I was just fooling around with this. It looks like GKnot won't just mux a pre-made Credits.avi. It looks to me like you'll have to encode it yet again. I'll stick to muxing them, adding the audio and splitting, outside of GKnot.
I was wondering whether this tool would allow a .avs to be made that would make it so Gknot would mux credits with special vdub filters, or whether the tool is only for reencoding avis. I am not in a location where I can test the tool but I would appreciate insight into this for a newbie .
bkam is offline   Reply With Quote
Old 10th January 2003, 08:27   #13  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
@Sill: You´ve got PM

@bkam:
Quote:
Maybe I am misunderstanding the use of this tool, but I am curious.
Yes, you´re misunderstanding the use of this tool

Quote:
I was wondering whether you could somehow get Gknot to mux this, but you can't add the avi of an already encoded credits it looks like.
Well, the only one that could get GKnot to do this, is the wef. Although if this is offtopic: You could modify the "credits AVS" generated by GKnot after you´ve added the encoding job to the encoding queue. Add your VDub filter (look around in the AVS forum on how to use VDub filters in AVISynth) and the temporal filter into the credits AVS. After this start encoding with GKnot. This could work.

Otherwise you´ve to stick to the manual way.

@all: VCF2AVS has a small problem with long pathnames. So if VDub doesn´t save a correct wave or BeSweet doesn´t run, then copy VCF2AVS in a upper directory. I´ve stored it in "C:\winapp\VCF2AVS\" and everything runs fine. I´ve made some code changes and will release a new version this weekend. So stay tuned

/Edit: I´ve uploaded a new, fixed version to my homepage.

As I´m lazy as usual, here´s a small copy from the readme:

Version History:
================

V1.4 - 10.1.2003
Hopefully fixed some bugs in the audio
encoding module that prevented VirtualDub
from saving the wave file under correct
name and therefore caused BeSweet to crash
during encoding. This should also solve
the problems that occured when long pathnames
and/or long filenames were used for AVS files.
I´ve also eleminated the use of a batch file
to call VDub and BeSweet. Now both tools are
called from VCF2AVS directly.

Added support for using a different INI-file
at commandline.
Now you can copy the VCF2AVS ini file, rename
it and use seperate settings for BeSweet.
Example: You encode audio both to MP3 and MP2.
Copy the existing VCF2AVS.ini and edit the
BeSweet commandline like discribed below.
Save it under a new name (like MP2.ini).
Now create two shortcuts: One without any parameter
behind the filename. VCF2AVS will open the standard
Ini-file. Create another shortcut like
"VCF2AVS.exe C:\VCF2AVS\MP2.ini". This
will launch VCF2AVS using the MP2 audio ini.

May be I´ll implement multiple profiles
for VCF2AVS but currently this should be
flexible enough.

-D$

Last edited by Darksoul71; 12th January 2003 at 21:16.
Darksoul71 is offline   Reply With Quote
Old 12th January 2003, 21:17   #14  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
New version of VCF2AVS !

=====================================
Update:
I´ve change some things and added
batchsplittting of AVI files based
on AVISplitCalc.

V1.5 - 12.1.2003
Added some minor error checks to prevent
VCF2AVS from crashing at the stupid errors.

Added batch AVI splitting with the use of
AVISplitCalc. Just edit the path in the
VCF2AVS.ini.

For me this is:
AVISplitPath=C:\winapp\avisplit\
Set your splitsize (700 MB default).
Add (multiple) AVI files to the box
and click at the "process file(s)"
button. Now AVISplitCalc is called and
automaticly splits all files and stores
them in the directory that is configured
at AVISplitCalc. The renaming conventions
can be configured inside AVISplitCalc.
If you check the box "delete file" your
source AVI will be deleted but I don´t
suggest to use this unless you are low
at diskspace because it´s safer to
check the splitted AVI first be4
deleting the source AVI.


I also removed BeSweet from the package
because of size.
=====================================
http://home.debitel.net/user/holger....ad/VCF2AVS.zip

-D$
Darksoul71 is offline   Reply With Quote
Old 23rd January 2003, 12:23   #15  |  Link
lamer_de
Member
 
lamer_de's Avatar
 
Join Date: Dec 2001
Location: somewhere far beyond
Posts: 270
Thanks, pretty usefull tool. Haven't tried it in extend yet, but only from the description it looks very promising altough I don't capture

Äppler Power!

CU,
lamer_de
lamer_de is offline   Reply With Quote
Old 24th January 2003, 08:10   #16  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
@lamer_de:
Quote:
Thanks, pretty usefull tool. Haven't tried it in extend yet, but only from the description it looks very promising altough I don't capture
It´s also usefull for batch splitting a lot of "Multiple CD"-DivX using AVISplitCalc

OT:
Quote:
Äppler Power!
Aber mindestens nen 12er Bembel !

(@all: Sorry, I couldn´t resists. Forget about it if you´re not from the "Hessen" county).

cu,
D$
Darksoul71 is offline   Reply With Quote
Old 26th January 2003, 13:37   #17  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Hi ,

I´ve just released the latest version of VCF2AVS.

Latest features:
============
V1.8 - 26.1.2003
Automatic demuxing and generation of
AVS-script for MPEG2 files. Currently only MPEG-audio
is supported for direct opening via MPEG Audio import
DLL for AVISynth. Also converting MPA to wave is supported
by my tool mpA2Wav. I´m planing to support also AC3 but
this depends on AVISynth support for AC3.

Renaming of target AVS based on VCF file is supported now.
Just open up a VCF file and press "CTRL+R" and your target
AVS is renamed as your VCF file. I made this for people that
capture full VHS tapes to one big / or multiple AVIs and use
several VCF files for each movie.

V1.6 - 12.1.2003
Fixed error that prevented VirtualDub from
finding the script file for saving wave(s)
when VDub was stored in a path with country
specific characters.
Thanks to Sillkotscha for pointing out...

Added multiple profiles for audio encoding:
OGG, MP3, MP2 and AC3
You can edit those presets inside the
VCF2AVS ini as discribed to the BeSweetParam
below.
Ini-Values are named (guess what):
MP3, MP2, OGG and AVI
So now instead of BeSweetParam you´ll find
the following presets:
MP3=-core ( -input "%in" -output "%out.mp3" ) -ssrc ( --normalize ) -lame( --abr 128 )
MP2=-core ( -input "%in" -output "%out.mp2" ) -ssrc ( --normalize ) -mp2enc ( -b 224 -m o s )
OGG=-core ( -input "%in" -output "%out.ogg" ) -ssrc ( --normalize ) -ogg( -b 128 )
AC3=-core ( -input "%in" -output "%out.ac3" ) -ssrc ( --normalize ) -ac3enc ( -b 256 )

Feel free to edit as you like

Fixed some minor bugs

Added check for VCF2AVI.ini:
If no ini-files exists in your VCF2AVS directory
then you´ll get a warning ("No Ini-file found !!!")
and VCF2AVS will exit.

-D$

P.S.: Download as discribed above
Darksoul71 is offline   Reply With Quote
Old 31st January 2003, 21:26   #18  |  Link
Zhnujm
Registered User
 
Zhnujm's Avatar
 
Join Date: Oct 2001
Posts: 983
i think theres a little bug, the second value of the trim command should be 1 frame lower.
funny i didnt noticed this before, mabye i cut usually a few frames more than necessary.
Zhnujm is offline   Reply With Quote
Old 4th February 2003, 11:36   #19  |  Link
Darksoul71
Can you blush ?
 
Darksoul71's Avatar
 
Join Date: Oct 2001
Location: Northern Europe
Posts: 696
Trim bug fixed

@ Zhnujm:
/me stupid ! Thanks for pointing out. I´ve fixed this bug and uploaded a new version to my homepage.

cu,
D$
Darksoul71 is offline   Reply With Quote
Old 3rd October 2003, 12:27   #20  |  Link
Shayne
Registered User
 
Shayne's Avatar
 
Join Date: Jan 2002
Location: northern canada
Posts: 215
Does anyone have a working link to this proggy your help would be greatily appreciated.

Thanks
Shayne is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 14:38.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.