View Full Version : newbie question
Greetings,
I just noticed that analogue capturing guide on Doom9, and since I just (what an accident) need to capture my graduation video, I thought I'd read about it.
The place where I got stuck was AviSynth scripts.. From what I understand, they work something like an "input" plugin, eg you create .avs file, with different processing commands, and then open that .avs file as any ordinary video? Thats how it sounds to me.
Anyway, what I didnt get was - is there any other way to use them in VDubMod, eg like processing filters, or is it the same way? If so then, you put all the AviSynth processing in .avs, open it in VDubMod, and then do the additional processing, which isn't available in AviSynth in VDubMod?
Is that correct, or am I completely wrong here?
Thanks, and sorry for being so n00bish.
p.s. I did try to look around, but I'm afraid I don't have too much time to read everything around - there's just so much stuff here!
thanks!
QQ!
Please speak what do you want. For many aim avisynth enough. Remember about colour space conversion many from this lossy.
yup.
stephanV
29th June 2004, 22:06
Originally posted by QQ
Anyway, what I didnt get was - is there any other way to use them in VDubMod, eg like processing filters, or is it the same way? If so then, you put all the AviSynth processing in .avs, open it in VDubMod, and then do the additional processing, which isn't available in AviSynth in VDubMod?
Is that correct, or am I completely wrong here?
thats correct
although on the filtering side youll hardly find anything that VirtualDub can do and AVIsynth cant do.
this (http://www.doom9.org/capture/chroma_artefacts.html) for a starter - need to clean up video quite a bit, cause it was filmed with an old hand cam, under poor light conditions, so it has a lot of noise..
Wilbert
30th June 2004, 10:41
Perhaps you can upload 20 frames somewhere? Then we can take a look at it.
Sure, I'll do that once I get home from work.
p.s. whats the best (fastest) way to cut them out without accidently doing some processing on it?
hmm, im still not sure how could i cut out a bit out of mpeg-2 video.. :(
OBcecado
2nd July 2004, 20:36
Hi, one of the methods you follow is using this this (http://www.digital-miner.com/chopperxp.html) program.
Greetz.
Wilbert
2nd July 2004, 21:55
@OBcecado,
Chopper XP 2.7, that's only for vob files?
@QQ,
You can use TMPGEnc, BBMPEG, etc.
ok, this is a sample clip:
http://dreamy.ws/files/sample.mpg
had to use TMPGEnc to cut it out - neither Mpeg2Schnitt nor Cutterman would produce playable output :(
Wilbert
11th July 2004, 21:43
My script (d2v from dvd2avi):
LoadPlugin("C:\Program Files\AviSynth2_temp\plugins\LoadPluginEx.dll")
LoadPlugin("C:\Program Files\AviSynth2_temp\plugins\DustV5.dll")
Mpeg2Source("D:\Captures\sample.d2v")
Cnr2("ooo",4,10,255)
ConvertToYUY2()
PixieDust(limit=3)
BicubicResize(640,480,1/3,1/3,10,0,702,576)
ColorYUV(levels="PC->TV")
1) Note Dust is an AviSynth v2 plugin, which can be loaded after loading loadpluginex.dll. Dust requires YUY2.
2) For Cnr2 corrected some of the chroma noise.
3) Final question. What is the final format, DivX/XviD or DVD? If the latter, you don't need to resize/crop. But you do need to speed up your 20 fps clip to 25 fps.
it's DivX/XviD.
could you gimme a short guide how do i use this script together with vdubmod (something else?) to produce final output?
thanks!
Wilbert
12th July 2004, 10:37
Just install AviSynth. Check that it works by opening the Version.avs example in Vdub/VdubMod. If it doesn't work, install huffyuv.
If that works, get the plugins (dust and loadpluginex) in one of the stickies. Don't put them in the plugin dir of AviSynth, because dust is a v2.0 plugin. Open the script in Vdub/VdubMod (change the paths in the script), to see if it works.
do I get AviSynth 2.x or 2.5x?
Wilbert
12th July 2004, 14:38
2.5x
hmm, which mpeg2 decoding plugin should i use? or will any do just fine?
Wilbert
12th July 2004, 18:38
dvd2avi 1.76 and mpeg2dec3 v1.10
However, personally I would reencode your audio with Besweet (just open the mpa and convert to MP3).
Well, I'll do that in VDubMod, when encoding to XviD, is that fine?
I don't think they are interlacing effects. Just bad quality video.
Well, I suspect them cause original (mpeg2) video doesn't have them, they only appear when I play video through avs..
QQ
17th August 2004, 00:02
well everything seems to be fine.. that script does indeed clean up video very nicely! in fact, it might even become a tad too smooth.. though im not sure if i can expect anything from such a low quality source.
anyway, my problem seems to be the speed.. i am running 3 ghz system, and i'm only getting like 6fps at max using xvid as destination! is this correct, or am i doing something wrong? cause it surely does take heck load of time to convert..
kingmob
17th August 2004, 11:48
Originally posted by QQ
well everything seems to be fine.. that script does indeed clean up video very nicely! in fact, it might even become a tad too smooth.. though im not sure if i can expect anything from such a low quality source.
anyway, my problem seems to be the speed.. i am running 3 ghz system, and i'm only getting like 6fps at max using xvid as destination! is this correct, or am i doing something wrong? cause it surely does take heck load of time to convert..
Mainly pixiedust is abnormally slow, but it gets the job done nicely. If you want to do more passes, it is sometimes better to first encode to huffyuv. This is an almost lossless codec, which uses a lot of space. But if you then encode that file the encode will go much faster. Ofcourse, the encoding of the huffyuv will be slow too, so for a 2pass xvid i'm not reallly sure if it would help.
Boulder
17th August 2004, 11:57
Originally posted by kingmob
This is an almost lossless codec
It's not almost lossless, it's completely lossless;)
kingmob
17th August 2004, 12:07
Originally posted by Boulder
It's not almost lossless, it's completely lossless;)
As i understand it, that depends ;). Or is that only the conversion to RGB part?
Boulder
17th August 2004, 12:22
At least the YUY2 part is lossless - the loss comes from the YV12->YUY2 conversion in the script.
I'm not sure how RGB goes, I think that in HuffYUV it's lossless unless you choose to convert to YUY2. When capturing, RGB data is probably created from YUY2 so that would produce a loss.
Nevertheless, saving in HuffYUV format should itself be lossless. The inevitable loss comes from converting the colorspace in the script.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.