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 > VapourSynth

Thread Tools Search this Thread Display Modes
Old 15th August 2017, 00:20   #1  |  Link
Registered User
Join Date: Nov 2006
Posts: 83
Removing duplicate frames of animated content - Dedup?

Is there a plugin similar to Dedup or a way to replicate its functionality in Vapoursynth?
If not, is there a chance to get Dedup ported?

To take the concept of DeDup even further, is there a way to pass the frame type in the source to a script?
The idea is, to have a script that uses Dedup's log and the frame type information to decide which frame to use - if two duplicate frames are B and P frames, don't merge them (because assumingly the P frame is of higher quality than an average of the P and an inferior B) but only use the P frame, if they are of the same type, average.

I found this but have no idea how to apply it.

Last edited by McCauley; 15th August 2017 at 04:21.
McCauley is offline   Reply With Quote
Old 15th August 2017, 01:46   #2  |  Link
Professional Code Monkey
Myrsloik's Avatar
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,244
Ffms2 will set the frame type as a property. You can het a metric very similar to dedup by using vdecimate's metric output mode and planestats' absolute difference.

Save all these to a file and generate a list of which frames to drop. Or that's the general idea. This should be enough to get you really confused.
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote

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 05:22.

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