Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 19th May 2009, 10:52   #1241  |  Link
Arshad07
Jeremy Duncan Fan
 
Arshad07's Avatar
 
Join Date: Aug 2008
Location: London, UK
Posts: 238
Does MVtools works with directshowsource? 'Cause everytime i close the previewer window, my megui crashes.
Arshad07 is offline   Reply With Quote
Old 19th May 2009, 11:15   #1242  |  Link
ash925
 
Join Date: Sep 2007
Location: Seventh Dimension
Posts: 54
Quote:
Originally Posted by Arshad07 View Post
Does MVtools works with directshowsource? 'Cause everytime i close the previewer window, my megui crashes.
Yes, it does and no crashes for me.
ash925 is offline   Reply With Quote
Old 22nd May 2009, 19:29   #1243  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,699
I can confirm.
__________________
FAQs:Bond's AVC/H.264 FAQ
Site:Adubvideo
Adub is offline   Reply With Quote
Old 12th June 2009, 01:31   #1244  |  Link
adrianmak
Registered User
 
Join Date: Apr 2006
Posts: 127
any x64 version ?
adrianmak is offline   Reply With Quote
Old 12th June 2009, 10:35   #1245  |  Link
buletti
Registered User
 
Join Date: Jun 2007
Posts: 42
adrianmak: Are you in the possession of a recent Avisynth build (2.5.7+) that supports 64bit? AFIAK there was merely a single custom build 64 bit version back in 2005 which is not available anymore (and probably extremely outdated).
So, as long as there's no 64 bit Avisynth, there's no use for 64 bit plugins..
buletti is offline   Reply With Quote
Old 12th June 2009, 10:44   #1246  |  Link
Arshad07
Jeremy Duncan Fan
 
Arshad07's Avatar
 
Join Date: Aug 2008
Location: London, UK
Posts: 238
@adrianmak

You can still run x86 s/ws on a x64bit OS.....thats why there's a folder called Program Files (x86) in your C:/
Arshad07 is offline   Reply With Quote
Old 12th June 2009, 15:02   #1247  |  Link
kemuri-_9
Compiling Encoder
 
kemuri-_9's Avatar
 
Join Date: Jan 2007
Posts: 1,348
Quote:
Originally Posted by buletti View Post
adrianmak: Are you in the possession of a recent Avisynth build (2.5.7+) that supports 64bit? AFIAK there was merely a single custom build 64 bit version back in 2005 which is not available anymore (and probably extremely outdated).
So, as long as there's no 64 bit Avisynth, there's no use for 64 bit plugins..
see squid_80's site for avisynth 2.5.7 x64 and accompanying x64 plugins.
http://members.optusnet.com.au/squid_80/
__________________
custom x264 builds & patches | F@H | My Specs
kemuri-_9 is offline   Reply With Quote
Old 5th August 2009, 13:11   #1248  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
Fizick,
would phase shift method(s) be helpfull in motion-estimation when added to MVtools?
Are you planning something like this in future versions?
Thank you,
Terka
Terka is offline   Reply With Quote
Old 5th August 2009, 21:22   #1249  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Terka,
I make several "planning" to do it. Last time - use phaseshift maximums as a predictors. But I am afraid, iy should be implemented not in MVTools block-based framework.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 15th August 2009, 10:04   #1250  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
one question to mrecalulate.
MAnalyse has some default setting, S1.
When using MAnalyse in script, i can select my own settings, S2. Other, not directly specified settings, remains same as S1.
When using MRecalculate, i can select my own settings, S3. Other, not directly specified settings, remains same as S2?
Terka is offline   Reply With Quote
Old 15th August 2009, 19:26   #1251  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Terka,
good question. it is not documented.

other remains as undocumented defaults of mrecalculate, which are same values as defaults of manalyse.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 19th August 2009, 21:08   #1252  |  Link
Terka
Registered User
 
Join Date: Jan 2005
Location: cz
Posts: 704
thank you for reply.
One more thing, the following doesnot work with latest mvtools2
AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc
vectors = MSuper().MAnalyse(isb = true)
MShow(vectors)
Terka is offline   Reply With Quote
Old 19th August 2009, 22:10   #1253  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
This script is wrong. MShow need in super clip, for example:

AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc
MSuper()
vectors = MAnalyse(isb = true)
MShow(vectors)

or

AVISource("c:\test.avi") # or MPEG2Source, DirectShowSource, some previous filter, etc
super=MSuper()
vectors = MAnalyse(super, isb = true)
MShow(super,vectors)

I replace source by super to show padding and vectors at padding
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 24th August 2009, 00:24   #1254  |  Link
Puncakes
Registered User
 
Join Date: Aug 2009
Posts: 26
Hi,

Is the blur I'm getting with Mdegrain3 in darker scenes expected, or have I gone wrong somewhere? I've read over the documentation and after tweaking about every option I could, I wasn't able to get a noticeable change (aside from the overall strength, thsad).

Source: http://i26.tinypic.com/24vk4l0.jpg
Default: http://i25.tinypic.com/kbzvut.jpg
Thsad200: http://i26.tinypic.com/24vk4l0.jpg

VOB Sample: http://www.mediafire.com/?ij2jznzjugy

My script is:
Code:
DGDecode_mpeg2source("VTS_03_1.d2v")
tfm(order=0)
src = last
super = src.MSuper()
bvec3 = super.MAnalyse(isb=true, delta=3, overlap=4)
bvec2 = super.MAnalyse(isb=true, delta=2, overlap=4)
bvec1 = super.MAnalyse(isb=true, delta=1, overlap=4)
fvec1 = super.MAnalyse(isb=false, delta=1, overlap=4)
fvec2 = super.MAnalyse(isb=false, delta=2, overlap=4)
fvec3 = super.MAnalyse(isb=false, delta=3, overlap=4)
src.MDegrain3(super, bvec1, fvec1, bvec2, fvec2, bvec3, fvec3)
I'm hoping I've missed something that can be corrected, since mdegrain is the only filter I've tested that can remove so much noise/grain with so little blur and artifacts (on the brighter scenes at least).
Puncakes is offline   Reply With Quote
Old 24th August 2009, 01:43   #1255  |  Link
onesloth
Registered User
 
Join Date: Jul 2007
Posts: 137
Quote:
Originally Posted by Puncakes View Post
Is the blur I'm getting with Mdegrain3 in darker scenes expected, or have I gone wrong somewhere?
It seemed to me MDegrain2 and 3 got noticeably blurry with 2.4.0.
I don't have 2.3.1 so I haven't done any AB comparisons, though.
onesloth is offline   Reply With Quote
Old 24th August 2009, 17:07   #1256  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
2.4.0 beta (09.01.2009 by Fizick)
MDegrain: Changed degrain weight method to more strong...

Approx:
Old: (thSAD-blockSAD)/thSAD.
new: (thSAD*thSAD - blockSAD*blockSAD)/(thSAD*thSAD + blockSAD*blockSAD)

Assume thSAD=400,
Example 1. current SAD=100, old strength = 0.75, new strength = 0.87.
Example 2. current SAD=200, old strength = 0.5, new strength = 0.60.
Example 3. current SAD=300, old strength = 0.25, new strength = 0.28.
Example 4. current SAD=400, old strength = 0, new strength = 0.


blurring usually indicates wrong vector search...
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.

Last edited by Fizick; 24th August 2009 at 17:10.
Fizick is offline   Reply With Quote
Old 24th August 2009, 17:45   #1257  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Ah - thanks for posting the new formula. I ever wondered since it was implemented - - but not enough to start digging through the source code ...

Quote:
blurring usually indicates wrong vector search...
... and/but: at least part of the story is that same-SAD-everywhere is not very smart: In "flat" areas like sky, skin, nebula etc., SAD usually is rather low, and even ~relatively~ small SAD can mean a big error. In contrast to high-detail / high-contrast areas, where SAD usually is rather big. Really, SAD for "edge-areas" and "non-edge-areas" are like two different worlds ...

Official question: What about taking into account local complexity when evaluating SAD? Aren't there any proven concepts out there for that?
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 24th August 2009, 20:06   #1258  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
This probably is computationally unfeasible, but how's about how well a region can be compressed? For a given block, run it through your favorite lossless compressor and calculate the % of the original file size. Flat areas would probably give something like (general numbers here) 200 bytes compressed vs 2000 bytes uncomp'd, so it's complexity score would be 0.1.

Like I said, that's probably way too slow to be practical but there's probably a way to do something similar and much faster.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame.
Sagekilla is offline   Reply With Quote
Old 24th August 2009, 20:43   #1259  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
Didée,
suprisingly, about week ago i found your manifesto about local complexity hidden in non-official mvtools thread
http://forum.doom9.org/showthread.ph...80#post1305680

If anyone has ideas that s/he thinks that would bring a worthwhile improvement, then:
MAKE IT, and SHOW THE PROOF.
Until then, I'll resort to short "nope"-style answers, when indicated.


My answer is - nope. SAD is SAD, and it is evaluated (and must be evaluated) in MAnalyse as is.
Postprocessing and usage of this info (in MDegrain, etc) is other story.
But rigth now I am more interested in more coorct vector field estimation. May be even with variable block size like h264. in tis case SAD may be not so big at edges.
__________________
My Avisynth plugins are now at http://avisynth.org.ru and mirror at http://avisynth.nl/users/fizick
I usually do not provide a technical support in private messages.
Fizick is offline   Reply With Quote
Old 25th August 2009, 19:36   #1260  |  Link
TSchniede
Registered User
 
Join Date: Aug 2006
Posts: 77
This is an issue I have been thinking about myself. Right now we simply don't know if a low SAD means that the match is good or that there isn't much information anyway.
We would want some sort of metric that tells us how reliable our guess on the movement is.
I had hoped this could be an alternative approach for the movement analysis. but so far I haven't found a way to get the concept into a working algorithm. I'm not even sure it is possible to do it in a way that the produced vectors and computation time is better or at least equivalent.
__________________
GA-P35-DS3R, Core2Quad Q9300@3GHz, 4.0GB/800 MHz DDR2, 2x250GB SATA HD, Geforce 6800
TSchniede is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:46.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.