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 Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th June 2020, 15:35   #1421  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,417
@kedautinh12: "clip c" may implicitly be "last" after a source filter; but the explicit pattern will be mandatory.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 11th June 2020, 16:16   #1422  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,899
And finally after many months of reverse engineering, de-copypasting, refactoring and feature adding:

Download TIVTC 1.0.19 and TDeint 1.6 suite, supporting full 8-16 bits and all planar formats (and YUY2)

That was probably my hardest project so far.

I hope not much bugs will be reported but since it was a huge reconstruction there will surely be some of them.

Enjoy.

Probably there will be at least one more update later with more SIMD accelerated stuff for 10+ bits (not to mention the bugfixes)
pinterf is online now   Reply With Quote
Old 11th June 2020, 16:34   #1423  |  Link
Myrsloik
Professional Code Monkey
 
Myrsloik's Avatar
 
Join Date: Jun 2003
Location: Ikea Chair
Posts: 2,283
Quote:
Originally Posted by pinterf View Post
And finally after many months of reverse engineering, de-copypasting, refactoring and feature adding:

Download TIVTC 1.0.19 and TDeint 1.6 suite, supporting full 8-16 bits and all planar formats (and YUY2)

That was probably my hardest project so far.

I hope not much bugs will be reported but since it was a huge reconstruction there will surely be some of them.

Enjoy.

Probably there will be at least one more update later with more SIMD accelerated stuff for 10+ bits (not to mention the bugfixes)
Just one question:

Why did you do it?
__________________
VapourSynth - proving that scripting languages and video processing isn't dead yet
Myrsloik is offline   Reply With Quote
Old 11th June 2020, 17:20   #1424  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,899
A sort of entertainment. Instead of solving crossword puzzles.
pinterf is online now   Reply With Quote
Old 11th June 2020, 17:38   #1425  |  Link
real.finder
Registered User
 
Join Date: Jan 2012
Location: Mesopotamia
Posts: 2,215
Quote:
Originally Posted by pinterf View Post
And finally after many months of reverse engineering, de-copypasting, refactoring and feature adding:

Download TIVTC 1.0.19 and TDeint 1.6 suite, supporting full 8-16 bits and all planar formats (and YUY2)

That was probably my hardest project so far.

I hope not much bugs will be reported but since it was a huge reconstruction there will surely be some of them.

Enjoy.

Probably there will be at least one more update later with more SIMD accelerated stuff for 10+ bits (not to mention the bugfixes)
thanks for the update
__________________
See My Avisynth Stuff
real.finder is offline   Reply With Quote
Old 11th June 2020, 23:25   #1426  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,468
Quote:
Originally Posted by pinterf View Post
And finally after many months of reverse engineering, de-copypasting, refactoring and feature adding:

Download TIVTC 1.0.19 and TDeint 1.6 suite, supporting full 8-16 bits and all planar formats (and YUY2)

That was probably my hardest project so far.

I hope not much bugs will be reported but since it was a huge reconstruction there will surely be some of them.

Enjoy.

Probably there will be at least one more update later with more SIMD accelerated stuff for 10+ bits (not to mention the bugfixes)
10bit tdeint is definitely useful for Panasonic P2 since they're based on AVC-Intra Class which is essentially is H.264 10bit interlaced, so it's indeed something nice to have.
I haven't found anything interlaced higher than 10bit planar, but still since you made it 16bit compatible I'll just say that it's just good to have.

Quote:
Originally Posted by pinterf View Post
A sort of entertainment. Instead of solving crossword puzzles.
Please never turn to crossword puzzles, we need your dedication to this other kind of "entertainment" xD

Jokes aside, thank you.
FranceBB is online now   Reply With Quote
Old 12th June 2020, 07:40   #1427  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,417
Cheers to the dedicated restless...

__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 13th June 2020, 07:57   #1428  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 437
Quote:
Originally Posted by LigH View Post
@kedautinh12: "clip c" may implicitly be "last" after a source filter; but the explicit pattern will be mandatory.
Thanks, it's work but didn't fixed my problem
kedautinh12 is offline   Reply With Quote
Old 14th June 2020, 15:49   #1429  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,417
Then - how does your script look now, and which error appears now?

Code:
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() -- invalid arguments to function 'JIVTC' -- pattern is missing

# you have to try one of the following:
JIVTC(0)
# JIVTC(1)
# JIVTC(2)
# JIVTC(3)
# JIVTC(4)
__________________

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

Last edited by LigH; 14th June 2020 at 15:52.
LigH is offline   Reply With Quote
Old 14th June 2020, 21:27   #1430  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 437
Quote:
Originally Posted by LigH View Post
Then - how does your script look now, and which error appears now?

Code:
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() -- invalid arguments to function 'JIVTC' -- pattern is missing

# you have to try one of the following:
JIVTC(0)
# JIVTC(1)
# JIVTC(2)
# JIVTC(3)
# JIVTC(4)
I already know but i try from 0 to 5 and my problem in video didn't fixed with JIVTC

Last edited by kedautinh12; 15th June 2020 at 04:25.
kedautinh12 is offline   Reply With Quote
Old 15th June 2020, 10:17   #1431  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,417
So, what exactly is the problem? Is there an error message instead of a filtered video? Or is just the result of the filtering not satisfying?
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 15th June 2020, 12:33   #1432  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 9,243
kedautinh12
That cannot be your full script, where do you get your clip from ?, post your FULL script as asked already by LigH,
and also answer LigH questions in prev post.
__________________
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 June 2020, 05:48   #1433  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 437
Quote:
Originally Posted by LigH View Post
So, what exactly is the problem? Is there an error message instead of a filtered video? Or is just the result of the filtering not satisfying?
The result of the filtering not satisfying

My full scripts:
FFVideoSource("D:\RADWIMPS - Daijoubu [1440x1080i MPEG2 M-ON! HD].ts", fpsnum=30000, fpsden=1001, threads=1, colorspace="YUV420P8")
tfm().JIVTC(5)

Result have many artifact, my example in frame 2544:
https://drive.google.com/open?id=1Ie...xYoZCrR3pIfIzG
kedautinh12 is offline   Reply With Quote
Old 17th June 2020, 07:06   #1434  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,417
Quote:
Originally Posted by kedautinh12 View Post
I got clip from private torrent page ...
In this case, your answer may be in chapter #6 of this document.
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 27th June 2020, 00:26   #1435  |  Link
colinhunt
Registered User
 
Join Date: Dec 2002
Posts: 1,022
Gents, I need help with TFM/TDecimate. I ripped a Japanese music video from Blu-ray for deinterlacing and ivtc'ing from 29.97 to 23.976, but it refuses to co-operate and driving me bonkers. I'm seeing duplicate frames mostly around scene changes, before or after, and nothing I try gets rid of the duplicates. I'm using
Staxrip as the front-end. Mediainfo reports source .m2ts as 29.970 fps MBAFF & TFF.

So far I've tried, in addition to defaults, various combinations of TFM and TDecimate modes, some of TFM's PP modes, TFM set to slowest/best accuracy, outputting metrics into an external file during 1st pass and reading it in pass 2 (both TFM and TDecimate), both short and long cycle/cycleR values on TDecimate, sceneThresh settings both small & large, noise threshold of 0 and 1 for metrics calculations, blockx and blocky values of 4 and 8, hints enabled & disabled, and maxndl values between 4-6.

I'm pretty much tearing my hair out here so any advice/tips are very much welcome.
colinhunt is offline   Reply With Quote
Old 27th June 2020, 01:56   #1436  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Metropolitan City of Milan, Italy
Posts: 1,468
Quote:
Originally Posted by colinhunt View Post
Gents, I need help with TFM/TDecimate. I ripped a Japanese music video from Blu-ray for deinterlacing and ivtc'ing from 29.97 to 23.976, but it refuses to co-operate and driving me bonkers. I'm seeing duplicate frames mostly around scene changes, before or after, and nothing I try gets rid of the duplicates. I'm using
Staxrip as the front-end. Mediainfo reports source .m2ts as 29.970 fps MBAFF & TFF.

So far I've tried, in addition to defaults, various combinations of TFM and TDecimate modes, some of TFM's PP modes, TFM set to slowest/best accuracy, outputting metrics into an external file during 1st pass and reading it in pass 2 (both TFM and TDecimate), both short and long cycle/cycleR values on TDecimate, sceneThresh settings both small & large, noise threshold of 0 and 1 for metrics calculations, blockx and blocky values of 4 and 8, hints enabled & disabled, and maxndl values between 4-6.

I'm pretty much tearing my hair out here so any advice/tips are very much welcome.
A sample would be welcomed.

In the meantime, can you try with:

tfm(mode=1,pp=5,slow=2,micmatching=2,clip2=tdeint(mode=2,type=3))
tdecimate()

and let me know? That's what I use whenever I find something telecined.
FranceBB is online now   Reply With Quote
Old 27th June 2020, 07:54   #1437  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 1,899
Meanwhile a v20 was released with a hotfix addressing a crash in v19 when PP=1 and display=true
pinterf is online now   Reply With Quote
Old 27th June 2020, 11:36   #1438  |  Link
colinhunt
Registered User
 
Join Date: Dec 2002
Posts: 1,022
Quote:
Originally Posted by FranceBB View Post
and let me know? That's what I use whenever I find something telecined.
Thank you for replying, I appreciate it!

I tested your config, and while I saw less duplicates, some still lingered. I also saw blended frames which didn't happen in my previous experiments.

Here's a 45 second clip from the start of the video, cut with ffmpeg -c copy and output to .m2ts to match the original: https://drive.google.com/file/d/1sTo...ew?usp=sharing

There's a scene change at 00:22.109 or thereabouts which seems like a very tricky bit; there's always a duplicate frame either right before the cut or immediately after. Previous cut, at approx 00:20.941, comes also out with a duplicate frame before or after, most of the time. That's where your config created a blended frame at, btw.

It also occurred to me that perhaps this video was actually shot in 29.97 fps instead of 23.98, but looking at the clip frame-by-frame in its original interlaced form, for example the hand movement starting at 00:22.843, makes it seem like the original frame rate wasn't 29.97. I could be mistaken, of course.

Last edited by colinhunt; 27th June 2020 at 11:40.
colinhunt is offline   Reply With Quote
Old 27th June 2020, 11:49   #1439  |  Link
colinhunt
Registered User
 
Join Date: Dec 2002
Posts: 1,022
Quote:
Originally Posted by pinterf View Post
Meanwhile a v20 was released with a hotfix addressing a crash in v19 when PP=1 and display=true
I can't even begin to tell you how much I appreciate your continuing contributions. Keep up the great work!
colinhunt is offline   Reply With Quote
Old 27th June 2020, 13:48   #1440  |  Link
kedautinh12
Registered User
 
Join Date: Jan 2018
Posts: 437
Quote:
Originally Posted by colinhunt View Post

snsd?
kedautinh12 is offline   Reply With Quote
Reply

Tags
tdeint, tivtc

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 17:03.


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