Need Cleaning-Up scripts

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Locked
User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Mon Dec 01, 2008 9:20 pm

Alright, I got the Removegrain plug-in and here is the effect. I really dont think it did anything though.

Image

Script

AVISource("C:\Documents and Settings\HP_Owner\My Documents\Mellow Project.avi")
ConvertToYV12()
Deen("w3d",3,6,8)
VagueDenoiser()
Fastlinedarken(strength=50,thinning=0)
limitedsharpen(strength=100)
tweak(hue=1.0,sat=1.2,cont=1.1,bright=-2)
removegrain(mode=2

User avatar
Krisqo
Cooking Oil
Joined: Mon Jul 07, 2003 1:22 pm
Status: W.O.A (Waiting on Aion)
Location: Moderating the Adobe Forums
Org Profile

Re: Need Cleaning-Up scripts

Post by Krisqo » Wed Dec 03, 2008 9:37 pm

Try moving RemoveGrain higher in your filter chain, before the sharpening. Perhaps before or after Deen. Also do as Kairudo said and tone down Deen. I use nothing more than "w3d,3,4,5" myself.
Image

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Wed Dec 03, 2008 10:35 pm

Krisqo wrote:Try moving RemoveGrain higher in your filter chain, before the sharpening. Perhaps before or after Deen. Also do as Kairudo said and tone down Deen. I use nothing more than "w3d,3,4,5" myself.
Lol. On my actually script my remove grain is higher. The deen, I'll keep for now

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Scintilla » Tue Dec 09, 2008 7:56 am

Kariudo wrote:it doesn't really look like you need tweak in there (it's usually used to make older source like Utena look right [ie, white is white...not yellow])
I think you're thinking of ColorYUV. Tweak can still be quite handy in enhancing brightness, contrast, and saturation to optimize for computer playback rather than TV/projector playback; that's what Absolute Destiny recommended it for originally.

Of course, whether you want to do that in your encode or just leave it to your viewers to handle in their media players/decoders is a whole other debate we had once in the IRC chat room.
Vax wrote:Alright, I got the Removegrain plug-in and here is the effect. I really dont think it did anything though.
Did you try encoding it with a constant quantizer (like XviD's full quality first pass or x264's constant quantizer mode) and see if the bitrate changed any?
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Vax
Sexy black guy
Joined: Sat Oct 11, 2008 11:14 am
Status: Chayin
Location: New York
Org Profile

Re: Need Cleaning-Up scripts

Post by Vax » Tue Dec 09, 2008 3:08 pm

Scintilla wrote:Did you try encoding it with a constant quantizer (like XviD's full quality first pass or x264's constant quantizer mode) and see if the bitrate changed any?
And How would I go about doing this?

User avatar
Scintilla
(for EXTREME)
Joined: Mon Mar 31, 2003 8:47 pm
Status: Quo
Location: New Jersey
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Scintilla » Wed Dec 10, 2008 12:10 am

Instructions for XviD are in AD&E's guide:
http://www.animemusicvideos.org/guides/ ... ocId103599

For x264: if you use MeGUI, it should be one of the encoding mode options on the first tab of x264 options. I have no idea about Zarxrax's GUI, as I've never used it.
ImageImage
:pizza: :pizza: Image :pizza: :pizza:

User avatar
Qyot27
Surreptitious fluffy bunny
Joined: Fri Aug 30, 2002 12:08 pm
Status: Creepin' between the bullfrogs
Location: St. Pete, FL
Contact:
Org Profile

Re: Need Cleaning-Up scripts

Post by Qyot27 » Wed Dec 10, 2008 12:13 am

Scintilla beat me to it, but I'll post anyway. BTW, I love the feature that shows new posts to the thread while previewing your own.
Vax wrote:
Scintilla wrote:Did you try encoding it with a constant quantizer (like XviD's full quality first pass or x264's constant quantizer mode) and see if the bitrate changed any?
And How would I go about doing this?
In XviD's configuration, that would be accomplished by clicking on the button next to the quality slider, switching it from Target bitrate (kbps) to Target quantizer, or vice-versa. This is, of course, assuming you're compressing from VirtualDub. Personally, I just make sure XviD's other options are set correctly (generally speaking, in alignment with the tech guide's recommendations, albeit with some differing points) and set a bitrate of 4000kbps - it almost never hits that ceiling, it just ensures that there's ample breathing room.

Also make sure you're using the newest version of XviD - version 1.2.1 was released this past week or so, which means 1.1.3 and the other 1.2 builds are outdated.
http://koepi.info/

For x264, it varies by the GUI used. I use MeGUI (when I even use a GUI, anyway), where that option is controlled by the drop-down on the config page's first tab - setting it to Const. Quantizer (-qp) or Const. Quality (-crf)*. I'm certain Zarx's has a similar choice, I can't see a reason for it not being there, at any rate. The terms might be different, though - if you set the GUI to display the command-line then a difference in language won't matter because the options passed to x264 remain either -qp or -crf, and you can use that as a guide when choosing from the drop-down menus or whatever.

*I mention -crf because it's a semi-related mode, and commonly gets suggested as preferrable.
My profile on MyAnimeList | Quasistatic Regret: yeah, yeah, I finally got a blog

Locked

Return to “AviSynth Help”