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

Reply
 
Thread Tools Search this Thread Display Modes
Old 13th March 2021, 15:23   #1  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
TIVTC for VapourSynth

What do you think?

https://github.com/dubhater/vapoursynth-tivtc
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 13th March 2021, 16:08   #2  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Nice!
But isn't vivtc = tivtc?
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 13th March 2021, 16:28   #3  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
Quote:
Originally Posted by ChaosKing View Post
Nice!
But isn't vivtc = tivtc?
Not completely. Mostly VIVTC does fewer things.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 14th March 2021, 16:17   #4  |  Link
Izuchi
Registered User
 
Join Date: Dec 2014
Posts: 28
So is this meant to supersede VIVTC?
Izuchi is offline   Reply With Quote
Old 14th March 2021, 18:22   #5  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
Is it final? I compiled it yesterday and tried to make 2pass vfr, but it writes empty metric files. I didn't reported since assumed it might be a WIP.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 14th March 2021, 19:07   #6  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
I tested it with my "problematic" DVD and I must say vivtc performed better (with same settings, maybe some other default values are different). TIVTC missed some frames. Both seem equally fast.

Bonus point for tivtc: d2v input (idk what it does exactly but at least it reported the correct field order )
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Old 14th March 2021, 20:08   #7  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
@Izuchi: It's not meant to supersede VIVTC. I don't know, use whichever you prefer.

@DJATOM: It's final in the sense that I thought I was done. But I only tested TDecimate with modes 0 and 1, with default settings. I tested mode 4 just now and it wrote the metrics in the output file. Can you step through TDecimate::~TDecimate to see where it fails?

@ChaosKing: If the Avisynth version makes the same mistakes, then it's okay.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 14th March 2021, 20:19   #8  |  Link
DJATOM
Registered User
 
DJATOM's Avatar
 
Join Date: Sep 2010
Location: Ukraine, Bohuslav
Posts: 377
It seems with doodle1 version TDecimate::~TDecimate is never called. Weird. Vanilla VS works as expected.
__________________
Me on GitHub
PC Specs: Ryzen 5950X, 64 GB RAM, RTX 2070
DJATOM is offline   Reply With Quote
Old 14th March 2021, 20:28   #9  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Nice!
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 14th March 2021, 23:18   #10  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Quote:
@ChaosKing: If the Avisynth version makes the same mistakes, then it's okay.
I just re-checked and the avisynth version does not have these mistakes.

EDIT:
See PM for sample vob.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database

Last edited by ChaosKing; 14th March 2021 at 23:24.
ChaosKing is offline   Reply With Quote
Old 15th March 2021, 10:54   #11  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Kinnarps Chair
Posts: 2,554
Quote:
Originally Posted by ChaosKing View Post
Nice!
But isn't vivtc = tivtc?
VIVTC is basically a reimplementation of TIVTC and only borrows two (I think) heavily refactored field matching metric calculation functions. The rest is implemented more or less based on common sense/TIVTC documentation description which means it doesn't match the actual TIVTC behavior at all.
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 17th March 2021, 18:38   #12  |  Link
jackoneill
unsigned int
 
jackoneill's Avatar
 
Join Date: Oct 2012
Location: 🇪🇺
Posts: 760
v2 fixes this bug:

Quote:
Originally Posted by ChaosKing View Post
I tested it with my "problematic" DVD and I must say vivtc performed better (with same settings, maybe some other default values are different). TIVTC missed some frames.
And DJATOM added frame durations for modes 5 and 6.
__________________
Buy me a "coffee" and/or hire me to write code!
jackoneill is offline   Reply With Quote
Old 17th March 2021, 18:53   #13  |  Link
ChaosKing
Registered User
 
Join Date: Dec 2005
Location: Germany
Posts: 1,795
Nice. The bug is gone now. I love this kind of typos. Everything seems to work but not really and you spend hours to figure out what is wrong
Output looks now identical to avs ivtc

p.s. ivtc package added to vsrepo git, but not uploaded yet!
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth
VapourSynth Portable FATPACK || VapourSynth Database
ChaosKing is offline   Reply With Quote
Reply

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 17:50.


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