Log in

View Full Version : ExactDeDup Usage


AVJunkie
15th February 2019, 03:06
I have AVISynth+ 2.58 and VirtualDub 1.9.11.

I am trying to remove duplicate frames from a video suffering from a lot of jerkiness and stuttering. I wrote the following AVS script:

LoadPlugin("C:\Program Files (x86)\AviSynth+\plugins\ExactDedup.dll")
AVISource("C:\01.avi")
ExactDedup(clip="C:\01.avi", firstpass=true, dupinfo="dupinfo.txt", times="times.txt", maxdupcount=20, keeplastframe=false)

The clip loads up in VirtualDub just fine, but I know that in order to use ExactDeDup appropriately, you have to run it through a first pass with the boolean expression "firstpass = true".

That is supposed to create a "Dupinfo.txt" file that you use on the second pass with "Firstpass=false" that will finally remove the duplicate frames.

The problem is every time I play the clip through, Virtualdub plows away like it is doing something, but I don't see any "Dupinfo.txt" file. I even tried saving the actual video file hoping for something, but to no avail.

Is the program (AVISynth or VirtualDub) saving the "Dupinfo.txt" in some random location? I figured it would just save it in the same directory that the AVS/Source Clip was in.

StainlessS
15th February 2019, 10:21
Dont know why, but Windows 7 + (maybe Vista+) screwed up file paths a bit, change to eg "".\dupinfo.txt" or "D:\dupinfo.txt" and same for other file.
Somebody said that without explicit path, it writes to the virtualStore, whatever that is.
By the way, dupes have to be EXACT, bit identical else does nothing.

EDIT: I'll fix it maybe later today.

EDIT: Fixed, here:- https://forum.doom9.org/showthread.php?t=176111

AVJunkie
16th February 2019, 03:51
Thanks StainlessS

I didn't think anybody would reply to the post (first post on the site, but follower since 2005). Thought maybe I sounded too much like a newbie.

By the way, with respect to the question posted at the end of your reply:

How many smaller infinities are there as well? Perhaps bigger and smaller are the same thing??

StainlessS
16th February 2019, 12:42
Just a daft thing to write, I wanted to add a bit more but limited to 260 chars by forum in sig (is now almost 260 chars [incl links]).

Feisty2 also noted the sig (started a thread on it, think had my user name in title), he gots a itty bit anal bout it,
alas the funny little lad dont come here no more :)

AVJunkie
16th February 2019, 13:25
Guess some people get butt-hurt discussing drunken philosophy.

Anyways, have a good one, cheers mate, or whatever you say...