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

Aliasing lines

Postby BladEra123 » Sat Mar 19, 2016 9:32 pm

Hello, I have had problems having aliasing lines on the episodes which I have, is there any possible way to fix it without losing any quality? Thanks :)
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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby l33tmeatwad » Mon Mar 21, 2016 8:14 am

Could you post a screenshot? It is possible to filter with AviSynth and maintain the quality, however it's a lot easier to make recommendations with a visual sample.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | 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

Postby BladEra123 » Mon Mar 21, 2016 7:21 pm

When the visual is panning at the bottom or top, or when the episode zooms into a character, I can see visible jag lines around the character draw-lines. I'm sure it has to do something with the aliasing.
I'll provide with some images, from a couple of episodes.
Image
In this episode, the camera is panning up to the character, you can notice some lines around the clothing, they look jagged.

Image
In this image as well, the camera is panning up to the character, it looks even more bad because of the aliasing lines when I see this clip in the episode. In this image however, the lines are below the chin line of the character.

Image
In this image, the character himself is moving, and I can notice the edgy lines here too.


Any help would mean a lot :)
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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby l33tmeatwad » Mon Mar 21, 2016 10:16 pm

The AviSynth script DAA could filter that, however these look more like combing artifacts from poorly handling the interlacing. Is your source the actual DVD or a digital source? What has your process been for handling the footage so far?
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | 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

Postby BladEra123 » Tue Mar 22, 2016 12:20 am

It's DVD ripped, as far as I think the person who ripped it into MKV used HandBrake tool. I did not personally rip these episodes from the DVD. Also, I've used the re-containing method to bring these footage to MP4 format, even in the MKV file I can notice these lines. Do you think it can be fixed using AviSynth?
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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby l33tmeatwad » Tue Mar 22, 2016 8:06 am

Well they sure didn't seem to rip them correctly...lol...unfortunately for you that means you have to do extra work to make it decent enough to use. To clean them up you'll need to run them through AviSynth, so you won't need to hang onto the new MP4s unless you got rid of the originals. Here's a sample script you could try for these videos:

Code: Select all

LWLibavVideoSource("video.mkv")
DAA()
DAA()
FastLineSharpenMOD()


You could alternatively use FFVideoSource to import it if you have that. Also FineSharp is another popular sharpening filter you could try instead of FastLineDarkenMOD. The combing artifacts looked pretty severe so I duplicated DAA, if they still show up some you COULD try replicating it again, just keep in mind this blurs the image. From the screenshots they also look like they could use some cleaning up as well, if you would like recommendations for that just ask.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | 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

Postby BladEra123 » Wed Mar 23, 2016 5:43 am

Your explanations are very helpful and I would like to take a moment to thank you for all the help you've provided so far, unfortunately I've only gotten confused after time; I did install the AMVpack and I believe I have got all the tools I need but I'm very sorry this is my very first time trying all these softwares' and I would really appreciate if you could somehow give me a guide to it or give me a link where it would explain everything in DETAILS, step by step because I seem to be very confused, I only figured out that I'm supposed to open AvsPMod to run the AviSynth. Also, would I have to do this to the MKV episodes or can I do this to the MP4 episodes, another thing I wanted to ask is if I can do all these processes of cleaning and aliasing after I finish my AMV, would it have the same effect or would it be better to clean the episodes itself then work on the AMV. Also I would love to know more recommendations about the cleaning of footages, that'd be very helpful. Thanks once again :)
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

Postby BladEra123 » Wed Mar 23, 2016 5:49 am

Also, I viewed this page too http://www.animemusicvideos.org/guides/ ... l#aliasing

It seems very good, I noticed the differences it can make and I'd love my footage to look like this too, as soon as that is done I'd be super happy.
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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby l33tmeatwad » Wed Mar 23, 2016 8:33 am

I have two guides that can help you with the tools in AMVpack, the first is AviSynth 101, an intensive guide that explains how AviSynth works and how to use it. The second and easier guide is AMV 101 which breaks down things to a step by step processes, however it is a little cookie cutter and you'll have to fill in some of the gaps for non-standard sources like yours.
Software & Guides: AMVpack | AMV 101 | AviSynth 101 | VapourSynth 101
PixelBlended Studios: Website | Facebook | Tumblr | 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

Postby BladEra123 » Thu Mar 24, 2016 12:27 am

Awesome, I was able to open up all the programs and do a little bit of scripting in the software. I'm having an issue though, when I try to load the .avs file on VirtualDub it doesn't open up. The problem is as it follows "Unable to open file path:\path\path\path\videproject.avs" I tried reading about it on the internet and it said that the avs file is not compatible with the 64 bit version of VirtualDub, is that correct? And what can I do to open my file onto it.
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

Postby 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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby 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 | Facebook | Tumblr | 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

Postby 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
Status: Trolling
Location: Blacksburg, VA
Contact:
Org Profile

Re: Aliasing lines

Postby 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 | Facebook | Tumblr | 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

Postby 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


Return to “AviSynth Help”

Who is online

Users browsing this forum: No registered users and 2 guests