PDA

View Full Version : Avisynth - Avi's become large & unplaybale


flebber
12th May 2008, 08:41
Hi

This is my first ever time at using Avisynth. I have been experimenting with aviemux and virtualdub but just couldn't get the result I wanted. So I am trying avisynth, to use a few filters and clean up vhs captures I have.

So I created this script - as much to learn as acheive the end result.
LoadPlugin("C:\DGIndex\DGDecode.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Convolution3DYV12.dll")
MPEG2Source ("C:\WinFast WorkArea\Patience.d2v")
video=MPEG2Source ("C:\WinFast WorkArea\Patience.d2v")
Convolution3d (preset="movieHQ")
LanczosResize(496,304)
audio=WavSource("C:\WinFast WorkArea\Patience.wav")
SSRC(44100)
AudioDub(video, audio)

However the output result of this ( I load the avs file into virtualdub and use jobcontrol to execute) is large the original mpeg size is 263Mb and ends up 1.97Gb. It also ends up unplayable. ( Not playable in winamp or mplayer )

What I want is to remove the noise from the video, I plan to encode to X264 for final file, I am not worried though whether the avisynth process converts the mpeg over to avi or not as I plan to go x264 as my encode and avidemux does this part well.

jeffy
12th May 2008, 10:35
Don't worry about the size, it is probably uncompressed. If you can load it in AviDemux, then it's fine. Although the size seems big, you are getting as good as it gets source for AviDemux this way. You can also use some lossless codecs, if you have them installed and someone else will give you a better advice on this topic than I can.

One of them is Lagarith:
http://forum.doom9.org/showthread.php?t=86148

flebber
12th May 2008, 13:36
I managed to open it in avidemux, and was able to go look through the clip, the clip seems like it is washed in blue, there is a blue pervading all scenes.

J_Darnley
12th May 2008, 13:59
If you want to preview your scripts you can use VirtualDub to look through it. If you want to use x264 for encoding then just give it the AviSynth script to work with instead of some intermediate file.

You get such a large file from VirtualDub because its default output is uncompressed RGB video. If you want to use VD to compress the video then you need to select an encoder when you save the AVI or from the video menu.

Does the blue problem appear when you preview the script?

flebber
12th May 2008, 14:04
The blue didn't show in preview in virtualdub. I don't know how to use a avisynth script without starting script in virualdub, am I suppossed to be starting them in virtualdub ?

jeffy
12th May 2008, 14:18
If you drag & drop the AVS file onto VirtualDub (or just simple File -> Open video file) you can preview it immediately, by moving the slider. View -> Input video pane must be checked.

45tripp
12th May 2008, 23:29
If you want to preview your scripts you can use VirtualDub to look through it. If you want to use x264 for encoding then just give it the AviSynth script to work with instead of some intermediate file.


I don't know how to use a avisynth script without starting script in virualdub, am I suppossed to be starting them in virtualdub ?

what he means is that x264 takes avs input,
so you can import your script directly to the encoder,
using an x264 gui like megui.
you can import avs in avidemux with the assistance of avsproxy
http://forum.doom9.org/showthread.php?t=135354
using vdub is still convenient for quick preview.