Aliasing lines

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Thu Mar 24, 2016 2:02 am

Nevermind, I managed to make it work. Thank you for all your time, what other tweaks should I add into these episodes? I added in DAA twice, should I do anything else to make it more better? Also, I was thinking that doing this process with each episode might be too long (If it re-renders the entire episode with the tweaks), would it be possible to do these tweaks onto the AMV instead of the episodes? Would you recommend me doing that? Adding all the DAAs', etc onto the final AMV.
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Location: Christiansburg, VA
Contact:
Org Profile

Re: Aliasing lines

Post by l33tmeatwad » Thu Mar 24, 2016 8:13 am

It's possible to do the tweaks in post production, I have done that a few times if it requires a filter that would take a long time to run on full episodes. Since these look as if they have been recompressed, if it looks like they might have any banding you could run flash3kyuu_deband() to fix that with dithering it a little. It's really just about seeing what you need and trying stuff to make it look better, so look at the guides for filter ideas and just try them out.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Twitter | YouTube

User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Thu Mar 24, 2016 8:59 am

Alright so I just rendered a test file on Vegas to see if I can open it on AviSynth, used AVI to render my test video in and this is the problem AviSynth gave me "mt_average : unsupported colorspace. masktools only support planar YUV colorspaces (YV12, YV16, YV24)" and then plugins won't load either. Do I have to render my AMVs in some other specifications? I always use the same render settings as I used to render this test file, if this won't load up on AviSynth (By the way I'm currently using AviSynth+ which has it's own preview option), so won't the actual AMV either. I'm rendering my videos at --Audio: 48,000 Hz, 16 Bit, Stereo, PCM
Video: 29.970 fps, 1920x1080 Progressive, YUV
Pixel Aspect Ratio: 1.000--

Perhaps, do I need to change my "Video format" from Sony YUV Codec?
Here's an image of all the options I can choose from.
Image
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Location: Christiansburg, VA
Contact:
Org Profile

Re: Aliasing lines

Post by l33tmeatwad » Thu Mar 24, 2016 9:36 am

I recommend using Ut or Lagarith and converting to YV12 in AviSynth. Export to RGB and just add "ConvertToYV12()" after the video import before the filters in your script.

Side note: I forgot to mention this before, if you decide to filter AFTER editing, you won't be able to crop/zoom at all if you want to filter out the combing artifacts, so take that into consideration.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Twitter | YouTube

User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Fri Mar 25, 2016 9:32 pm

Alright, so I was able to open up the rendered AVI file onto AviSynth by rendering it into Lagarith,
I was not quite happy with the result I saw after putting in the scripting on AviSynth, after using the rendered video in Sony Vegas, however when I apply these same effects onto the episodes itself, it looks much more effective and looks much more clearer. The scripting I used were

Code: Select all

DirectShowSource("videosource.fileformat")
DAA()
DAA()
aWarpSharp2(depth=20)
FastLineDarkenMod()
I'll give some comparison pictures below.
This image is from the episode itself, without any use of AviSynth, you can easily notice a lot of artifacts and jaggy lines.
Image
Then there's this image from the episode, after I used the exact codings' above, it looks much more clearer and I am super happy with this sort of cleaning of the footage.
Image
But when I rendered the same clip onto Sony Vegas and tried working around with it, I didn't see much big of a difference after putting in all the codings', I'll provide some images for that too.
Here's the image without any use of AviSynth, you can notice the edgy lines like in the first image but this time this is the AVI file on lagarith I rendered in Vegas (And will be using to render my AMVs as well)
Image
Now here's the image at the bottom with all the codings, as you can tell it doesn't look as well maintained as the second image, I can still notice a few jaggy lines on the mouth area; can you please help me with that? After this I am sure that I'll be all ready to do my video editings and use AviSynth to clean the post-production footages
Image
Could it be because I didn't convert my video to YV12 in AviSynth? I didn't put in this script "ConvertToYV12()" because it opened up perfectly on AviSynth. Maybe I'm supposed to change my settings even more, in Vegas, or perhaps should I use Ut instead of Lagarith? Thank you for your time :)
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Location: Christiansburg, VA
Contact:
Org Profile

Re: Aliasing lines

Post by l33tmeatwad » Fri Mar 25, 2016 9:36 pm

Is the last image the export after editing with the cleaned footage (second image)?
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Twitter | YouTube

User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Fri Mar 25, 2016 10:50 pm

No, I didn't clean the episode up, I used the same episodes as it is (recontained) in Sony Vegas and rendered it in AVI.
After putting in these codings, I didn't notice a huge difference of quality improvement as I noticed while just using the MKV episodes in AviSynth. So for example I render out my AMV using Sony Vegas, now I want to clean it up using these same codings, it'd look similar to the one in the last image, because I didn't re-render the episodes after cleaning them up on VirtualDub, that'd take a lot of time with over 50 episodes.

So basically what I meant to say is that I did experimenting with two sources, one is the original MKV (Which is the episode itself), I cleaned it up using the codes and it looks perfect in AviSynth, but then on the other hand I rendered the MP4 (recontained source, which is also lossless) in AVI which would be my primary render option for AMV making and tried using these codes onto that, and it doesn't look as clearer as it did on the episode itself which is MKV format.

My guess is that maybe I have to change some more rendering settings around in Sony Vegas?
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Fri Mar 25, 2016 11:02 pm

Lol maybe I sound too confusing, the first two set of images are non-rendered episodes in MKV container which I opened on AviSynth+, then as I was watching the preview I snapped a photo with and without the codings and with the coding it looks far more better, then the last two set of images are the video clips which I rendered in Vegas in AVI. (Because I won't be able to re-render each and every episode using VirtualDub, so my plan is to use the codes after I'm done with my AMV and done with rendering it on Vegas, then I'd open it up on AviSynth and put in these codes) Suppose that the last two pictures are from my AMV that I fully edited and now I want to clean it up using AviSynth, it won't look as clear as the episodes itself do, which would be a huge disadvantage in both ways, because now not only does my AMV look unclear, but one of the ways to actually fix this issue would be by re-rendering each and every episode with these same codings and then re-do the entire editing process. I really hope that is not the case though, I hope there's a way to bring out the exact same quality like in the second image, in a more easier way. :)
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

User avatar
l33tmeatwad
Joined: Wed Feb 16, 2005 3:22 pm
Location: Christiansburg, VA
Contact:
Org Profile

Re: Aliasing lines

Post by l33tmeatwad » Sat Mar 26, 2016 6:31 am

Yeah, it's probably causing a shift or something, I figured that would be the case. Unfortunately you'll have to handle the combing before editing the footage. There are a few options if you don't have space, you could hot swap the Vegas video files after with filtered versions of only episodes you need, or just create clips. I would test and see what works best for you before.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Twitter | YouTube

User avatar
BladEra123
Joined: Sun Oct 16, 2011 9:26 pm
Status: Beyblade AMV Maker!
Location: London, United Kingdom
Contact:
Org Profile

Re: Aliasing lines

Post by BladEra123 » Sat Mar 26, 2016 7:57 pm

That probably sounds like a better idea, what do you recommend me though, should I convert my episodes from AVI to MP4 or should I recontain them, since the file size of each episode is around 30GB after re-rendering them from VirtualDub I figured that recontaining them might keep the same file size, but at the same time I don't want to lose any quality at all. I do have plenty of space, around 400GB in my HDD so that would be not a big issue but for further projects of mine I would need more episodes; for this project however I only need around 6-7 episodes I believe. But do you think I should convert them or recontain them or should I just leave them as AVI? I hope my Vegas won't lag though because the bigger the filesize is, the more it lags while editing. Also, if you think I should convert them then what software should I use and what settings. Thanks :)
Legend Dies, but Legacy Never Ends~
YouTube Channel Link: https://www.youtube.com/user/bladera123
MyAnimeList: http://myanimelist.net/profile/BladEra123

Locked

Return to “AviSynth Help”