Log in

View Full Version : Converter for VDub->AviSynth cuts and crops


Pages : 1 [2]

RonaldMac
6th February 2004, 14:55
hi bb,
thanks for your response.
I'm using Vdub 1.51 (mpeg-version) and there are no settings I could find, it only gives me the option to open <EDIT> <SAVE PROCESSING SETTINGS..> but nothing else, the vdf-file is saved at once.
:(
ron

oops, I found it!!!!!
:)

But it won't work anyway :( :( :(

avi.vcf:

VirtualDub.audio.SetSource(0);
VirtualDub.audio.SetMode(0);
VirtualDub.audio.SetInterleave(1,500,1,0,0);
VirtualDub.audio.SetClipMode(1,1);
VirtualDub.audio.SetConversion(0,0,0,0,0);
VirtualDub.audio.SetVolume();
VirtualDub.audio.SetCompression();
VirtualDub.audio.EnableFilterGraph(0);
VirtualDub.video.SetDepth(24,24);
VirtualDub.video.SetMode(3);
VirtualDub.video.SetFrameRate(0,1);
VirtualDub.video.SetIVTC(0,0,-1,0);
VirtualDub.video.SetRange(0,0);
VirtualDub.video.SetCompression();
VirtualDub.video.filters.Clear();
VirtualDub.video.filters.Add("2:1 reduction");
VirtualDub.video.filters.Add("deinterlace");
VirtualDub.video.filters.instance[1].Config(0);
VirtualDub.video.filters.Add("sharpen");
VirtualDub.video.filters.instance[2].Config(11);
VirtualDub.audio.filters.Clear();
VirtualDub.subset.Clear();
VirtualDub.subset.AddRange(0,128);

avi.avs:

AviSource("C:\Marple.avi")
Trim(0,127)

bb
6th February 2004, 17:07
I assume you want to create a DVD - although you didn't say that...

In "Video -> Filters" you should add a "Null transform" filter to crop, and a "resize" filter to resize to 720xYYY (YYY is 576, if you didn't need to crop) in VirtualDub. Then save the VCF file via "Save processing settings".

Open the AVI and the VCF file in vcf2avs_gui, activate the check boxes if you need them, and click "Convert". You'll get an AVS file with the necessary trimming, cropping, and resizing commands, and eventually a Telecide or a Convolution3D command.

Note: You may have to add an AddBorders command manually at the end of the script to get a 720x576 output, though.

CCE may need a ResampleAudio(44100) command at the end of your AVS script, depending on the processor and the CCE version you have.

If you need further help, please be more detailed.

bb

Stabmaster-Arson
3rd August 2009, 12:28
I just rediscovered this application, it's still great.

Now for a suggestion: How about drag and drop suport for inputting the avi and vcf files?
^^

Darksoul71
5th August 2009, 20:30
Hello Stabmaster-Arson,

not shure if bb still wants to enhance his vfs2avs but another quick solution comes to my mind. I (re)made my VCF2AVS in AutoIt to support commandline parameters for AVS and VCF files. You could combine this with a tool like drag and drop robot:
http://www.donationcoder.com/Software/Mouser/dragdrop/index.html

Just an idea..

Cheers,
D$

bb
8th August 2009, 07:20
Well - drag and drop support is a "nice to have", if you ask me. Unfortunately I don't have the time to work on this...
I'll let you know when there's a new version, but don't expect it soon.

bb