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. Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#221 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,407
|
Ah, didn't think of the obvious, now I see. Yes, that should be possible, and rather easy to do. Will be tried out somewhen soon, to see how it turns out.
__________________
- 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!) |
|
|
|
|
|
#223 | Link |
|
Registered User
Join Date: Jan 2005
Location: cz
Posts: 704
|
2 Didée:
1.tried to do the separate_fields - > weave, but im not able to implement it directly to Tempgauss (Tempgauss_beta1mod to be precise) could you help? 2. tried fluxsmoothT to calm bob's flickering, looks good in static areas. 3.can we get some profit if temporalsoften be used as mo-comped? for clean soures is TG realy good, (my) DV sources have much more noise which is difficult for me to beat. Last edited by Terka; 16th April 2009 at 10:34. |
|
|
|
|
|
#224 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 26
|
Quote:
How it's working? I don't understand. When it's removed TGMC works perfectly on 10x speed without strong sharpness limit. Last edited by sarmano; 21st April 2009 at 14:01. |
|
|
|
|
|
|
#225 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,407
|
"You shall not alter complex scripts when you don't know what you're doing."
Quick test: TGMC with default sharpness limiting (SLmode=2): ~6.6 fps TGMC with all sharpness limiting deactivated (SLmode=0): ~6.4 fps If you comment-out (or remove) exactly the code sniplet that you posted, then TGMC will return just the input clip, without any processing, without any deinterlacing. So - yes, doing *nothing* is a very fast operation, indeed.
__________________
- 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!) |
|
|
|
|
|
#226 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 26
|
Quote:
Hmm. I tried encode 720p video clip without using TMGC and speed was ~8fps but with removed iterations from TMGC it's encoding about 1.2 fps. So - no, doing *something* isn't a very fast operation . I really don't understand the step on stage3 and how many passes it'll do. BTW: Thanx for answer anyway. (Sorry for my English!) Last edited by sarmano; 22nd April 2009 at 03:52. |
|
|
|
|
|
|
#228 | Link | ||
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,407
|
Quote:
Quote:
Then, with default settings of TGMC, that section does *nothing*, anyway. With the default setting of (SLmode=2), the sharpness limiting is done earlier in the script (section "stage1b"). For that reason, your change wouldn't make much sense: you are removing a section that does no processing at all (with default parameter, that is). Also, the code in TGMC is slightly different from the code you quoted (border/crop is missing). Due to those differences, it is not fully clear what exactly you removed, and what exactly is happening in your modified script. If you want all doubts dispeled, post the complete version of your modified script. In any case - if you get a 10-fold speedup, then it is impossible that TGMC still does what it's supposed to do.
__________________
- 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!) |
||
|
|
|
|
|
#229 | Link | |
|
Registered User
Join Date: Oct 2006
Posts: 26
|
Didée many thanks for the explanation of the script.
The purpose of the removal step 3 was my desire to speed up the script a bit by removing unnecessary options as well. I need some time to understand where I made an error in adjusting the data. Perhaps part of the code slows down the processing of data and I have the impression of useless steps. Quote:
Of course, this is not quite correctly associated with the technology of processing, but I really like the result of these actions. Last edited by sarmano; 24th April 2009 at 15:34. |
|
|
|
|
|
|
#233 | Link |
|
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,407
|
@ martinfrombern
Those are artifacts from failed motion compensation that hasn't been detected as being faulty. You might try using more aggressive repair options, such as TGMC(edimode="NNEDI", rep0=1,rep1=1,rep2=1). The defaults for rep0/1/2 are 4/0/4. The smaller a number is, the more aggressive the corresponding repair section is acting (and "0" deactivates a given repair section). However, the more aggressive you choose the repair values, the more likely it is you'll get bob-flicker in static scenes. @ Terka While the basic idea is pretty simple to do, it turns out that it's a bit cumbersome to implement into TGMC in such a way that everything still works as it should. Meanwhile, to cool down your eagerness a little, let's make an estimate: Say, TGMC is spending ~20% of its procesing time with the motion search. Your suggestion will cut down the time for motion search by ~50%. So in the end, your suggestion would bring ~10% speed increase with slightly reduced quality. (Those are rough numbers from the guts, but fairly realistic.) See why I'm not overly thrilled to make those changes? Sure, every little bit helps, but ... boosting a 3.0 fps script up to 3.3 fps isn't very spectacular.
__________________
- 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!) |
|
|
|
|
|
#235 | Link | |
|
x264aholic
Join Date: Jul 2007
Location: New York
Posts: 1,752
|
Quote:
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame. |
|
|
|
|
|
|
#236 | Link |
|
Registered User
Join Date: Sep 2006
Posts: 1,678
|
I kept getting an integer overflow error from the script after an install of windows 7.
I did a clean install of avisynth, some trial and error for all the required plugins. And the error message is still the same: ![]() Code:
t1 = t.VCRep(dbob,ed=ed0,od=od0) #line 144 tD_2 = mt_makediff(ref,clp,U=3,V=3) #line 272 |
|
|
|
|
|
#237 | Link |
|
Registered User
Join Date: Oct 2007
Posts: 713
|
i dont mean to sound rude or anything, but is TempGaussMC considered to be 'the' Motion Compensation deinterlacer?
or what Motion Compensation is suppose to be? because there are probably hundreds of different MC's out there, which one do we know is the (works) better and etc. |
|
|
|
|
|
#238 | Link |
|
Fighting spam with a fish
Join Date: Sep 2005
Posts: 2,754
|
Typically, the choices between motion compensated deinterlacers lies between MCBob and TempGaussMC. The latter has a nice effect in that it also filters noise, but you can't go wrong with either of these deinterlacers. Just pick the one that works best for your purposes.
|
|
|
|
|
|
#239 | Link |
|
Registered User
Join Date: Dec 2002
Location: UK
Posts: 1,673
|
There are two mcbob versions - the eedi2 one, and the nnedi one. Horses for courses.
There are multiple tgmc versions - I still like alpha3 for my HDV footage. tgmc beta1 and 2 give you lots of options - eedi2 or nnedi etc etc etc - there's a post a few pages back that summarises it. These can run faster than alpha3. IMO(!) visible differences include:
I often compare the deinterlaced output with what you see on a native interlaced CRT. IMO tgmc can be better almost all the time; mcbob can be better most of the time, but most other oft recommended AVIsynth deinterlacers fail miserably to maintain the full perceived resolution. But mcbob and tgmc are too slow! ![]() Hope this helps. Cheers, David. |
|
|
|
|
|
#240 | Link |
|
Registered User
Join Date: Jan 2005
Location: cz
Posts: 704
|
another speedup possible?
http://forum.doom9.org/archive/index.php/t-22096.html |
|
|
|
![]() |
| Tags |
| deinterlace, flickering |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|