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

Reply
 
Thread Tools Search this Thread Display Modes
Old 4th November 2008, 05:22   #281  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,714
Do you have an example? Preferably an example clip, or screen shots if we have to.
Adub is offline   Reply With Quote
Old 5th November 2008, 21:56   #282  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
Sorry for the delay, but there are some other things I have to do.


@the_toof
Here is a simple function to solve the chroma problem. I was wrong it is indeed blending. Clear chroma fields are missing, but this is fixable:
Code:
see page 19
Just bob the source and add this function. Decimation is still necessary.

Your second example (the music clip, I think) is to messy for a simple automated solution. Some parts have to be treated as interlaced, other as progressive, combined with many artefacts and different framerates. In my opinion it`s really not worth the work.


@EuropeanMan
I don`t know why, but I can't download your sample from sendspace.


@Piper
As Merlin7777 allready posted, without a sample I can only guess.

Last edited by MOmonster; 31st March 2009 at 16:51.
MOmonster is offline   Reply With Quote
Old 6th November 2008, 04:12   #283  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Many thanks!
__________________
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)
thetoof is offline   Reply With Quote
Old 7th November 2008, 04:21   #284  |  Link
Piper
Registered User
 
Piper's Avatar
 
Join Date: Jul 2002
Location: Canada
Posts: 196
@Merlin777 & MOmonster: While readying a sample clip, I discovered that by increasing the dmode & omode parameters to 8, the issue resolved itself.

The source clip I had intended on sharing included a scene change followed by 2 blended fields. Using srestore defaults, the same 2 frames appeared a bit blurred, the 3rd being clear. With the tweak, transition is smoother.

Thanks
Piper is offline   Reply With Quote
Old 8th November 2008, 22:24   #285  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
Maybe a bug in this version, but I have allready finished the next release.

Update
I uploaded the srestore 2.7 prerelease.
MOmonster is offline   Reply With Quote
Old 8th November 2008, 23:59   #286  |  Link
Adub
Fighting spam with a fish
 
Adub's Avatar
 
Join Date: Sep 2005
Posts: 2,714
Changelog?
Adub is offline   Reply With Quote
Old 9th November 2008, 00:36   #287  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
ok, short changelog:

- removed some parameters (pclip,pthresh,chroma,... see readme)
- added possibility to merge duplicates
- fixed a bug in the double blend removal
- significantly saver detection for smoother motion
- new blend detection
- code cleanup

I'm thinking of some further changes, but on the less sources, srestore didn't perform good, the new version improved allready a lot.
MOmonster is offline   Reply With Quote
Old 9th November 2008, 00:44   #288  |  Link
elguaxo
Registered User
 
elguaxo's Avatar
 
Join Date: Jun 2006
Posts: 260
thanks MOmonster!
elguaxo is offline   Reply With Quote
Old 9th November 2008, 07:46   #289  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
I have a hard time removing the double blends in this source... could you recommend some settings?
Small mouth blends are kept and there is a mess up after the scene change. I'm using the latest srestore.
__________________
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)
thetoof is offline   Reply With Quote
Old 9th November 2008, 11:58   #290  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
Very bad source.
I see the problem:
The motion of the hair is much bigger than the mouth motion. That's why srestore detects this as a single blend.
Using other settings won't help. I'll try to improve this in the next version.
MOmonster is offline   Reply With Quote
Old 9th November 2008, 15:07   #291  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Quote:
Originally Posted by MOmonster View Post
Very bad source.
Yeah... maybe some prefiltering would help?
__________________
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)
thetoof is offline   Reply With Quote
Old 9th November 2008, 16:52   #292  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
I had a closer look on the source. The detection will be saver in the next version, but the two problems with the sample won't be solved.
1. The scenechange is also an edit. So the first clear frame followed by the double-blending isn't there
=> a right and save detection isn't possible in this case
- next version won't touch these frames
2. The text that running through the picture is not blended and the lumadifference of the scrolling text is higher than the difference caused by the mouth-motion. That's why the detection also doesn't work in this case.
=> This is not restorable. The text will be messed up.
MOmonster is offline   Reply With Quote
Old 12th November 2008, 17:44   #293  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
Update

Srestore has reached version 2.7c

- changed many internal conditions to improve detection
- same speed as v2.6 (a little nit faster than 2.7pre)
- changed double-blend-detection
- no changes in usage


@thetoof
The detection works better, but as long as you don't crop the text, you won't be satisfied.
MOmonster is offline   Reply With Quote
Old 12th November 2008, 19:53   #294  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Goodie good, I'll test it tonight by using a cropped dclip.
__________________
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)
thetoof is offline   Reply With Quote
Old 18th November 2008, 14:36   #295  |  Link
ministrix
Registered User
 
Join Date: Mar 2007
Posts: 36
i got troubles removing the blending in this clip. Tried different settings on srestore but didnt remove all blends. Is there anything i can do to tweak it? the dvd is from UK but its ntsc so my guess its a badly converted job. Ive used srestore several times and very pleased with the filter so tx a bunch momonster for a great job
ministrix is offline   Reply With Quote
Old 19th November 2008, 00:58   #296  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
The sources is not fully restoreable. Some blends aren't removable.
To set the right output framerate is very important for the pattern detection of srestore.
These settings give significantly better results than the default ones one your clip:
Code:
srestore(speed=-9,frate=23.976)
MOmonster is offline   Reply With Quote
Old 19th November 2008, 04:48   #297  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
All the links in this post were posted previously in this thread... it's just to reduce the possible confusion due to referring to many clips.

-Double blend removal works like wonders
-Chroma_rep leaves some of the blends behind (check frame #4 of the Simpson sample)
-Could chroma_rep take into account only chroma blends (i.e. if the blend is a "luma+chroma blend (normal blend)", don't consider as a blend)... this could make automatic restoration of chroma blends work on the music video sample and then srestore could be called to remove the simple blends & decimate accurately (the chroma blends srew up the detection).
-There was no answer about this issue

Thanks for everything you've done so far!
toof
__________________
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)
thetoof is offline   Reply With Quote
Old 19th November 2008, 07:50   #298  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
Thanks for remembering, I just lost the overview.

- good to hear
- will have a look on it, function is definetly improvable
- if chroma_rep and srestore are necessary, chroma_rep has to be used before. Chroma_rep detects only this special case of chroma_blending. that have nothing todo with the luma channel, and srestore doesn't regard the chroma with default settings, so there is no reason why chroma_rep or chroma blending in general screw up the detection of srestore (maybe problems with the conditional enviroment).
the decimation of srestore won`t work on your clip. There is no possibility srestore can work nice on hybrid sources. With a special more agressive blend-deduping blenddetection, it would be possible to remove most blends in this clip, but I don`t know if this is worth the work, this is the only example I know with this strange blending.
- I downloaded the sample and will have a look on it later.

Edit: I had a look on the source and this is not restorable. Triple-Blends and more. Maybe a normconversion that was just deinterlaced. Only solution is getting another source.

Last edited by MOmonster; 19th November 2008 at 08:30.
MOmonster is offline   Reply With Quote
Old 21st November 2008, 14:02   #299  |  Link
18fps
Registered User
 
Join Date: Oct 2008
Posts: 56
Quote:
Originally Posted by MOmonster View Post
To set the right output framerate is very important for the pattern detection of srestore.
Thanks for your great work, MOmonster! I use your script mainly to deinterlace / deblend silent movies, where figuring the right speed is (to me at least, as I get lost after a couple seconds of counting unique frames) the most difficult part. On this particular source, however, your Interlacing2reader tells me there are some fields shifted. I should pre-process this source before calling srestore? Also, what parameters of srestore would you recommend considering that I prefer a blend than a duplicate ? (framerate should be 19 fps). Thank You!
18fps is offline   Reply With Quote
Old 23rd November 2008, 22:42   #300  |  Link
MOmonster
Registered User
 
Join Date: May 2005
Location: Germany
Posts: 495
There are't enough blends in your sample and the decimation ration is higher than 3, so srestore doesn't find a pattern. Using srestore as deblender and add the right decimation works better:
Code:
bobbing
srestore(omode=4,cache=5)
tdecimate(cycleR=41,cycle=60,mode=1)
This is the decimation ratio, I found, but it doesn't have to be the the right one (small changes are possible).
MOmonster is offline   Reply With Quote
Reply

Tags
mrestore, srestore

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:08.


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