Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th July 2021, 07:15   #21  |  Link
AdamCarter
Registered User
 
Join Date: Jul 2020
Posts: 41
Ok thanks
AdamCarter is offline   Reply With Quote
Old 25th August 2021, 19:37   #22  |  Link
Shinkiro
Registered User
 
Join Date: Dec 2012
Posts: 65
I can't get it to work

Avisynth+ 3.7.0 x64 | ExactDedup 0.07.Beta01
Code:
setmemorymax(8192)
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
ffms2("lossless - 01.mkv",cache=false)
ExactDedup(firstpass=true, dupinfo="dupinfo.txt", times="times.txt", maxdupcount=20, keeplastframe=false, Show=false)
Prefetch(8)
__________________
Ryzen 2700x | ASUS ROG Strix GTX 1080 Ti | 16 Gb DDR4
Windows 10 x64 20H2
KD-55XE9005 | Edifier R2800
Shinkiro is offline   Reply With Quote
Old 25th August 2021, 19:47   #23  |  Link
Reel.Deel
Registered User
 
Join Date: Mar 2012
Location: Texas
Posts: 1,664
@Shinkiro

Try disabling Prefect. I don't think ExactDedup plays nice with MT. I tried SetFilterMTMode("ExactDedup", MT_SERIALIZED) but it still had the same problem.
Reel.Deel is offline   Reply With Quote
Old 25th August 2021, 20:34   #24  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Options:
- firstpass : Default true. Controls which pass the plugin is running.

The first pass generates a mapping of output frames to
input frames (stored in the file specified by dupinfo) and
Matroska v2 timecodes (stored in the file specified by
times); seeking during this pass is impossible.
If not completely linear access from beginning to end of clip, then
will abandon processing, you cannot jump around the clip, and should not
use any multi processing (MT) methods.

The second pass generates a video stream containing only
the frames specified in the dupinfo file. (Seeking is
permissible during this pass.)
Above from author.
Dont use Prefetch, dont follow with any other filter when firstpass==true.
Cant offhand remember why.
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???
StainlessS is offline   Reply With Quote
Old 25th August 2021, 22:39   #25  |  Link
Shinkiro
Registered User
 
Join Date: Dec 2012
Posts: 65
Reel.Deel, StainlessS
You're right, everything works now, thank you for your help
__________________
Ryzen 2700x | ASUS ROG Strix GTX 1080 Ti | 16 Gb DDR4
Windows 10 x64 20H2
KD-55XE9005 | Edifier R2800
Shinkiro is offline   Reply With Quote
Old 29th October 2021, 13:59   #26  |  Link
Blankmedia
Registered User
 
Join Date: Oct 2011
Location: Dans le nord
Posts: 65
His there a way to replace deleted frames with interpolated frames?


Edit: Nevermind found a really recent solution
https://forum.doom9.org/showthread.p...ight=filldrops

Last edited by Blankmedia; 29th October 2021 at 14:15.
Blankmedia is offline   Reply With Quote
Old 21st November 2021, 16:46   #27  |  Link
goal1664
Registered User
 
Join Date: Mar 2018
Posts: 3
I don't know why but it doesn't remove right frames for me...
so I edit dumpinfo with my frames to remove, but how can I get these kinds of timecodes "166.833333333" ? Mkvextract give me v2 like this: "166"
or is it possible to have timecodes for every frames with ExactDedup? [I have to get the timecodes of all the frames and delete the ones I don't need ]

Last edited by goal1664; 21st November 2021 at 17:15.
goal1664 is offline   Reply With Quote
Old 21st November 2021, 18:20   #28  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
I don't know why but it doesn't remove right frames for me
ExactDedup removes only EXACT duplicates [hence the name], if a single channel of a single pixel is different, then it is not an exact dupe.
Those very precise time codes would require double precision floating point, not do-able from script.

Suggest simple dupe detector based on Ydifference threshold to create frames list and then use RejectRanges().
Maybe see here [Methods for Duplicate Frame Detection & Deletion in Scripts]:- https://forum.doom9.org/showthread.php?t=182156
custom frame dropping:- https://forum.doom9.org/showthread.php?t=155683

RejectRanges:- https://forum.doom9.org/showthread.p...es#post1683559
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 21st November 2021 at 18:54.
StainlessS is offline   Reply With Quote
Old 22nd November 2021, 11:07   #29  |  Link
goal1664
Registered User
 
Join Date: Mar 2018
Posts: 3
Quote:
Originally Posted by StainlessS View Post
ExactDedup removes only EXACT duplicates....
Many thanks for the immediate response and suggestions, yes I understood that this is for other purposes, I just hoped to be able to get around the problem creatively, since with other automatic detection filters I have not been able and the only way seems to be to insert the pattern manually (or frame list) ... however I'll do a separate thread because I'm having a lot of headaches with this file.

Last edited by goal1664; 22nd November 2021 at 11:34.
goal1664 is offline   Reply With Quote
Reply

Tags
dedup

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:20.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.