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 > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th September 2016, 01:07   #181  |  Link
Statick
Registered User
 
Join Date: Aug 2016
Posts: 27
hi guys, I'm pleased to report that setting MeGUI to use development updates instead of stable updates, putting it on version 2634, solves the problem. this also updated x265, x264, L-Smash and a bunch of other components, so it's hard to know where exactly the problem was. in any case it's sorted, and if anyone else has the same issue hopefully they will find this.

thanks to everyone for the time taken to help
Statick is offline   Reply With Quote
Old 6th December 2016, 03:34   #182  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
new edit http://forum.doom9.org/showpost.php?...postcount=2041

tr2 now can be 4 and 5 for more fun :P
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 6th December 2016, 19:02   #183  |  Link
Dreamland
Registered User
 
Join Date: Sep 2013
Location: Central Italy
Posts: 46
Real.Finder

I have an issue with last QTGMC release (2016-12-06)




Help me !

thanks a lot
Dreamland is offline   Reply With Quote
Old 6th December 2016, 19:10   #184  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Dreamland View Post
Real.Finder

I have an issue with last QTGMC release (2016-12-06)




Help me !

thanks a lot
you must have last SMDegrain
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 10th December 2016, 13:20   #185  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
I'm busy modifying QTGMC so that I can do the script in sections to make processing 1080i material using whatever settings I like without it crashing or reducing the framerate to almost nothing (multithreading the script doesn't increase CPU usage any more than running it single threaded).

I think I've already got a working solution, I just have to wait for the finished output, but at the moment I'm up to SourceMatch and have a question.

I don't actually understand everything going on in the script and I'm wonder what is the difference between the main EDI and each of the SourceMatch EDIs... Would it cause any problems if I just fed the main EDI into QTGMC_ApplySourceMatch or does that little bit of code in there change the frames too much for them to be interchangeable?
ndjamena is offline   Reply With Quote
Old 17th December 2016, 00:15   #186  |  Link
ravewulf
Registered User
 
Join Date: Dec 2010
Posts: 23
QTGMC 3.34

Given that MvTools2 now supports YV16, I figured I'd create a YV16 version of QTGMC that gets rid of any unneeded YUY2 conversions.

real.finder's 2016-12-06 mod with the following changes:
  • Removed YUY2 input support, use YV16 instead (hence the version bump to 3.34)
  • Removed most YUY2 workarounds except where still needed for plugins that don't support YV16
  • Removed reliance on SSE2Tools. All plugins now support either YV16 or YUY2 directly
  • Minimum requirements updated for YV16 support
  • RemoveGrain and Vertical Cleaner replaced by RgTools
  • Yadif replaced by yadifmod2 (The option to select it directly is still "Yadif" for compatibility if you have it in multiple scripts already, but I can change this if people want it to be "yadifmod2" instead)

FFT3DFilter, NNEDI2, NNEDI, EEDI3, EEDI2, TDeint still rely on YUY2, but accept it directly without SSE2Tools.

AddGrainC, dfttest, MaskTools2, MvTools2, NNEDI3, KNLMeansCL, RgTools, and yadifmod2 support YV16

Quote:
# --- REQUIREMENTS ---
#
# Input colorspaces: YV12, YV16
#
# Core plugins:
# MVTools2 (2.7.5.22 or above from pinterf https://github.com/pinterf/mvtools/releases)
# MaskTools v2 (2.0b1 or above)
# NNEDI3 (0.9.4.6 or above)
# RgTools
#
# Additional plugins:
# NNEDI2, NNEDI, EEDI3, EEDI2, TDeInt - if selected directly or via a source-match preset
# yadifmod2 - for Preset="Ultra Fast" or if selected directly
# FFT3DFilter - if selected for noise processing
# dfttest (1.9.4 or above) - if selected for noise processing
# For FFT3DFilter & ddftest you also need the FFTW3 library (FFTW.org). On Windows the file needed for both is libfftw3f-3.dll. However, for FFT3DFilter the file needs to be called FFTW3.dll, so you will need two copies and rename one. On Windows put the files in your System32 or SysWow64 folder
# AddGrainC (1.7.0 or above) - if NoiseDeint="Generate" selected for noise bypass
I'm not sure what other plugins to add to this from previous edits, so the requirements list is probably incomplete. Please let me know if there's something I missed or if you find a problem with my changes.

I've only done a limited set of testing, but hopefully there should be a speed-up for YV16 without all the SSE2Tools planar YUY2 hacks.

Last edited by tebasuna51; 21st April 2017 at 12:41. Reason: code -> quote
ravewulf is offline   Reply With Quote
Old 17th December 2016, 08:19   #187  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
ravewulf, you should have done timing tests with/without YUY2 hacks in-situ, to tell if any benefit in removal, and then post
results, removal just for the sake of it is not a good idea.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 17th December 2016, 08:48   #188  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by ravewulf View Post
QTGMC 3.34

Given that MvTools2 now supports YV16, I figured I'd create a YV16 version of QTGMC that gets rid of any unneeded YUY2 conversions.

real.finder's 2016-12-06 mod with the following changes:
  • Removed YUY2 input support, use YV16 instead (hence the version bump to 3.34)
  • Removed most YUY2 workarounds except where still needed for plugins that don't support YV16
  • Removed reliance on SSE2Tools. All plugins now support either YV16 or YUY2 directly
  • Minimum requirements updated for YV16 support
  • RemoveGrain and Vertical Cleaner replaced by RgTools
  • Yadif replaced by yadifmod2 (The option to select it directly is still "Yadif" for compatibility if you have it in multiple scripts already, but I can change this if people want it to be "yadifmod2" instead)

FFT3DFilter, NNEDI2, NNEDI, EEDI3, EEDI2, TDeint still rely on YUY2, but accept it directly without SSE2Tools.

AddGrainC, dfttest, MaskTools2, MvTools2, NNEDI3, KNLMeansCL, RgTools, and yadifmod2 support YV16

Quote:
# --- REQUIREMENTS ---
#
# Input colorspaces: YV12, YV16
#
# Core plugins:
# MVTools2 (2.7.5.22 or above from pinterf https://github.com/pinterf/mvtools/releases)
# MaskTools v2 (2.0b1 or above)
# NNEDI3 (0.9.4.6 or above)
# RgTools
#
# Additional plugins:
# NNEDI2, NNEDI, EEDI3, EEDI2, TDeInt - if selected directly or via a source-match preset
# yadifmod2 - for Preset="Ultra Fast" or if selected directly
# FFT3DFilter - if selected for noise processing
# dfttest (1.9.4 or above) - if selected for noise processing
# For FFT3DFilter & ddftest you also need the FFTW3 library (FFTW.org). On Windows the file needed for both is libfftw3f-3.dll. However, for FFT3DFilter the file needs to be called FFTW3.dll, so you will need two copies and rename one. On Windows put the files in your System32 or SysWow64 folder
# AddGrainC (1.7.0 or above) - if NoiseDeint="Generate" selected for noise bypass
I'm not sure what other plugins to add to this from previous edits, so the requirements list is probably incomplete. Please let me know if there's something I missed or if you find a problem with my changes.

I've only done a limited set of testing, but hopefully there should be a speed-up for YV16 without all the SSE2Tools planar YUY2 hacks.
good, you did a lot of work, but why not do it like this:-

if the source is YUY2 then did convert it to yv16 and if plugins need YUY2 (like FFT3DFilter) then convert it back to YUY2 and after that plugin convert back to yv16 until the end of script and in the end convert the output to YUY2

with this you will not need to did another edit in the future in case all filters have yv16 support

yadifmod2 is good but unfortunately that will make winxp users unhappy
__________________
See My Avisynth Stuff

Last edited by tebasuna51; 21st April 2017 at 12:42. Reason: code -> quote
real.finder is offline   Reply With Quote
Old 17th December 2016, 09:44   #189  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by real.finder View Post
yadifmod2 is good but unfortunately that will make winxp users unhappy
Why's that? Works fine for me on XP.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 17th December 2016, 10:07   #190  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by Groucho2004 View Post
Why's that? Works fine for me on XP.
that what readme say

Quote:
#yadifmod2
## Yet Another Deinterlacing Filter mod for Avisynth2.6/Avisynth+

yadifmod2 = yadif + yadifmod

### Info:

version 0.0.4

### Requirement:
- Avisynth2.6.0final/Avisynth+r1576 or greater.
- WindowsVista SP2 or later.
- Visual C++ Redistributable Packages for Visual Studio 2015.
edit: test it now in winxp in VirtualBox, and it realy work
__________________
See My Avisynth Stuff

Last edited by real.finder; 17th December 2016 at 10:21.
real.finder is offline   Reply With Quote
Old 17th December 2016, 10:50   #191  |  Link
ravewulf
Registered User
 
Join Date: Dec 2010
Posts: 23
Quote:
Originally Posted by real.finder View Post
good, you did a lot of work, but why not do it like this:-

if the source is YUY2 then did convert it to yv16 and if plugins need YUY2 (like FFT3DFilter) then convert it back to YUY2 and after that plugin convert back to yv16 until the end of script and in the end convert the output to YUY2

with this you will not need to did another edit in the future in case all filters have yv16 support

yadifmod2 is good but unfortunately that will make winxp users unhappy
For the most part I followed the advice from Writing better AviSynth plugins By tp7 - Stop YUY2 section on avoiding YUY2 where possible and relying on users to add ConvertToYV16().QTGMC().ConvertToYUY2() if keeping YUY2 is necessary for any reason, but it would be trivial to automate this step with conditional conversion internally at the start and end if it is considered important enough.

As for plugins that don't support YV16 yet and require YUY2, I think what you suggested is what I already did - unless I'm misunderstanding you. The remaining conversions have been moved to directly before/after filters that need YUY2 instead of having sections of interleaved YUY2 and sections of planar YUY2 as it was before.

Last edited by ravewulf; 17th December 2016 at 10:56.
ravewulf is offline   Reply With Quote
Old 17th December 2016, 11:02   #192  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by real.finder View Post
test it now in winxp in VirtualBox, and it realy work
Chikuzen did not test XP compatibility and with VS2015 it's safe to assume that without some special switches it won't work on XP. So, stating VistaSP2 as a minimum is the sensible thing to do in this case.
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 17th December 2016, 11:03   #193  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by ravewulf View Post
For the most part I followed the advice from Writing better AviSynth plugins By tp7 - Stop YUY2 section on avoiding YUY2 where possible and relying on users to add ConvertToYV16().QTGMC().ConvertToYUY2() if keeping YUY2 is necessary for any reason, but it would be trivial to automate this step with conditional conversion at the start and end if it is considered important enough.

As for plugins that don't support YV16 yet and require YUY2, I think what you suggested is what I already did, unless I'm misunderstanding you. The remaining conversion have been moved to directly before/after filters that need YUY2 instead of having sections of interleaved YUY2 and sections of planar YUY2 as it was before.
you did it in another way, you did support yv16 in hack way, and dropped YUY2, my suggested is to did YUY2 support in more clean and fast way (same as you did but for YUY2 not yv16)

and the yv16 support is work in pure yv16 and that mean now not all features of qtgmc work with it, until all plugins supports yv16, and when that happened you will not need to did another changes
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 17th December 2016, 13:41   #194  |  Link
dandyclubs
Registered User
 
Join Date: Feb 2016
Posts: 13
Script error: There is no function named 'ExtractU'.

QTGMC 3.34 bug?

D:\Worker\AVSMeter>AVSMeter.exe -avsinfo

AVSMeter 2.4.6 (x86) - Copyright (c) 2012-2016, Groucho2004

VersionString: AviSynth+ 0.1 (r2294, MT, i386)
VersionNumber: 2.60
File version: 0.1.0.0
Interface Version: 6
Multi-threading support: Yes
Linker/compiler version: 14.0
Avisynth.dll location: C:\Windows\SysWOW64\AviSynth.dll
Avisynth.dll time stamp: 2016-10-26, 17:29:37 (UTC)
PluginDir+ (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins+
PluginDir2_5 (HKLM, x86): C:\Program Files (x86)\AviSynth+\plugins


[CPP 2.6 plugins]
C:\Program Files (x86)\AviSynth+\plugins+\ConvertStacked.dll [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\DePan.dll [2.13.1.0]
C:\Program Files (x86)\AviSynth+\plugins+\DePanEstimate.dll [2.10.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\DirectShowSource.dll [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\ImageSeq.dll [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\masktools2.dll [2.1.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\mvtools2.dll [2.7.7.22]
C:\Program Files (x86)\AviSynth+\plugins+\nnedi3.dll [0.9.4.32]
C:\Program Files (x86)\AviSynth+\plugins+\RgTools.dll [0.93.0.0]
C:\Program Files (x86)\AviSynth+\plugins+\Shibatch.dll [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\TimeStretch.dll [n/a]
C:\Program Files (x86)\AviSynth+\plugins+\VDubFilter.dll [n/a]

D:\Worker\AVSMeter>AVSMeter.exe H:\WORK\video.avs

AVSMeter 2.4.6 (x86) - Copyright (c) 2012-2016, Groucho2004
AviSynth+ 0.1 (r2294, MT, i386) (0.1.0.0)

Script error: There is no function named 'ExtractU'.
(D:\Portable\Megui\AvisynthFilters\QTGMC.avsi, line 774)
(D:\Portable\Megui\AvisynthFilters\QTGMC.avsi, line 399)
(H:\WORK\video.avs, line 10)



SetMemoryMax(4096)
Import("D:\Portable\Megui\AvisynthFilters\MtModes.avsi")
#Import("D:\Portable\Megui\AvisynthFilters\LSFmod.v1.9.avsi")
Import("D:\Portable\Megui\AvisynthFilters\QTGMC.avsi")
#Import("D:\Portable\Megui\AvisynthFilters\SMDegrain.avsi")
Import("D:\Portable\Megui\AvisynthFilters\FineSharp.avsi")
LoadPlugin("D:\Portable\Megui\AvisynthFilters\KNLMeansCL\KNLMeansCL.dll")
LoadPlugin("D:\Portable\Megui\tools\lsmash\LSMASHSource.dll")
LWLibavVideoSource("H:\WORK\video.lwi")
QTGMC(Preset="Slow")
#crop
KNLMeansCL(d = 1, a = 1, h = 2)
#LSFmod(defaults="slow")
FineSharp()
#resize
Prefetch(8)



how to fix?
dandyclubs is offline   Reply With Quote
Old 17th December 2016, 13:55   #195  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
Script error: There is no function named 'ExtractU'.
Oops, methinks is Avs+ only.

EDIT: Post where 'ExtractU' first appeared (Nov 26 2016):- http://forum.doom9.org/showthread.ph...28#post1787428
__________________
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; 17th December 2016 at 14:00.
StainlessS is offline   Reply With Quote
Old 17th December 2016, 14:08   #196  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Dandyclubs,
Quote:
VersionString: AviSynth+ 0.1 (r2294, MT, i386)
You need more recent version avs+, at least 20161208 r2337dev I think.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 17th December 2016, 16:09   #197  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
I had that.

The script checks to see if AVS+ is being used and if it is uses that filter, but I had the "official" version of AVS+ from the home page which apparently was too old...
ndjamena is offline   Reply With Quote
Old 17th December 2016, 16:23   #198  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
http://forum.doom9.org/showthread.ph...29#post1788529

According to this, ExtractU wasn't implemented until last month, which is odd becuase the script is definitely checking for "r1576" in the version string which was a build released back in 2014.


Code:
ssispmt = Findstr(VersionString(), "AviSynth+") != 0 && Findstr(VersionString(), "r1576") == 0
I must be missing something.
ndjamena is offline   Reply With Quote
Old 17th December 2016, 16:43   #199  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Quote:
ExtractU wasn't implemented until last month
Mentioned last month, but supporting version not posted till 6th of this month, ie 11 days ago.
__________________
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 ???
StainlessS is offline   Reply With Quote
Old 17th December 2016, 16:49   #200  |  Link
ndjamena
Registered User
 
Join Date: Sep 2012
Posts: 366
The version string I'm being given now has r2337 in it, so unless I'm misreading the code QTGMC isn't using ExtractU with the latest build of AVS+ anyway.


-edit-

OK then, I misread it.

Last edited by ndjamena; 17th December 2016 at 19:10.
ndjamena is offline   Reply With Quote
Reply


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 02:08.


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