Selur's Little Message Board
Decimation filter - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: Decimation filter (/thread-3476.html)



Decimation filter - artenaki - 26.11.2023

Is there any possibility to apply decimator (removing duplicate frames with fps reduction) using TIVTC (TDecimate) or VIVTC without IVTC procedure? I.e. for progressive material that contains only duplicate frames, not telecine. I have not found such an option.


RE: Decimation filter - Selur - 26.11.2023

Hybrid does allow replacing duplicate frames with interpolated ones, but Hybrid does not have an option to simply remove duplicate frames.
If the duplicates follow a strict pattern, you could use SelectEvery or SelectRangeEvery.
Problem is, that without a fixed pattern, you would need to create vfr output to stay sync with the audio.
Using Avisynth scripting (outside of Hybrid) one could do this with DeDup (http://avisynth.nl/index.php/DeDup) or maybe TDecimate with mode 3 (Vapoursynth port of TDecimate does not support mode 3). Hybrid does not support either of these options in Avisynth, since I never needed it and it would require Hybrid to check the output frame count and frame rates of the filter.

If you are using Vapoursynth, your best choice is probably to try TIVTC in mode 7 or sRestore and try to find a good average frame rate that fits your content.

Cu Selur


RE: Decimation filter - Bob.Dig - 14.04.2024

(26.11.2023, 17:11)Selur Wrote: Hybrid does not support either of these options in Avisynth, since I never needed it and it would require Hybrid to check the output frame count and frame rates of the filter.

I would like to see this as well. It is a complicated matter for sure, that is why I, as a novice user, would like to see this somewhere easy accessible and fully automated.

Also I wonder why videos with a lot of double frames (and no pattern) are using so much more storage. I would have thought that modern codecs can easily compress those away at no cost but it doesn't look like that.


RE: Decimation filter - Selur - 14.04.2024

Removing duplicate frames and creating vfr.
Otherwise you can use TDecimate or sRestore to archive a file with less duplicates but a fixed frames rate.
If you want to replace duplicates with interpolated frames FillDrops, ReplaceBlackFrames, FillDuplicateFrames is probably what you want to look at.

Cu Selur


RE: Decimation filter - Bob.Dig - 15.04.2024

(14.04.2024, 12:40)Selur Wrote: Removing duplicate frames and creating vfr.
Otherwise you can use TDecimate or sRestore to archive a file with less duplicates but a fixed frames rate.

But the latter would require a pattern I guess?

How can I do the first one? I think I have to go with that.


RE: Decimation filter - Selur - 15.04.2024

like I wrote:
Quote:If you are using Vapoursynth, your best choice is probably to try TIVTC in mode 7 or sRestore and try to find a good average frame rate that fits your content.
for DeDup, read: http://avisynth.nl/index.php/DeDup

Cu Selur