View Full Version : DVD Problem
ErtugrulBEKTIK
12th July 2017, 20:26
https://www.youtube.com/watch?v=ASpbXoHajFo
How can I fix this problem with avisynth or something else. Please help.
GMJCZP
12th July 2017, 21:45
Welcome to the forum.
Your problem is called aliasing. To solve it you must use an antialiasing.
Enter this link and find one that best suits your case. Here (http://avisynth.nl/index.php/Category:Anti-aliasing).
LemMotlow
12th July 2017, 21:51
You might have to wait around for someone willing to work on a re-encoded YouTube video. If you can't post a piece of the unaltered original to a sharing site, you'll get only very general answers.
ErtugrulBEKTIK
12th July 2017, 23:33
Welcome to the forum.
Your problem is called aliasing. To solve it you must use an antialiasing.
Enter this link and find one that best suits your case. Here (http://avisynth.nl/index.php/Category:Anti-aliasing).
Thank you so much for quick reply. Using the plugin I need to run Fturn in X64. But I couldn't :(
GMJCZP
13th July 2017, 00:33
Tell me, which antialiasing did you choose?
ErtugrulBEKTIK
13th July 2017, 12:34
function maa2(clip c, int "mask", bool "chroma", float "ss", int "aa", int "aac", int "threads", int "show")
{
chroma = Default(chroma, false)
mask = Default(mask, 1)
mtresh = (mask < 0) ? -mask : 7
show = Default(show, 0)
uv = (chroma) ? 3 : 1
Assert(c.IsY8 || c.IsYV12 || c.IsYV24, "MAA2: Input must be Y8, YV12 or YV24")
Assert(0 <= show <= 2, "MAA2: Parameter 'show' must be between 0 and 2")
m = (mask != 0) ? c.mt_edge("sobel", mtresh, mtresh, mtresh-6, mtresh-6, u=uv, v=uv).mt_inflate(u=uv, v=uv) : nop()
c_aa = (chroma && show == 0) ? c.Sangnom2AA(ss, aa, aac, threads) : c.ConvertToY8().Sangnom2AA(ss, aa, threads=threads)
c_aa = (show == 1) ? (c.IsY8) ? c_aa.ConvertToYV12().mt_lut(y=2, u=0, v=0)
\ : c.mt_lut("x 2 /", y=2, u=3, v=3)
\ : (show == 2) ? (c.IsY8) ? c_aa.ConvertToYV12().mt_lut(y=2, u=0, v=0)
\ : YtoUV(c.UtoY8(), c.VtoY8(), c_aa).mt_lut("x 2 /", y=2, u=3, v=3)
\ : c_aa
return (mask != 0) ? (show > 0) ? (c.IsYV24) ? mt_merge(c, c_aa, m.YtoUV(m,m), u=3, v=3)
\ : mt_merge(c.ConvertToYV12(), c_aa, m, u=3, v=3, luma=true)
\ : (chroma) ? mt_merge(c, c_aa, m, u=3, v=3)
\ : mt_merge(c, c_aa, m, u=2, v=2)
\ : c.mt_logic(c_aa,"and", y=4, u=2, v=2)
}
GMJCZP
13th July 2017, 12:49
First of all, this version of maa2 does not seem to need fturn, so I do not understand why you want to have it.
Secondly, this version of maa2 does use it:
function maa2(clip c, int "mask", bool "chroma", float "ss", int "aa", int "aac", int "threads", int "show")
{
chroma = Default(chroma, false)
mask = Default(mask, 1)
mtresh = (mask < 0) ? -mask : 7
show = Default(show, 0)
uv = (chroma) ? 3 : 1
Assert(c.IsY8 || c.IsYV12 || c.IsYV24, "MAA2: Input must be Y8, YV12 or YV24")
Assert(0 <= show <= 2, "MAA2: Parameter 'show' must be between 0 and 2")
m = (mask != 0) ? c.mt_edge("sobel", mtresh, mtresh, mtresh-6, mtresh-6, u=uv, v=uv).mt_inflate(u=uv, v=uv) : nop()
c_aa = (chroma && show == 0) ? c.Sangnom2AA(ss, aa, aac, threads) : c.ConvertToY8().Sangnom2AA(ss, aa, threads=threads)
c_aa = (show == 1) ? (c.IsY8) ? c_aa.ConvertToYV12().mt_lut(y=2, u=0, v=0)
\ : c.mt_lut("x 2 /", y=2, u=3, v=3)
\ : (show == 2) ? (c.IsY8) ? c_aa.ConvertToYV12().mt_lut(y=2, u=0, v=0)
\ : YtoUV(c.UtoY8(), c.VtoY8(), c_aa).mt_lut("x 2 /", y=2, u=3, v=3)
\ : c_aa
return (mask != 0) ? (show > 0) ? (c.IsYV24) ? mt_merge(c, c_aa, m.YtoUV(m,m), u=3, v=3)
\ : mt_merge(c.ConvertToYV12(), c_aa, m, u=3, v=3, luma=true)
\ : (chroma) ? mt_merge(c, c_aa, m, u=3, v=3)
\ : mt_merge(c, c_aa, m, u=2, v=2)
\ : c.mt_logic(c_aa,"and", y=4, u=2, v=2)
}
function Sangnom2AA(clip c, float "ss", int "aa", int "aac", int "threads")
{
threads = Default(threads, 4)
aa = Default(aa, 48)
aac = Default(aac, aa-8)
aac = (aac < 0) ? 0 : aac
ss = Default(ss, 2.0)
ss_w = int(round(c.width*ss/4.0)*4)
ss_h = int(round(c.height*ss/4.0)*4)
Assert(ss > 0, "MAA2: Supersampling factor must be > 0")
return c.Spline36Resize(ss_w, ss_h).FTurnLeft() \
.SangNom2(threads=threads, aa=aa, aac=aac).FTurnRight().SangNom2(threads=threads, aa=aa, aac=aac).Spline36Resize(c.width, c.height)
}
One solution is to replace the calls to Fturn like this:
Fturn180 => Turn180
Fturnleft => TurnLeft
Fturnright => TurnRight
In conclusion, the version of maa2 that you put it would use it as it is, then, I repeat, does not seem to call Fturn.
Edit: I understand, it's Sangnom2AA who calls fturn, you just have to make the changes I suggest. The confusion is because you did not publish it.
Edit2: My question may sound silly but, does Fturn not work in 64 bits?
ErtugrulBEKTIK
13th July 2017, 13:53
Thank you so much. I just sent the part of the Avsi file that has the maa2 function.
It fixed when I changed them.
Fturnleft => TurnLeft
Fturnright => TurnRight
But now I don't render this video. MEGUI don't work with Avisynth+. I using Avisynth+ because nnedi3 function doesn't work on Avisynth 2.6. nnedi3 function require for anti-aliasing. My OS: Win7 x64
lansing
13th July 2017, 15:28
Did you actually do a correct ivtc instead of deinterlacing?
real.finder
13th July 2017, 15:59
this maa2 can work in both cases https://forum.doom9.org/showpost.php?p=1725500&postcount=69
GMJCZP
13th July 2017, 16:17
Did you actually do a correct ivtc instead of deinterlacing?
Good question.
It would be better to have access to the source file for analysis.
StainlessS
13th July 2017, 19:21
If you can't post a piece of the unaltered original to a sharing site, you'll get only very general answers.
It would be better to have access to the source file for analysis.
Ditto.
In DGIndex, mark a section of clip using '[' and ']' buttons (~30 secs with some movement) Select menu item 'Save Project and Demux Video'. (supply only m2v file).
ErtugrulBEKTIK
13th July 2017, 20:05
Sorry friends. I'm new in this forum.
this maa2 can work in both cases https://forum.doom9.org/showpost.php?p=1725500&postcount=69
Not only that, not many plugins work on x64. For example masktools etc.
Did you actually do a correct ivtc instead of deinterlacing?
I solve ailasing problem with daa, maa2 and santiag plugins. But I couldn't save it as a video. I need use Avisynth+ with MEGUI (If there is any other you know.)
It would be better to have access to the source file for analysis.
Original video is here (http://www.mediafire.com/file/qzdd3cjb33jk7q7/Bakuten_Shoot_Beyblade_2002_01_-_A_New_Rival_%28640x480_H264_MP4_AAC%29.mp4)
Edit:
In DGIndex, mark a section of clip using '[' and ']' buttons (~30 secs with some movement) Select menu item 'Save Project and Demux Video'. (supply only m2v file).
My video is mp4 file. Sorry for title. I did not know what to say. I think the problem is from the DVD. The video already ripped from dvd. And I do not have DVDs.
GMJCZP
14th July 2017, 02:47
I checked the file and what I suspect is that it already had 3:2 pulldown and instead of doing IVTC it encoded directly.
Now, since the damage is done the best thing you could do is employ AnimeIVTC: Here (http://avisynth.nl/index.php/AnimeIVTC)
When you have ready all the requirements you are going to put the following, which IMO seems the best:
LWLibavVideoSource("Source.mp4",fpsnum=30000,fpsden=1001)
AnimeIVTC (2, bbob = 4)
And now you are going to use an antialiasing (AnimeIVTC has some but I think it is better to use an external one). Since aliasing has apparently been dampened, you will not necessarily use the one you have already chosen, you will have to revisit the existing alternatives. For example, a good frame to watch carefully is 4741 (after of IVTC, of course). Look at the edge of the tables on the left.
If someone has a better idea would be good to share it.
lansing
14th July 2017, 03:13
Well this looks obvious a rule 6 violation
manono
14th July 2017, 08:44
Well this looks obvious a rule 6 violation
I'm inclined to agree. Thread closed.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.