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. |
22nd May 2020, 21:58 | #1401 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
1) MPEG2Source is frame accurate. I don't know about ffms2 as I don't use it for MPEG-2. 2) I transcoded both of the samples to a lossless AVI that is absolutely frame accurate and used that in place of the MPEG-2 source the same thing happens. The short file works as expected the longer one doesn't. 3) What other filter in the filter chain is responsible for TFM's field matches? Why would TFM behave differently when the sequence occurs 40 frames into the clip vs. 321 frames into the clip? |
|
22nd May 2020, 22:23 | #1402 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Going back using mpeg2source.
So that y0 parameter (band exclusion) is only used in the very first check in field matching decision (they call it of compareFields inside). And then, bacause micmatching>0 the combing check algorithms (for myself: CheckComb) is working again on the whole frame. The "micmatching" parameter is default = 1 When I set "micmatching"=0 the combing decision became identical for the stacked and non-stacked case. Debug display output will report different MIC however but it seems that it does not overrides the first field matching decision. Last edited by pinterf; 22nd May 2020 at 23:15. |
23rd May 2020, 01:08 | #1403 | Link |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Thank you for digging into this.
So the documentation isn't really correct. That band is not excluded from the entire field matching decision, only part of it. It seems counter-intuitive that the band is not excluded from all checks/processing that influence matching since that's the very reason why you'd want to exclude the defined band in the first place. The TFM documentation states, "An exclusion band can be used to ignore subtitles, a logo, or other things that may interfer with the matching." None of those things will interfere with matching unless they have more combing than the underlying content. If they have no combing they won't interfere and you wouldn't need to exclude them. IMHO the y0/y1 feature is broken. Any thoughts on why the two clips behave differently? |
23rd May 2020, 21:12 | #1404 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
The docs will be modded, and the source? Well, at the moment I do not dare to touch the other stuff to really exclude the y0-y1 bands from the checking. There are other things to do first. No time now for that, we can return to it some weeks later. Currently the whole TIVTC project is under heavy changes/refactoring (since weeks and there are some more weeks ahead) in order to have a clean and maintainable source. What can you expect: My target is finishing the porting to 10+ bits, and make some AVX2 stuff, and the general lookout of the source code, remove as much ciphered and copy-pasted part as I can. As for high bit-depth project: FrameDiff is already working in 16 bits, display=true is working on my test bench for YV16 and YV24 (and 8-16 bits) as well (current release is - inheritedly - can display only for YV12 and YUY2) And an old TFM crash bug was fixed as well. |
|
23rd May 2020, 23:55 | #1405 | Link | |
Registered User
Join Date: Dec 2002
Location: Region 0
Posts: 1,436
|
Quote:
|
|
3rd June 2020, 09:09 | #1406 | Link |
Registered User
Join Date: Oct 2018
Posts: 133
|
New computer, new installation of avisynth+ 64 and megui 64. I'm having a problem with TDecimate and megui, I don't know who's the culprit. Script:
MPEG2Source("D:\projects\tests\segment.demuxed.d2v", cpu=0) tfm() TDecimate(hybrid=1) AVSMeter64 output of the script: Code:
AVSMeter 3.0.0.4 (x64), (c) Groucho2004, 2012-2020 AviSynth+ 3.5 (r3106, 3.5, x86_64) (3.5.0.0) Number of frames: 1315 Length (hh:mm:ss.ms): 00:01:05.750 Frame width: 720 Frame height: 576 Framerate: 20.000 (20/1) Colorspace: YV12 Frames processed: 1315 (0 - 1314) FPS (min | max | average): 84.27 | 276.4 | 150.8 Process memory usage (max): 34 MiB Thread count: 8 CPU usage (average): 23.6% Time (elapsed): 00:00:08.722 However, megui 2913 x64 gives me this error: Code:
--[Information] [6/3/2020 10:05:21 AM] Started handling job --[Information] [6/3/2020 10:05:24 AM] Preprocessing -[NoImage] MPEG2Source("D:\projects\tests\segment.demuxed.d2v", cpu=0) -[NoImage] tfm() -[NoImage] TDecimate(hybrid=1) --[Information] [6/3/2020 10:05:24 AM] AviSynth input script --[Information] [6/3/2020 10:05:25 AM] resolution: 720x576 --[Information] [6/3/2020 10:05:25 AM] frame rate: 20/1 --[Information] [6/3/2020 10:05:25 AM] frames: 1315 --[Information] [6/3/2020 10:05:25 AM] length: 00:01:05.750 --[Information] [6/3/2020 10:05:25 AM] aspect ratio: 5:4 (1.250) --[Information] [6/3/2020 10:05:25 AM] color space: YV12 --[Information] [6/3/2020 10:05:25 AM] Job command line: "C:\encoding\MeGUI-2913-64\tools\x264\x264.exe" --preset veryslow --tune film --crf 20 --keyint 200 --sar 1:1 --frames 1315 --output "D:\projects\tests\segment.demuxed tfm.264" "D:\projects\tests\segment.demuxed.avs" --[Information] [6/3/2020 10:05:25 AM] Process started --[Information] [6/3/2020 10:05:25 AM] Standard output stream --[Information] [6/3/2020 10:05:25 AM] Standard error stream --[Error] [6/3/2020 10:05:27 AM] Process exits with error: 0xC0000005 STATUS_ACCESS_VIOLATION (-1073741819) --[Information] [6/3/2020 10:05:27 AM] Job completed Code:
AVSMeter 3.0.0.4 (x64), (c) Groucho2004, 2012-2020 VersionString: AviSynth+ 3.5 (r3106, 3.5, x86_64) VersionNumber: 2.60 File / Product version: 3.5.0.0 / 3.5.0.0 Interface Version: 7 Multi-threading support: Yes Avisynth.dll location: C:\Windows\SYSTEM32\avisynth.dll Avisynth.dll time stamp: 2020-04-02, 16:27:26 (UTC) PluginDir2_5 (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64 PluginDir+ (HKLM, x64): C:\Program Files (x86)\AviSynth+\plugins64+ [C++ 2.5 Plugins (64 Bit)] [Version, Time stamp] C:\Program Files (x86)\AviSynth+\plugins64\DGDecode.dll [1.5.8.0, 2010-03-18] [C++ 2.6 Plugins (64 Bit)] [Version, Time stamp] C:\Program Files (x86)\AviSynth+\plugins64+\ConvertStacked.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64+\DirectShowSource.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64+\ImageSeq.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64+\Shibatch.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64+\TimeStretch.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64+\VDubFilter.dll [n/a, 2020-04-02] C:\Program Files (x86)\AviSynth+\plugins64\DePan.dll [2.13.1.6, 2020-05-22] C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll [2.10.0.4, 2020-05-22] C:\Program Files (x86)\AviSynth+\plugins64\DupStep.dll [0.0.3.0, 2020-06-03] C:\Program Files (x86)\AviSynth+\plugins64\masktools2.dll [2.2.23.0, 2020-05-14] C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll [2.7.43.0, 2020-06-02] C:\Program Files (x86)\AviSynth+\plugins64\nnedi3.dll [0.9.4.55, 2020-05-05] C:\Program Files (x86)\AviSynth+\plugins64\RgTools.dll [1.0.0.0, 2020-04-27] C:\Program Files (x86)\AviSynth+\plugins64\TIVTC.dll [1.0.17.0, 2020-05-12] [Scripts (AVSI)] [Time stamp] C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.avsi [2020-03-12] C:\Program Files (x86)\AviSynth+\plugins64\QTGMC.avsi [2020-06-02] C:\Program Files (x86)\AviSynth+\plugins64\Zs_RF_Shared.avsi [2020-06-03] [Uncategorized files] [Time stamp] C:\Program Files (x86)\AviSynth+\plugins64+\colors_rgb.txt [2020-03-12] [Plugin errors/warnings] ____________________________________________________________________________________________________________ "C:\Program Files (x86)\AviSynth+\plugins64\DePanEstimate.dll" requires the FFTW library for some functions. Note: 'libfftw3f-3.dll' can be downloaded here: http://www.fftw.org/install/windows.html 'libfftw3f-3.dll' should be placed in "System32" and/or "SysWoW64" ____________________________________________________________________________________________________________ "C:\Program Files (x86)\AviSynth+\plugins64\mvtools2.dll" requires the FFTW library for some functions. Note: 'libfftw3f-3.dll' can be downloaded here: http://www.fftw.org/install/windows.html 'libfftw3f-3.dll' should be placed in "System32" and/or "SysWoW64" Last edited by bruno321; 3rd June 2020 at 09:12. |
3rd June 2020, 18:03 | #1407 | Link |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Could you please test this build:
https://drive.google.com/open?id=1kU...Dp8xivUFIQws0q Replace your existing v1.0.17 TIVTC.DLL with the appropriate dll from the package. |
3rd June 2020, 21:06 | #1409 | Link |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Are you using the "portable" (or whatever it's called) Avisynth in megui?
__________________
Groucho's Avisynth Stuff |
9th June 2020, 02:32 | #1415 | Link |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
tdecimate() error, i meet too much artifact
Code: tfm().tdecimate() Video test: https://drive.google.com/open?id=1Ix...mv8IN7MnS3qIjq Frame 2533: https://drive.google.com/open?id=14j...aRaI-9rPS31ZJ- |
11th June 2020, 01:31 | #1417 | Link | |
Registered User
Join Date: Jan 2018
Posts: 2,153
|
Quote:
my scripts: LoadPlugin("E:\MeGUI-2924-64\tools\avisynth_plugin\yadifmod.dll") LoadPlugin("E:\MeGUI-2924-64\tools\avisynth_plugin\masktools2.dll") LoadPlugin("E:\MeGUI-2924-64\tools\avisynth_plugin\nnedi3.dll") Import("E:\MeGUI-2924-64\tools\avisynth_plugin\JIVTC.avsi" JIVTC() |
|
11th June 2020, 13:16 | #1418 | Link |
HeartlessS Usurer
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
|
Code:
function JIVTC(clip c, int pattern, int "thr", bool "draft", clip "ivtced", string "bobber", bool "show")
__________________
I sometimes post sober. StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace "Some infinities are bigger than other infinities", but how many of them are infinitely bigger ??? Last edited by StainlessS; 11th June 2020 at 13:22. |
11th June 2020, 13:29 | #1419 | Link | |
Registered User
Join Date: Jan 2014
Posts: 2,309
|
Quote:
|
|
Tags |
tdeint, tivtc |
Thread Tools | Search this Thread |
Display Modes | |
|
|