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 25th October 2018, 22:06   #641  |  Link
Cary Knoop
Cary Knoop
 
Cary Knoop's Avatar
 
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 397
Quote:
Originally Posted by LigH View Post
Why I think it's nonsense to have FullHD Telecine ... why would anyone produce that? I see no reason with modern TV sets which can easily adapt to many frame rates, and versatile consumer media supporting a variety. But if you say they exist, well ... then this is a fact I have to accept.
Good luck in sending a 1080p24 master for broadcast. They will likely tell you to telecine it first.

Also, some (older) cameras produce 1080PsF output which is telecined as well.

Last edited by Cary Knoop; 25th October 2018 at 22:11.
Cary Knoop is offline   Reply With Quote
Old 25th October 2018, 23:59   #642  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
And the HEVC specs wanted to get rid of an interlaced mode ... sigh ... and x265 supports it again. Conservativism demands compatibility.

Well, it's not the fault of QTGMC. I'd agree to close this detour.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th October 2018, 00:10   #643  |  Link
DeafYakuza
Registered User
 
Join Date: Mar 2016
Posts: 34
Thank you for many tips. But after the conversion I'm not satisfied with the output quality (mp4 AVC 1080p). There are to much pixels on screen than the original capturing (used via VLC by inverse telecine (film NTSC (IVTC)).

Look here:

https://mega.nz/#!92AnCSIL!-zJXEFEGV...M_M2YWxK9Sdyeo


Code:
LoadPlugin("C:\Windows\System32\TIVTC.dll")
AVISource("Source_my_Video.avi", audio=true)
AssumeTFF()
AssumeFPS(30000,1001)
ConvertToYV12(interlaced=true)
TFM()
TDecimate()
BilinearResize(1920,1080)

Does someone know which methods/functions should I to use to get the best quality for deinterlace?

Last edited by DeafYakuza; 26th October 2018 at 00:13.
DeafYakuza is offline   Reply With Quote
Old 26th October 2018, 00:16   #644  |  Link
DeafYakuza
Registered User
 
Join Date: Mar 2016
Posts: 34
Quote:
Originally Posted by poisondeathray View Post
If this is film content, it should be AssumeFPS(30000,1001) if it comes before TIVTC . That will result in 23.976 fps after TIVTC .

If you assume 24000/1001 before, you will end up with 19.something fps
You are right, I tried it to use assume 24000/1001 before and it was 18...fps. Now it's correct but the quality is not good.
DeafYakuza is offline   Reply With Quote
Old 26th October 2018, 01:52   #645  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Your screen has always pixels, and I hope it has a lot of them. Pixels are the hardware display units, not image artifacts. What you are complaining about, according to your linked image (you should have used an "image hoster" which allows to link the image, like frupic, tinypic, ingur, ... instead of mega) is a loss of resolution, but the reason is hard to know with one single partial screenshot. We would need a short video (best with some side panning) to analyze.

Oh, look, I wanted to put it on frupic, but it's already there...



If you look closely into the left part you will notice it's still combed. Whatever happened, IVTC in VLC did not fix it. And ffmpeg never appears in this workflow. In AviSynth it's TIVTC as well.

By the way, the TIVTC.dll does not belong into your Windows system directory (because Windows would not use it ever). It may be placed into your AviSynth plugins directory instead.
__________________

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

Last edited by LigH; 26th October 2018 at 01:57.
LigH is offline   Reply With Quote
Old 26th October 2018, 01:58   #646  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,371
Quote:
Originally Posted by DeafYakuza View Post
You are right, I tried it to use assume 24000/1001 before and it was 18...fps. Now it's correct but the quality is not good.
Maybe you should post a sample of the source

If it's really 3-2-3-2 ; this imples 3:2 pulldown and you should not deinterlace . Or clarify what you you mean by "it's templated by 3-2-3-2"
poisondeathray is offline   Reply With Quote
Old 26th October 2018, 06:17   #647  |  Link
VoodooFX
Banana User
 
VoodooFX's Avatar
 
Join Date: Sep 2008
Posts: 989
Quote:
Originally Posted by DeafYakuza View Post
Alright... It looks this method should be correct, right?
Install Avidemux, drag & drop your video in Avidemux, search for a scene with movement, cut 10 seconds of that scene (mark start/end points with "A" & "B" buttons and save it), upload it to mega, post link here.
VoodooFX is offline   Reply With Quote
Old 26th October 2018, 09:48   #648  |  Link
DeafYakuza
Registered User
 
Join Date: Mar 2016
Posts: 34
Ligh, okay, next time I will put the images to frupic - thanks!

Yeah, the file of TIVTC.dll was copied in Windows System32 and I changed it into avisynth plugin and it doesn't changed on quality.
Maybe I programed something wrong in the AvsPmod.


poison,

Code:
# Analyse-Script to watch for the field to field
AVISource("my_video.avi")
AssumeTFF()
Bob()

Here is a link to check the info of videosample:

Sample

Last edited by DeafYakuza; 26th October 2018 at 09:50.
DeafYakuza is offline   Reply With Quote
Old 26th October 2018, 10:19   #649  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,779
Oooh ...

Actually, I do not really understand what's happening here. When I check the field pattern with Bob(), the result looks like it has been composed of badly upscaled SD resolution. And for some reason, TIVTC looks just the same, as if it returns only one of both fields.



Moderators: This discussion should be separated from the QTGMC thread.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 26th October 2018, 12:27   #650  |  Link
DeafYakuza
Registered User
 
Join Date: Mar 2016
Posts: 34
We can post here further: https://forum.doom9.org/showthread.p...75#post1856075
DeafYakuza is offline   Reply With Quote
Old 27th October 2018, 18:43   #651  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
My QTGMC was not working correctly (it was giving a wobbly image), so I decided to update everything.

Currently, a simple

MPEG2Source("file.d2v", cpu=0)
QTGMC()

gives me a "there is no function named "msuper"". But I do have (the latest version of) mvtools2.dll in my plugins folder. What's going on?
bruno321 is offline   Reply With Quote
Old 27th October 2018, 19:33   #652  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by bruno321 View Post
My QTGMC was not working correctly (it was giving a wobbly image), so I decided to update everything.

Currently, a simple

MPEG2Source("file.d2v", cpu=0)
QTGMC()

gives me a "there is no function named "msuper"". But I do have (the latest version of) mvtools2.dll in my plugins folder. What's going on?
Download AVSMeter from my sig, run "avsmeter avsinfo -log" and post the log file. Use pastebin or similar to post the log.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 27th October 2018 at 20:12.
Groucho2004 is offline   Reply With Quote
Old 27th October 2018, 20:05   #653  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
Here's what it says:

bruno321 is offline   Reply With Quote
Old 27th October 2018, 20:09   #654  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by bruno321 View Post
Here's what it says:

Update Avisynth -> https://github.com/pinterf/AviSynthPlus/releases
__________________
Groucho's Avisynth Stuff
Groucho2004 is offline   Reply With Quote
Old 27th October 2018, 20:12   #655  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
Oh. I thought that the one available at https://sourceforge.net/projects/avisynth2/ was the latest one. The message the utility gives is a bit funny, seeing as the version installed is 2.6 and it tells me to upgrade to 2.6

Will try installing that one in a couple of days -- now I'm in the middle of an encode (which doesn't use QTGMC :P). Thanks for the advice.
bruno321 is offline   Reply With Quote
Old 27th October 2018, 20:16   #656  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
Quote:
Originally Posted by bruno321 View Post
Oh. I thought that the one available at https://sourceforge.net/projects/avisynth2/ was the latest one. The message the utility gives is a bit funny, seeing as the version installed is 2.6 and it tells me to upgrade to 2.6
2.6.0.2 was a beta (or alpha, not sure) that did not even support interface version 6. The 2.6 release is 2.6.0.6. However, I'll update that error message to be more specific.
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 27th October 2018 at 20:18.
Groucho2004 is offline   Reply With Quote
Old 27th October 2018, 23:55   #657  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
There was no beta series, was

2.6.0.2 Alpha 3, (25 May 2011)
2.6.0.3 Alpha 4, (14 Jan 2013)
2.6.0.4 Alpha 5, (18 Sept 2013)
2.6.0.5 RC1, (14 Jan 2015)
2.6.0.6 RC2, (31 Mar 2015)
2.6.0.6 RC3, (19 Apr 2015)
2.6.0.6 FINAL (31 May 2015)
---
2.6.1 Alpha 1, (17 May 2017)

Think Version 6 Header (AvisynthPluginInit3) came in with Alpha 4.
__________________
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; 28th October 2018 at 00:34.
StainlessS is offline   Reply With Quote
Old 28th October 2018, 18:47   #658  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
OK, avisynth updated. Here's the log from AVSMeter:

https://pastebin.com/2hqZYevT

EDIT: OK, I should add that now QTGMC -is- working, but in the same faulty way as described here: https://forum.videohelp.com/threads/...after-srestore

EDIT2: Got it!! It was the bloody mt-masktools-26 which was preventing the newer masktools2.dll from loading.

Thanks for the help & thanks for AVSMeter! It really helped.

Last edited by bruno321; 28th October 2018 at 19:27.
bruno321 is offline   Reply With Quote
Old 28th October 2018, 19:55   #659  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by bruno321 View Post
OK, avisynth updated. Here's the log from AVSMeter:

https://pastebin.com/2hqZYevT

EDIT: OK, I should add that now QTGMC -is- working, but in the same faulty way as described here: https://forum.videohelp.com/threads/...after-srestore
The AVSMeter log shows you have two versions of MaskTools2 (mt_masktools-26.dll) and an old version of SMDegrain.

You probably should remove any Avisynth 2.5 plugins beginning with "R" (you have multiple version of each anyway) and replace them with RGTools. There's an up to date requirements list here.

Did you use the XP specific versions of MaskTools2 and MVTools2?

You probably don't need SSE2Tools.dll anymore (and you have multiple versions).

The log file clearly shows you're missing dependencies for some of the plugins. As you update them, check the required dependencies, They'll either be listed on the plugin's wiki or specified in the readme file included in the download, or something similar.

msvcr71.dll and FFTW3.dll belong in the system32 folder. You should also have libfftw3f-3.dll in there (same file as FFTW3.dll, but some plugins expect different names).

I also spotted a couple of outdated plugins. There's newer versions of Average and nneid3.

I tried your sample from the VideoHelp thread and it's fine for me simply using the following. I'm running XP (QTGMC 3.358s).

QTGMC()
SRestore()

Last edited by hello_hello; 28th October 2018 at 20:03.
hello_hello is offline   Reply With Quote
Old 28th October 2018, 20:10   #660  |  Link
bruno321
Registered User
 
Join Date: Oct 2018
Posts: 133
Thanks for the tips -- as you were writing your reply, I updated my post above to show that I solved it. Nonetheless, what you write is useful. I have updated SMDegrain and replaced the R plugins with RGTools, will look at Average and nnedi3.

So I'm guessing that the plugins marked in yellow are those whose dependencies are not fully met? If everything is working OK for me now, would I gain something by meeting them?
bruno321 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 22:26.


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