Trouble loading .avs file from AviSynth

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
User avatar
Gepetto
Mr. Poopy Pants
Joined: Thu Jun 10, 2004 10:11 pm
Status: Bored to tears
Location: The Tokyo Settlement
Contact:
Org Profile

Post by Gepetto » Thu Apr 12, 2007 10:36 am

Thanks. I couldn't get rid of it all, but it looks a lot better now and since I'll be overlaying that part with something else, it won't be noticeable now that it's been mitigated.
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile

User avatar
topgamer101
Joined: Tue Jul 08, 2003 2:52 am
Org Profile

Post by topgamer101 » Thu Apr 12, 2007 5:52 pm

Scintilla wrote:
topgamer101 wrote:2) This effect on characters clothing that causes a line of sorts with tiny boxes in those lines that move or "blink" as the character moves. (I'm not sure if I'm explaining that very well.)

If anyone happens to know what problem 2 is called and how to fix it I'd love to know. Thanks.
If it looks like this, it's dot crawl:

Image

Dot crawl is one of the hardest artifacts to remove, but there are some AVISynth filters designed to combat it: try DeDot or FluxSmooth (the latter should be only applied to the luminance channel for this purpose; use MergeLuma to see that it is).
It's not that. I'll try and find an example of what I mean. It's on the clothing only and nothing else.

User avatar
topgamer101
Joined: Tue Jul 08, 2003 2:52 am
Org Profile

Post by topgamer101 » Thu Apr 12, 2007 6:10 pm

This is more what I'm talking about.

Image

It's a little hard to see, but look on his sleeve and shoulder of his coat. That's the problem I have. In Gungrave it doesn't come out so bad, but in Hellsing Ultimate it was very easy to see.

Looking at it closely it might be something like the problem you showed me earlier, but this particular problem almost always only applies to a characters clothing. I don't know, if you know more about it I'll be sure to listen.

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Fri Apr 13, 2007 6:01 am

topgamer101 wrote:This is more what I'm talking about.

http://img455.imageshack.us/img455/6359/problem1rv7.jpg

It's a little hard to see, but look on his sleeve and shoulder of his coat. That's the problem I have. In Gungrave it doesn't come out so bad, but in Hellsing Ultimate it was very easy to see.

Looking at it closely it might be something like the problem you showed me earlier, but this particular problem almost always only applies to a characters clothing. I don't know, if you know more about it I'll be sure to listen.
I believe that is Mosquito Noise (aka. Gibb Effect). Try using msmooth in AviSynth. Other smoother filters may also work.

You may be able to eliminate or reduce the appearance just by adding or increasing the value of the cpu= parameter to your MPEG2Source() filter call if you haven't already done so.

Code: Select all

MPEG2Source("project.d2v", cpu=4)
Try using a cpu= value of 5 if 4 still exhibits the noise. Use 6 if 5 doesn't produce results. Higher values will soften the video, so use the lowest you can.
Having trouble playing back videos? I recommend: Image

User avatar
topgamer101
Joined: Tue Jul 08, 2003 2:52 am
Org Profile

Post by topgamer101 » Sat Apr 14, 2007 12:39 pm

Willen wrote:
topgamer101 wrote:This is more what I'm talking about.

http://img455.imageshack.us/img455/6359/problem1rv7.jpg

It's a little hard to see, but look on his sleeve and shoulder of his coat. That's the problem I have. In Gungrave it doesn't come out so bad, but in Hellsing Ultimate it was very easy to see.

Looking at it closely it might be something like the problem you showed me earlier, but this particular problem almost always only applies to a characters clothing. I don't know, if you know more about it I'll be sure to listen.
I believe that is Mosquito Noise (aka. Gibb Effect). Try using msmooth in AviSynth. Other smoother filters may also work.

You may be able to eliminate or reduce the appearance just by adding or increasing the value of the cpu= parameter to your MPEG2Source() filter call if you haven't already done so.

Code: Select all

MPEG2Source("project.d2v", cpu=4)
Try using a cpu= value of 5 if 4 still exhibits the noise. Use 6 if 5 doesn't produce results. Higher values will soften the video, so use the lowest you can.
Thanks everyone for all the help. I'm still working on understanding Avisynth a little better. I'll see what I can do from here.

User avatar
DarkestBuddha
Joined: Sun Apr 15, 2007 11:56 pm
Org Profile

Post by DarkestBuddha » Mon Apr 16, 2007 10:52 am

hi
im getting some problems loading it too this is my code

AviSource("C:\[B-I]_Heroic_Age_-_01_[56AB3D8C].avi")
KillAudio()

then i get the error

avisynth open failure:
avisource autodetect: coudnt open 'C:\[B-I]_Heroic_Age_-_01_[56AB3D8C].avi'
error code:2
(c:\doecuments and settings\CompName\desktop\first.avs,line 1)

i think it is the same error as the guy up top

is there anything wrong with my code? its an xvid so im trying to change it. i dont know how to apply the lagraith codec to it yet

User avatar
Gepetto
Mr. Poopy Pants
Joined: Thu Jun 10, 2004 10:11 pm
Status: Bored to tears
Location: The Tokyo Settlement
Contact:
Org Profile

Post by Gepetto » Mon Apr 16, 2007 12:48 pm

DarkestBuddha wrote:hi
im getting some problems loading it too this is my code

AviSource("C:\[B-I]_Heroic_Age_-_01_[56AB3D8C].avi")
KillAudio()

then i get the error

avisynth open failure:
avisource autodetect: coudnt open 'C:\[B-I]_Heroic_Age_-_01_[56AB3D8C].avi'
error code:2
(c:\doecuments and settings\CompName\desktop\first.avs,line 1)

i think it is the same error as the guy up top

is there anything wrong with my code? its an xvid so im trying to change it. i dont know how to apply the lagraith codec to it yet
I doubt that AviSynth commited a typo. Anywho, that error probably means that you got the path and/or filename wrong in the script, or, less likely, that you don't have the VfW codec required to play back that file.

In case it's the first problem, the solution is, obviously, fixing the mispelled path/filename. In case it's the second, either installing whatever codec it is or changing from "avisource" to "directshowsource" (assuming you're able to view the file on that same computer with any player other than Mplayer and VLC). To find out what codec you're missing (if that should indeed be the case), use Gspot or MediaInfo.
And God spoke unto the Chicken, and He said: "Thou shalt crosseth the road", and the Chicken did cross the road, and there was much rejoicing.
My DeviantART profile

User avatar
topgamer101
Joined: Tue Jul 08, 2003 2:52 am
Org Profile

Post by topgamer101 » Thu Apr 19, 2007 8:30 pm

Ok, hopefully last question for awhile. Similar question to before, but this is for video that has been made already without using AviSynth. I want to know if there is anyway in VirtualDub to remove what is in this picture below.

Image

In this shot, you can see the difference in areas on Harry's face. My question is is there any way in VirtualDub to remove something like that? Thanks.

User avatar
Willen
Now in Hi-Def!
Joined: Sun Jul 10, 2005 1:50 am
Status: Melancholy
Location: SOS-Dan HQ
Org Profile

Post by Willen » Fri Apr 20, 2007 1:39 am

That's Posterization (usually confused with Banding, which is very similar). The usual culprit is colorspace conversions where there are insufficient bits per color (16 bits versus 24 or 32 bits), especially on low quality sources. Another possible cause is over aggressive settings for sharpeners and other filters. Over filtering can definitely produce that effect.

I'm assuming that isn't only happening in VirtualDub's preview (which by default is set to display at 16 bits color depth for speed). VDub's preview will have no effect on the actual output unless you purposely lower the color depth of the actual video.

Unfortunately, I'm not sure how to eliminate or reduce posterization from a source that has it other than to blur it somewhat.
Having trouble playing back videos? I recommend: Image

User avatar
topgamer101
Joined: Tue Jul 08, 2003 2:52 am
Org Profile

Post by topgamer101 » Fri Apr 20, 2007 6:14 pm

Willen wrote:That's Posterization (usually confused with Banding, which is very similar). The usual culprit is colorspace conversions where there are insufficient bits per color (16 bits versus 24 or 32 bits), especially on low quality sources. Another possible cause is over aggressive settings for sharpeners and other filters. Over filtering can definitely produce that effect.

I'm assuming that isn't only happening in VirtualDub's preview (which by default is set to display at 16 bits color depth for speed). VDub's preview will have no effect on the actual output unless you purposely lower the color depth of the actual video.

Unfortunately, I'm not sure how to eliminate or reduce posterization from a source that has it other than to blur it somewhat.
No this video footage has not been touched by VirtualDub, I was just curious if there was an option to remove it. I suppose I'll need to teach myself to use Avisynth then.

Locked

Return to “AviSynth Help”