you need the function srestore
you can download the .avsi and put it into the avisynth plugins directory (avsi are autoloading, avs must be imported)
http://avisynth.org/mediawiki/Srestore
http://avisynth.org/mediawiki/upload/7/7d/Srestore.avsi
read the instructions and docs, because there are required filters as well
+ Reply to Thread
Results 31 to 60 of 66
-
-
Except I've never had any luck autoloading it and the included doc says to import it:
Use import("srestore.avs") in your script to load the function and use it like in the following examples.:
needed plugins: - mt_masktools v2.0 (allways)
- TIVTC v1.04 or higher (only for cache>0, not default)
- RemoveGrain (only for double-blend-removal, not default)
- Average (only for double-blend-removal, not default)
LoadPlugin("C:\Path\To\DGDecode.dll")
LoadPlugin("C:\Path\To\MT_MaskTools.dll")#I may have renamed the DLL
LoadCPlugin("C:\Path\To\Yadif.dll")
LoadPlugin("C:\Path\To\TIVTC.dll")
LoadPlugin("C:\Path\To\Average.dll")
LoadPlugin("C:\Path\To\RemoveGrain.dll")
Import("C:\Path\To\SRestore.avs")
MPEG2Source("C:\Path\To\Test.d2v")
Yadif(Order=1,Mode=1)
SRestore(FRate=23.976)
I load Yadif as a C Plugin. Others use STDCall. And don't try and autoload it. Read the doc for that one if it's not working. I don't autoload anything, but load what I need in the scripts. -
does it matter what version of MaskTools2 is used? there's a lot of different ones on here wasn't sure which to get. http://manao4.free.fr/
Last edited by iamtehsux; 29th Jan 2010 at 19:05.
-
thanks again manono i got it all working and all seems good
might have another question for you though but gotta find the vobs first had some animated show that was pretty badly blended on some episodes wondered if it could be handled the same way.
found it: http://
i did some testing myself and it did look better using yadif/srestore but still had some ghosted/blended frames is there anything else i can try or is that probably the best I'm going to get with that source?Last edited by iamtehsux; 15th Feb 2010 at 02:30.
-
Yeah, that one's a mess. It's also 23.976fps, but parts of it are hopeless. The part near the beginning with the man in the hat and trenchcoat can't be fixed. Virtually every field is blended. Other parts unblend fine.
-
dunno if anyone is still viewing this thread but could use some help again
i am unsure about a certain source at first i thought it might need to be unblended and done at 23fps but now i think it might need to be done at 25fps.
heres two vob sample:
http://www.sendspace.com/file/
http://www.sendspace.com/file/Last edited by iamtehsux; 21st Jun 2010 at 23:14.
-
You're in luck as it's not blended. If using TIVTC:
TFM(0)
TDecimate(Mode=0,Cycle=6,CycleR=1)
If using Decomb:
AssumeTFF()
Telecide(Guide=2)
Decimate(6) -
thanks again manono.
i was wondering about another set of dvds aswell i know they need to be done at 25fps but they still come out pretty badly blended in some spots is there any filters or any other way to clean them up a bit?
heres a couple vob samples:
http://www.sendspace.com/file/
http://www.sendspace.com/file/Last edited by iamtehsux; 21st Jun 2010 at 23:13.
-
-
-
-
For the earlier one, where the guys are walking through the jungle, I counted off 500 frames and didn't see any interlacing. If it happens, put on Vinverse after the IVTC to clean up any residual interlacing.
-
can you gimme an sample avs of how to use that filter incase i need it never heard of it before was reading about it on the script page and its a little confusing
-
for the one that needs
Yadif(Mode=1)
SRestore()
should it be like this or leave it()
SRestore(FRate=24.975)
and yea im pretty sure the whole thing is BFF -
It's probably 24.975fps, but making it 25fps leaves some room for error. Up to you. You can look around to see if one gives better output (meaning fewer blended frames) than the other.
-
Last edited by iamtehsux; 27th Dec 2010 at 03:11.
-
Separating the fields or bobbing it would show it's not fieldblended, so there's no need for SRestore. This looks like something from a TV show where fields were dropped to speed it up so they could stick in more advertisements. It has orphaned fields in it. Is this from a retail DVD, or from something made at home by someone? Anyway, I can't make it perfect, but try your luck with these or some variation of them:
TFM()
TDecimate(Mode=2,Rate=24.975,MaxNDL=7)
#TDecimate(Mode=0,Cycle=88,CycleR=15,MaxNDL=7)#may be you'll like this better. I do.
The second one is closer to the true framerate, but still has a few dupes, as well a a few dropped frames (common to both, because of the orphaned frames). It's not 23.976/24fps, but a much greater framerate, perhaps one derived from a PAL source. -
Thanks again! and yea after some testing the second one did seem a little better
but i was also wondering what is the best way to tell if an animated dvd needs to be ivtc'd or deinterlaced? some are easier then others if you can find a spot where every frame has movement but with the odd frame pattern of some its annoying.
something like:
or something like:
i wasn't sure about the first 2 thought maybe deinterlace but the third looked like normal ivtc at first then frame pattern seemed to change. first 2 are from the same just different spots third is from something different.
and then there's this:
its not animated but wasn't quite sure how to handle the dvds probably one of the most badly mastered sets i've seen.Last edited by iamtehsux; 27th Dec 2010 at 03:11.
-
Because parts of anime DVDs are sometimes progressive 30fps these days, if you run into one that's a mix of progressive 29.97fps and telecined 23.976fps, it might be better to encode it as VFR. Me, I would never just deinterlace something that wasn't shot using video cameras (and anime sure isn't).
Samples 1 and 2 are just simple IVTC:
Telecide()
Decimate()
Sample 3 is the same but because it was so incompetently done, I'd add Vinverse afterwards:
Telecide()
Decimate()
Vinverse()
The fourth one is the only interesting one. It's from a PAL source, but isn't field-blended. Try this on it:
TFM()
TDecimate(Mode=0,Cycle=6,CycleR=1)
VinVerse() -
what would be the best way to unblend this dvd do you think?
http://www.sendspace.com/file/u6eylm
I was also wondering if there is pal stuff mastered from ntsc dvds the same way theres so many ntsc dvds mastered from pal stuff? i will have to look for the dvds im thinking of but i remember having some pal dvds that looked kinda weird and pretty badly blended in some parts. -
-
thats what i thought just thought the video looked kinda jumpy in a few spots like a lot of dropped frames or something more then usual
Last edited by iamtehsux; 15th Jul 2010 at 15:00.
-
was hoping someone here could help me again and didnt really want to make a new thread =)
i have a weird blended ntsc dvd that i know needs to be encoded to 23fps, after looking at it i thought it would just need to be unblended but that didnt help at all and in some places it make it worse i think was a few spots with the jerky/jumpy playback like wrong frames were removed.
Sample1: http://www.sendspace.com/file/uq1c1n
Sample2: http://www.sendspace.com/file/vn5wxl -
how would you ivtc it? with just normal ivtc no unblending i still see some residual interlacing even with vinverse.
i also have a question about this dvd, its a pal dvd but it looks like it was mastered from a ntsc source and pretty badly blended how would you handle it? i asked about pal dvds being mastered from ntsc once before but never ran into one until now.
Sample: http://www.sendspace.com/file/wrava0
and thanks for the quick reply manono didnt even take half and hour =) -
Are you saying those are samples of the retail Mad About You DVDs? Pretty bad. I was just reading some reviews of the DVDs and they all mention the very bad quality of the video. I wouldn't handle them. I'd send them to the recycle bin as soon as I had a look.
For the PAL one:
Yadif(Mode=1)
SRestore()
It has its own peculiarities, but except for some left over blends that seems to work OK.
Similar Threads
-
25fps-source Ac3 to 23.976fps
By Lastman369 in forum AudioReplies: 47Last Post: 26th Sep 2014, 02:19 -
Question Re IVTC, DGIndex & NTSC Source
By onesikgypo in forum Video ConversionReplies: 7Last Post: 18th Aug 2009, 03:58 -
Changing AVI from 29fps to 25fps
By Ric76 in forum Video ConversionReplies: 11Last Post: 22nd Jul 2009, 14:12 -
DVD to XVID from NTSC source
By iamtehsux in forum Newbie / General discussionsReplies: 1Last Post: 5th Dec 2008, 22:52 -
IVTC'ing NTSC source with random pattern
By miggeth in forum Video ConversionReplies: 28Last Post: 23rd Jun 2008, 03:12