I would like some help in troubleshooting TIVTC in two pass mode for VFR decimation of a hybrid source. Whenever I run the first pass script through VirtualDub (either for output or as video analysis pass. It only creates the tfm and tdecimate files. No lines are written to them and I see no error logs.
Windows 10.0.19042
VirtualDub2 build 44282 (32-bit)
Avisynth+ v2772 (32-bit)
TIVTC was obtained Feb 2021 through wiki link
Since I am needing to start a thread anyway, is there a cleaver and easy to manage way to toggle between 1st vs 2nd pass processing in a script (possibly by presence of the first pass output file)? I don't have a strong understanding of avs script flow control.
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 3 of 3
Thread
-
-
Your post makes no sense. VirtualDub doesn't create the scripts. You create the scripts, then run them one at a time in VirtualDub. Your first pass script should look something like:
Code:LWlibavVideoSource("filenane.mkv") TDecimate(pass 1 arguments including output="metrics.txt")
Code:LWlibavVideoSource("filenane.mkv") TDecimate(pass 2 arguments including input="metrics.txt")
Code:LWlibavVideoSource("filenane.mkv") TDecimate(pass1 arguments including output="metrics.txt") #TDecimate(pass 2 arguments including input="metrics.txt")
Last edited by jagabo; 5th Jan 2022 at 23:40.
-
Think I found my problem. Output files are written when the script is closed, not when it has finished iterating frames. AvsPmod may have potentially been creating file access deadlock on top of that. Yuck!
Additionally I found the try/catch syntax which is serviceable for my 2-pass script needs.
Code:try{ # second pass (will generate exception as analysis files do not exist on first pass) } except (x) { # first pass (I recommend adding a subtitle to the first pass code to improve detection of errors in the second pass) }
Similar Threads
-
TIVTC settings
By radusound in forum Newbie / General discussionsReplies: 33Last Post: 12th Apr 2021, 07:01 -
TIVTC is a poor deinterlacer?
By killerteengohan in forum RestorationReplies: 9Last Post: 17th Oct 2019, 15:33 -
Quick question on TIVTC's Tdecimate
By attackworld in forum Newbie / General discussionsReplies: 4Last Post: 11th Mar 2019, 15:05 -
Interlacing after TIVTC
By Vitality in forum RestorationReplies: 12Last Post: 26th Nov 2018, 15:01 -
Need help using TIVTC
By Joycon in forum Newbie / General discussionsReplies: 1Last Post: 9th Sep 2018, 07:53