Log in

View Full Version : DGBob causes back-forward motion


falconfighter
25th February 2004, 01:32
LoadPlugin("D:\Program Files\AviSynth 2.5\plugins\mpeg2dec3dg.dll")
LoadPlugin("C:\avisynth plugs\avisynth_c.dll")
LoadPlugin("C:\avisynth plugs\DGBob.dll")
LoadCPlugin("C:\avisynth plugs\smartdecimate.dll")
MPEG2Source("C:\1x05\1x05.d2v")
SmartDecimate(tel=.25, bob=DGBob(order=0, thresh=20))
produces a back-and forward motion of about ~2 seconds - video will play from start for 2 seconds - then move forward about 3 seconds - then move back again.
A 1 min sample is here - sorry about the quality. This is an apache server off my computer - you have until 9:30 tonight to get it. Be nice to my bandwidth.
edit: AACK! just looked at it. the video quality sucks. any pixellation is caused by me doing a 256k/sec xvid compression. Any jumping is my filter.
EDIT: Problem solved. saving my bandwidth.

Bogalvator
25th February 2004, 02:41
Hi there.

There are a few probs that need workarounds for SmartDecimate (nothing hard!)

You need to put DGBob (or any 'bobber') outside the SmartDecimate function, like this:

assumeBFF() # just to make sure that SmartDecimate knows
a=DGBob(order=0,thresh=20)
smartdecimate(tel=0.25,bob=a)

Replace your current SmartDecimate line in your script with the above and it should solve your problem - if not then check the field order is correct.

Another thing is that I have sometimes experienced crashes if SmartDecimate.dll is in the autoloading plugins directory, so keep it elsewhere (which you already seem to be doing so no probs here)

falconfighter
25th February 2004, 02:58
thanks. seems to work allright. file coming off server. address removed.