Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Filter Effectiveness For ...
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
AEN007
Posted: May 25 2012, 10:52 AM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



25May2012

Greetings.

I was recently informed here @ UVDSF about MSU Smart Deblocking.
I encountered a bug in the MSUSD and had to switch to the MSU Deblocking filter.
(Posting @ the MSU forum has generated no response(s).)
Descriptions for both filters reference
QUOTE
video ripped from DVD
I find these Deblocking filters excellent when converting/redubbing,
for example, vob files ripped/encoded @ 2,400vbr.
With these filters I can redub the video to an outrageously low bitrate.
For years I used 507 (without MSU) but now can use 373 or 333 ...
These filters seem to effective against "quilting" generated by the dub process.

I also redub mp4 or flv files from YouTube.
These are generally low bitrate (even the high quality ones),
and some are quite blocky/quilted.
I have found (so far) that MSU does NOT seem so effective
in deblocking these blocky/quilted, low bitrate mp4/flv files.
This week I stumbled upon SmartSmootherHighQuality and yesterday
even managed to hack out how to use SSHiQ in an avs script.
It seems (initially) that this SSHiQ might be more effective than MSU
in "cleaning up" these blocky/quilted, low bitrate mp4/flv files.
I am wondering about other filters that might "clean up" YT videos?

Today I also posted some avs/filter questions here» VH

Any helpful replies/insights appreciated ...
 
     Top
AEN007
Posted: Jun 11 2012, 03:11 PM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



QUOTE (AEN007 @ Jan 9 2011, 07:33 PM)
The software I use for downloading from YT gives 3 or 4 options -
usually 2 or 3 flv options (low, medium or high quality) and one high quality mp4 option.
My first question concerns these options.
Is flv (at any/which quality?) always better than the mp4 option?
YouTube uses flash, so it seems to me downloading flv
would be better than mp4 - less transcoding video quality loss?
Well, it seems the choice has to be between
the "high quality" flv or the "high quality" mp4 options.
The term "high quality" should really be "least crappy" ...
In any case it seems that ViDub
(in my environment: aviSynth, DivX codec, etc...etc)
processes the mp4 files significantly/materially quicker
than ViDub processes the flv files ...
I am wondering why that seems to be the case ...
 
     Top
AEN007
Posted: Dec 11 2013, 08:49 AM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



11Dezember2013
I would like to try the Kassandro "TemporalRepair" plugin, however, cannot find nor figure out
what the avs Repair syntax is ... Someone posted a similar question in a Doom9 forum»

user posted image

however the replies were all scientific mumbo jumbo
instead of just giving an example of proper avs Repair syntax.
What is the avs TemporalRepair syntax?
CODE
DirectShowSource("¿.mp4", fps=25.0)
RemoveGrain(mode=18).RemoveGrain(mode=18)
Repair?
Crop(6,34,-6,-34).BilinearResize(320,240)

Any helpful replies/insights appreciated ...
 
     Top
dloneranger
Posted: Dec 11 2013, 10:09 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Did you find this description page ?
http://home.arcor.de/kassandro/RemoveGrain/



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
AEN007
  Posted: Dec 18 2013, 12:17 PM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



18Dezember2013
That "description page" is what AudioNut called the "download page".
There are NO examples of the actual avs TemporalRepair syntax there.
If someone would be so good as to simply post examples
of the actual avs TemporalRepair syntax ... well that would be GREAT!
As AudioNut stated ... some of us cannot "figure it out for ourselves"
based on Kassandro's scientific mumbo-jumbo ...
 
     Top
dloneranger
Posted: Dec 18 2013, 01:07 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



? all the functions are right there on the page
eg
QUOTE

function RemoveTemporalGrain(clip input, int _mode)
{
rg = RemoveGrain(input, mode=_mode)
return TemporalRepair(rg, input)
}

so you'd put the dll in avisynths plugins folder and make a script something like
CODE

function RemoveTemporalGrain(clip input, int _mode)
{
rg = RemoveGrain(input, mode=_mode)
return TemporalRepair(rg, input)
}
a=avisource("c:\file.avi")
return removetemporalgain(a,4) # or whatever mode number you want


It's the same for all the functions on the page, and all the descriptions say what all the parameters do

Note: I don't have the binaries for the plugin - the page gives a 404 error so that's an untested example

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
AEN007
  Posted: Dec 18 2013, 03:56 PM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



18Dezember2013
Well ... yeah ... the functions are there ... however,
"avs syntax" is something else ... like ...
CODE
source=DirectShowSource("*.mkv")
filtered=source.RemoveGrain(mode=18).RemoveGrain(mode=18)
Repair(filtered, source, mode=16)
Crop(10,0,-10,0).BilinearResize(320,240)
Someone (somewhere else) posted the above as an example of Repair "avs syntax" ...

Sorry to have to ask for an example of "avs syntax" for TemporalRepair ... however,
what seems obvious to others is not always obvious to everyone!
 
     Top
dloneranger
Posted: Dec 18 2013, 04:12 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



The docs say that temporal repair needs two clips
The original and a modified one
It compares the two and if something stays in the same place, uses the original clips bit to restore it
QUOTE
TemporalRepair is a temporal filter, primarily useful for restoring static (non moving) details of spatial filters like RemoveGrain

You don't just use it by itself, which is why it's in a function that 'does something' to the clip first
(The two examples given are RemoveDust and RemoveTemporalGrain)

So you use it for repairing overenthusiastic use of things like RemoveGain, which is why they give the two functions

RemoveTemporalGrain - does a RemoveGrain and then a TemporalRepair of the original and the removegained one
RemoveDust - does Clense, Repair, RemoveGrain, TemporalRepair

The TemporalRepair syntax is simply TemporalRepair(clip1, clip2) - there's the optional 'smooth' parameter you can add, and that is full detailed on the page itself

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
AEN007
Posted: Dec 28 2013, 04:47 PM


Advanced Member


Group: Members
Posts: 90
Member No.: 24508
Joined: 10-November 08



28Dezember2013

(clip1, clip2) ... that could mean ...
TemporalRepair(filtered, source)
or
TemporalRepair(source, filtered)

I'm guessing ... an EXAMPLE of the avs syntax would be ...
CODE
source=DirectShowSource("*.mkv")
filtered=source.RemoveGrain(mode=4).RemoveGrain(mode=4)
TemporalRepair(filtered, source)
Crop(10,0,-10,0).BilinearResize(320,240)
????????????????? Maybe someone might confirm/correct that?
QUOTE (Kassandro's page says)
mode=4 is definitely recommended for RemoveTemporalGrain.
and
QUOTE (Kassandro's page says)
TemporalRepair "repairs" less with smooth=1 than with smooth=0
So ... I suppose NOT knowing (for sure) the actual avs syntax to use TR's "smooth" is fine ...
Of course ...
maybe someone might post an EXAMPLE of that avs syntax?
(I'm not going to bother to guess ... and then ask/hope for confirmation ...
which the "figure it out for yourself" approach requires ...)

As always ... Any helpful replies/insights appreciated ...
 
     Top
dloneranger
Posted: Dec 28 2013, 06:48 PM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



There seems to be something strange going on here
You keep asking for examples and then ignoring them and reasking for an example

An example was already given for you
this is what was posted as the script
CODE

function RemoveTemporalGrain(clip input, int _mode)
{
rg = RemoveGrain(input, mode=_mode)
return TemporalRepair(rg, input)
}
a=avisource("c:\file.avi")
return removetemporalgain(a,4) # or whatever mode number you want

all you had to do was change the c:\file.avi ?????

The documentation page is also full of examples and all the descriptions of what each parameter means
All that stuff they typed isn't just random words
All the examples are right there in code boxes

QUOTE
I'm not going to bother to guess ... and then ask/hope for confirmation ...
which the "figure it out for yourself" approach requires ...

If by guess you actually mean reading the postings and/or the documentation
Whatever....

--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
9 replies since May 25 2012, 10:52 AM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development