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. |
|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#261 | Link | |
Guest
Posts: n/a
|
No worries.
Quote:
-G |
|
![]() |
![]() |
#262 | Link |
Sleepy overworked fellow
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
|
Little question about pixaspect=
I use a LOT this very useful script by g-force (turned into a function for convenience) before encoding anamorphic (so I don't resize to square pixel aspect ratio). Code:
function stab (clip orig, float "pixaspect"){ pixaspect=default(pixaspect,1) orig temp = last.TemporalSoften(7,255,255,25,2) Interleave(temp.Repair(last.TemporalSoften(1,255,255,25,2)),last) DePan(last,data=DePanEstimate(last,trust=0,dxmax=10,dymax=10),offset=-1, pixaspect=pixaspect) return SelectEvery(2,0)} However, this calculation yields to other values... where did I mess up?? Code:
NTSC 720x480 is actually 640x480 (4:3) y * 720 = 640 y = 0.8888.... 720x480 is actually 853.3333x480 (16:9) y = 1.185185185..... PAL 720x576 is actually 768x576 (4:3) y * 720 = 768 y = 1.06666........ 720x576 is actually 1024x576 (16:9) y = 1.42222.....
__________________
AnimeIVTC() - v2.00 -http://boinc.berkeley.edu/- Let all geeks use their incredibly powerful comps for the greater good (no, no, it won't slow your filtering/encoding :p) Last edited by thetoof; 14th December 2008 at 06:55. |
![]() |
![]() |
![]() |
#263 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
so 640/704 ~ .910 768/704 ~ 1.10 the aspect numbers you posted/quoted result as: 640/.911 ~ 703 768/1.094 ~ 702 so it seems that these are fairly close to being based on 704, but not quite, so maybe some rounding error? probably based on 704 to account for cropping on 'typical' overscan (which may or may not actually be true for what you're dealing with) Last edited by kemuri-_9; 14th December 2008 at 09:54. |
|
![]() |
![]() |
![]() |
#264 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
about aspect you may read "Analog capture guide" http://forum.doom9.org/showthread.php?t=78797
__________________
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. |
![]() |
![]() |
![]() |
#266 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
g-force, only if rotation is not 0.
So, you are wrong (partially) ![]()
__________________
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. |
![]() |
![]() |
![]() |
#268 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
g-force,
yes, it is correct. but IMHO, all this aspects is not so important practically ![]()
__________________
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. |
![]() |
![]() |
![]() |
#269 | Link |
Registered User
Join Date: Apr 2009
Posts: 5
|
Hello all,
This is my first post ever and I want to thank the community, but this question is perhaps especially for Fizick. I have problems with DePanStabilize with the average method method=1 Many parameter do not longer work when i use before mdepan() or mvdepan() for global motion estimation. eg dxmax,dymax,rotmax,addzoom, zoommax However they work fine when i use DepanEstimate() for the global motion estimation but it's less interesting for me because there is no rotation estimation. It seems to me that the average method give a very good deshaking, close to the Vdub Plugin Deshaker. Unfortunately without all this parameters, it's very hard to tweak precisely the motion stabilization and the zoom. exemple of non working script Code:
a=last vectors = a.MSuper().MAnalyse(isb = false,blksize=8) globalmotion = a.MDepan(vectors) a1 = a.DePanStabilize(data=globalmotion,method=1,cutoff=0.5,dxmax=0,dymax=0,rotmax=0,addzoom=true) return a1 |
![]() |
![]() |
![]() |
#270 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
dxmax=0 (and dymax=0, rotmax=0) should not work for method=1 for any vector source (MDepan, DePanEstimate).
The current code contains division of dx by dxmax, etc It was unclear for me, how to process special case dxmax=0, etc
__________________
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; 5th May 2009 at 20:15. |
![]() |
![]() |
![]() |
#271 | Link |
Registered User
Join Date: Apr 2009
Posts: 5
|
thank you for reply
dxmax=0 (and dymax=0, rotmax=0) was only an (extrem) exemple but dxmax =x (and dymax=y, rotmax=z ) do'nt work too (with method=1 and M(v)Depan as vector source. The stabilisation works (damn good) but no correction is possible. The addaptive zoom do'nt work too. DePanStabilize(data=globalmotion,method=1,dxmax=10,dymax=20,rotmax=0,addzoom=false) or DePanStabilize(data=globalmotion,method=1,dxmax=60,dymax=60,rotmax=30,addzoom=true) are giving absolut identical results. |
![]() |
![]() |
![]() |
#272 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
gaillague,
Oh, yes, dxmax, etc are disabled for method=1. It seems I did not get good result that time. But it is not dependent on vector source. DepanEstimate should not work too. You should wait some more advanced developer for motion stab. Sorry.
__________________
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. |
![]() |
![]() |
![]() |
#274 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
I will fix the doc about dxmax, etc.
But addzoom should work with method=1
__________________
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. |
![]() |
![]() |
![]() |
#276 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
I found that I use DePan v1.10.1, January 27, 2008
![]() Seems, I forget to publish it. Changes is minimal (fixed bug with blur mode for subpixel=1), but V1.10.0 really does not work with addzoom for some strange reason. I will upload the update
__________________
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. |
![]() |
![]() |
![]() |
#279 | Link |
AviSynth plugger
Join Date: Nov 2003
Location: Russia
Posts: 2,183
|
Well, i am totally out of avisynth world now.
![]() So, source Depan code is released today. But it was my first plugin, and probably the worst code ever written ![]() Good luck!
__________________
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. |
![]() |
![]() |
![]() |
#280 | Link | |
Registered User
Join Date: Jan 2011
Posts: 121
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|