This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Decimation filter
#1
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.
Reply
#2
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
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply
#3
(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.
Reply
#4
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
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply
#5
(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.
Reply
#6
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
------
offline 02.-07. July, https://www.rockharz-festival.com/ Big Grin
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)