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

Reply
 
Thread Tools Search this Thread Display Modes
Old 12th August 2018, 16:21   #601  |  Link
vorob
Registered User
 
Join Date: Apr 2004
Posts: 34
maybe thats because i'm saving via virtualdub from 2013?
vorob is offline   Reply With Quote
Old 12th August 2018, 19:40   #602  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,587
Quote:
Originally Posted by vorob View Post
maybe thats because i'm saving via virtualdub from 2013?
maybe, but post the script and sample clip
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 12th August 2018, 19:48   #603  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
We know only little about your video. May it have a height which is not at least a multiple of 4? And the whole workflow has so many variables... no details - no clue.

By the way: Get up to date, use VirtualDub2. It's superior, especially in cooperation with AviSynth+ (and VapourSynth).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid

Last edited by LigH; 12th August 2018 at 19:51.
LigH is offline   Reply With Quote
Old 13th August 2018, 07:10   #604  |  Link
vorob
Registered User
 
Join Date: Apr 2004
Posts: 34
Looks like multithreading was wrong, instead of SetMTMode (5, 6) i had SetMTMode (4, 8).

What's the best lossless codec? With smallest size? I used Lagarith, but i dunno it's ffmpeg command.

I've got only prores one, take a look:

ffmpeg -i "Washington, Datcha.avs" -c:v prores -profile:v 3 -pix_fmt yuv422p10le "Washington, Datcha_Deint.avi"

Since I just copypasted this line from another tutorial, can you help me with underlined part? What should i put there to have Lagarithone? Prores weigh too much.
vorob is offline   Reply With Quote
Old 13th August 2018, 07:39   #605  |  Link
Cary Knoop
Cary Knoop
 
Cary Knoop's Avatar
 
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
Quote:
Originally Posted by vorob View Post
What's the best lossless codec? With smallest size? I used Lagarith, but i dunno it's ffmpeg command.

I've got only prores one, take a look:

ffmpeg -i "Washington, Datcha.avs" -c:v prores -profile:v 3 -pix_fmt yuv422p10le "Washington, Datcha_Deint.avi"

Since I just copypasted this line from another tutorial, can you help me with underlined part? What should i put there to have Lagarithone? Prores weigh too much.
Well, Lagarith will 'weigh' much more as ProRes is lossy.

Assuming this video is from a video8 tape you might want to think hard about whether storing this as 10 bit 4:2:2 lossless isn't a bit overkill.
Cary Knoop is offline   Reply With Quote
Old 13th August 2018, 08:13   #606  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
A lossless codec with good compression and wide support (both supporting different raw formats, and being supported in software with ffmpeg core) is the Ut Video Codec Suite (VideoHelp Software archive).
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th August 2018, 15:15   #607  |  Link
magiblot
Eurobeat Fan
 
Join Date: Sep 2014
Posts: 108
FFMpeg is unable to encode with Lagarith, but VirtualDub/2 can (although you must configure the codec within VirtualDub so that it will use YV12, YUY2 or RGB compression).
magiblot is offline   Reply With Quote
Old 13th August 2018, 16:16   #608  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Some time ago, it kind of surprised me that Lagarith could produce considerably smaller files than UT_Video, when source has
quite a few duplicate frames, I had just assumed that UT_Video would produce null frames as Lagarith does.

EDIT:
Quote:
considerably smaller files than UT_Video
https://forum.doom9.org/showthread.p...86#post1716986

Lossless output smaller than original :- https://forum.doom9.org/showthread.php?p=1711191

Perhaps of interest:-

https://forum.doom9.org/showthread.php?p=1719490
https://forum.doom9.org/showthread.php?p=1749940

This Lagarith Arithmetic encoder problem is later debunked as rubbish by someone well known of the D9 (Cant find it or remember who)
https://forum.doom9.org/showthread.p...40#post1768540

EDIT: Here is the big name, our very own PDR:- https://forum.doom9.org/showthread.p...72#post1812972
__________________
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; 13th August 2018 at 17:08.
StainlessS is offline   Reply With Quote
Old 19th September 2018, 01:05   #609  |  Link
Lynx_TWO
Registered User
 
Join Date: Aug 2005
Posts: 37
Apologies if this has been answered, but I can't find anything on it... Is there a way to run QTGMC multithreaded in Vapoursynth?
Lynx_TWO is offline   Reply With Quote
Old 19th September 2018, 01:16   #610  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,370
Quote:
Originally Posted by Lynx_TWO View Post
Apologies if this has been answered, but I can't find anything on it... Is there a way to run QTGMC multithreaded in Vapoursynth?
Yes, havsfunc

https://forum.doom9.org/showthread.php?t=166582
https://github.com/HomeOfVapourSynthEvolution/havsfunc
poisondeathray is offline   Reply With Quote
Old 19th September 2018, 04:21   #611  |  Link
Lynx_TWO
Registered User
 
Join Date: Aug 2005
Posts: 37
Perfect, thanks!

EDIT: for anyone else wanting to use StaxRip Vapoursynth with sweet multithreaded power, just open the havsfunc.py file in Notepad++ (or Notepad, but the layout will be messy) and replace all instances of
Code:
core = vs.get_core()
with the number of threads. For example, I'm rocking two 10-core Xeon E5-2630v4 CPUs, so in this case it would be
Code:
core = vs.get_core(threads=40)
Can confirm QTGMC works perfectly on this. I set x264 for Very Slow, Threads: 18, Lookahead Threads: 9, Sync Lookahead: 250.

3-4 instances encoding at once maxes out all 40 threads

Last edited by Lynx_TWO; 20th September 2018 at 23:33. Reason: update on settings
Lynx_TWO is offline   Reply With Quote
Old 22nd September 2018, 07:10   #612  |  Link
Forteen88
Herr
 
Join Date: Apr 2009
Location: North Europe
Posts: 556
Quote:
Originally Posted by Lynx_TWO View Post
I set x264 for Very Slow, Threads: 18
More threads in x264 results in worse image-quality.

Last edited by Forteen88; 22nd September 2018 at 07:35.
Forteen88 is offline   Reply With Quote
Old 27th September 2018, 10:14   #613  |  Link
Kurogane
Registered User
 
Join Date: Jul 2011
Posts: 18
I'm trying to use this plugin but i can't get to work.

I've installed this Core QTGMC.

Code:
C:\Program Files (x86)\AviSynth+\plugins64+\masktools2.dll  [2.2.18.0]
C:\Program Files (x86)\AviSynth+\plugins64+\mvtools2.dll  [2.7.31.0]
C:\Program Files (x86)\AviSynth+\plugins64+\nnedi3.dll  [0.9.4.51]
C:\Program Files (x86)\AviSynth+\plugins64+\RgTools.dll  [0.97.0.0]
C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi  [3.358s]
C:\Program Files (x86)\AviSynth+\plugins64+\SMDegrain.avsi  [3.1.2.100s]
When i try to do a simple option as this

Code:
QTGMC(Preset="slower")
Give me this error

Code:
System execption - Illegal Instruction

C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi line 879
C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi line 636
What i do wrong?
Kurogane is offline   Reply With Quote
Old 27th September 2018, 10:35   #614  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by Kurogane View Post
When i try to do a simple option as this

Code:
QTGMC(Preset="slower")
Give me this error

Code:
System execption - Illegal Instruction

C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi line 879
C:\Program Files (x86)\AviSynth+\plugins64+\QTGMC.avsi line 636
What i do wrong?
Problematic line:
Code:
	interp = (InputType == 1)            ? Input : \
	         (EdiMode == "NNEDI3")       ? Input.NNEDI3( field=-2, nsize=NNSize, nns=NNeurons, qual=EdiQual, threads=EdiThreads, U=CEed,V=CEed ) : \
	         (EdiMode == "NNEDI2")       ? Input.NNEDI2( field=-2, nsize=NNeurons, qual=EdiQual, threads=EdiThreads, U=CEed,V=CEed ) : \
	         (EdiMode == "NNEDI")        ? Input.NNEDI( field=-2, U=CEed,V=CEed ) : \
	         (EdiMode == "EEDI3+NNEDI3") ? Input.EEDI3( field=-2, mdis=EdiMaxD, threads=EdiThreads, U=CEed,V=CEed, \
		                                                sclip=Input.NNEDI3( field=-2, nsize=NNSize, nns=NNeurons, qual=EdiQual, threads=EdiThreads, U=CEed,V=CEed ) ) : \
	         (EdiMode == "EEDI3")        ? Input.EEDI3( field=-2, mdis=EdiMaxD, threads=EdiThreads, U=CEed,V=CEed ) : \
	         (EdiMode == "EEDI2")        ? Input.SeparateFields().EEDI2( field=-2, maxd=EdiMaxD ) : \
	         (EdiMode == "Yadif")        ? isyuy2(Input) ? Input.nonyuy2clipin(true).Yadifmod2( mode=3 ).nonyuy2clipout(true) : Input.Yadifmod2( mode=3 ) : \
	         (EdiMode == "cYadif")       ? Input.Yadif( mode=3 ) : \
	         (EdiMode == "TDeint")       ? Input.TDeInt( mode=1 ) : \
	         (EdiMode == "RepYadif")     ? isyuy2(Input) ? Repair( Input.nonyuy2clipin(true).Yadifmod2( mode=3 ), default( Fallback, Input.QTGMC_Bob( 0,0.5 ) ).nonyuy2clipin(true), 2, 0 ).nonyuy2clipout(true) : \
                                                           Input.Yadifmod2( mode=3 ) : \	
	         (EdiMode == "RepcYadif")    ? isyuy2(Input) ? Repair( Input.Yadif( mode=3 ).nonyuy2clipin(true), default( Fallback, Input.QTGMC_Bob( 0,0.5 ) ).nonyuy2clipin(true), 2, 0 ).nonyuy2clipout(true) : \
	         	         	                       Repair( Input.Yadif( mode=3 ), default( Fallback, Input.QTGMC_Bob( 0,0.5 ) ), 2, 0 ) : \
	                                       default( Fallback, Input.QTGMC_Bob( 0,0.5 ) )
Since for "slower" NNEDI3 is used, probably the crash occurs in that module. You'll need to specify your exact processor type for the solution (which I suppose will be a bugfix)
pinterf is offline   Reply With Quote
Old 27th September 2018, 18:36   #615  |  Link
Kurogane
Registered User
 
Join Date: Jul 2011
Posts: 18
Quote:
Originally Posted by pinterf View Post

Since for "slower" NNEDI3 is used, probably the crash occurs in that module. You'll need to specify your exact processor type for the solution (which I suppose will be a bugfix)
But happens in all presets from Very Fast to Placebo.

I've i7-4930K
Kurogane is offline   Reply With Quote
Old 27th September 2018, 20:23   #616  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by Kurogane View Post
But happens in all presets from Very Fast to Placebo.

I've i7-4930K
Which of the nnedi3 DLLs from the package are you using?
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 27th September 2018, 20:53   #617  |  Link
Kurogane
Registered User
 
Join Date: Jul 2011
Posts: 18
Quote:
Originally Posted by groucho2004 View Post
which of the nnedi3 dlls from the package are you using?
w7 avx2
Kurogane is offline   Reply With Quote
Old 27th September 2018, 20:57   #618  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
And does your CPU support AVX2 at all? Which CPU do you have exactly?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 27th September 2018, 21:03   #619  |  Link
Kurogane
Registered User
 
Join Date: Jul 2011
Posts: 18
Quote:
Originally Posted by Kurogane View Post
w7 avx2
Oh i thought my processor support AVX2 when search again i saw its was AVX, My bad.
Kurogane is offline   Reply With Quote
Old 20th October 2018, 12:56   #620  |  Link
DeafYakuza
Registered User
 
Join Date: Mar 2016
Posts: 34
This is my first question that I'm asking.

I have some problems with QTGMC V3.34 with Avisynth 2.6.
Can someone maybe help me what it means?

Code:
TemporalSoften: Scenechange not available on RGB32
(QTGMC.avsi. line 413)
I installed that as following like here: https://forum.doom9.org/showthread.php?t=156028

But the problem didn't be solved.
What I want to do with that. I want deintalace a video. It's an avi (UT Video Codec).

Quote:
SetMemoryMax(512)
AVISource("myvideo.avi")
QTGMC(Preset="Slower", SourceMatch=3, Lossless=2, EdiThreads=1)
SelectEven()

I am grateful for your support.
DeafYakuza 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 05:01.


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