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

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 31st May 2008, 18:37   #61  |  Link
K0zi
Registered User
 
Join Date: Nov 2007
Location: PL
Posts: 26
Add SelectEven() or SelectOdd() at the end of your script.
K0zi is offline   Reply With Quote
Old 31st May 2008, 23:00   #62  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Adding selecteven/odd won't change the playback speed... only the amount of frames displayed in 1 second(59.94-->29.97).

and radar, what you are describing isn't possible with mcbob(), as it only bobs the video to 60p, which has no influence on lenght nor playback speed. What is the codec of the encoded stream? If you did a lossless rendering pass in uncompressed YV12 or Lagarith, it's possible that your computer can't read it fast enough... Try changing the process priority of your media player to "high".
__________________
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 31st May 2008, 23:46   #63  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
hi thetoof
i tried changing the process priority of the player,didnt work.how can i find what codec i used???

my system is:

intel core 2 duo E6850
4 gigs of ram
nvidia geforce 8800 gts 512
radar is offline   Reply With Quote
Old 1st June 2008, 01:32   #64  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Well, what did you use to encode your file after processing it with mcbob?
Also, could you upload a small 5mb sample to see if we can reproduce your issue?
__________________
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 1st June 2008, 01:39   #65  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
im using dvd rb and cce 270.
i will upload a clip.

what upload host should i use.thanks

Last edited by radar; 1st June 2008 at 01:47.
radar is offline   Reply With Quote
Old 1st June 2008, 02:14   #66  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,407
No need to upload anything. CCE expects input that is DVD compliant. After bobbing, you have 50fps (PAL) or 59.94fps (NTSC), which is NOT compliant with DVD specs (only 23.976 / 25 / 29.97 fps are allowed). CCE silently assumes a compliant framerate, which is why the video then is running at half speed.

In this case you either have to use SelectEven() after MCBob, or you could just use a simple same-rate deinterlacer instead.
__________________
- 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 1st June 2008, 02:23   #67  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
hi Didée
ok i will try SelectEven()


this is the clip:http://rapidshare.com/files/119202564/VTS_01_1.VOB

i tried SelectEven() and it corrected the slow vid.thank you very much Didée.
can i now sharpen the image.this is the clip after the mcbob.
http://rapidshare.com/files/11920572...VOB (5392 KB).

Last edited by radar; 1st June 2008 at 02:44.
radar is offline   Reply With Quote
Old 1st June 2008, 03:55   #68  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
Quote:
Originally Posted by radar View Post
can i now sharpen the image
Off topic. Look here.
__________________
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 1st June 2008, 04:15   #69  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
can i incorperate the sharpening in with mcbob script.
how would you write the script
radar is offline   Reply With Quote
Old 1st June 2008, 05:18   #70  |  Link
thetoof
Sleepy overworked fellow
 
Join Date: Feb 2008
Location: Maple syrup's homeland
Posts: 933
whateversource("yourfile")
mcbob()
any other filter you want() #like limitedsharpenfaster()
__________________
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 2nd June 2008, 02:32   #71  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
ok i got this script,looks good but slow.
dose the script look ok.


loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RepairSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mvtools.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RemoveGrainSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\EEDI2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mt_masktools-25.dll")
import("C:\Program Files\AviSynth 2.5\mcbob\MCBob_v03c.avsi")
MCBob()
SelectEven()
loadplugin("C:\Program Files\AviSynth 2.5\seesaw\degrainmedian.dll")
import("C:\Program Files\AviSynth 2.5\seesaw\SeeSaw.avsi")
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain1(backward_vec2,forward_vec2,thSAD=400,idx=1)

b = a.DeGrainMedian(mode=1)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=9, Spower=9, Szp=16)
radar is offline   Reply With Quote
Old 3rd June 2008, 11:06   #72  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
radar,

If you are encoding for DVD, why are you deinterlacing?

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 3rd June 2008, 11:58   #73  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
its an old fight tape and it has interlacing.this gets gid of it.
im not sure if thats what you are asking.
radar is offline   Reply With Quote
Old 3rd June 2008, 13:45   #74  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
I assumed the source was interlaced, because you are using mcbob - not much point using it otherwise!

However, you can encode interlaced content onto DVD just fine - if you deinterlace it, you will remove half the temporal resolution, creating a stuttery look, like the "fake-film" effect used on some TV shows.

If that's what you want, fine. However, if you just want to make a good DVD of an interlaced source, you are wasting your time deinterlacing.

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 3rd June 2008, 19:56   #75  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
how can i make a good dvd copy with out deinterlacing.could you explain it to me ,thanks
radar is offline   Reply With Quote
Old 4th June 2008, 02:38   #76  |  Link
Revgen
Registered User
 
Join Date: Sep 2004
Location: Near LA, California, USA
Posts: 1,545
The only way you can make a DVD without deinterlacing is to make it 29.97fps or 23.976fps. DVD's don't support any framerate over 29.97.
__________________
Pirate: Now how would you like to die? Would you like to have your head chopped off or be burned at the stake?

Curly: Burned at the stake!

Moe: Why?

Curly: A hot steak is always better than a cold chop.
Revgen is offline   Reply With Quote
Old 4th June 2008, 12:04   #77  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
hi Revgen
how would you do that?
radar is offline   Reply With Quote
Old 4th June 2008, 14:21   #78  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
radar,

If you want to do certain processing of your footage (e.g. denoising, sharpening, etc) then you do need to deinterlace, but you need to keep that at double rate, and then re-interlace at the end.

You can use this line of code to reinterlace double rate footage:

separatefields().selectevery(4,0,3).weave()

If it doesn't work, your field order is set incorrectly. In your script, you don't have an AVISOURCE statement, and you don't set your field order at all - maybe you're using it with someone that inserts these automatically, or maybe you cut them out of the part you pasted. Anyway, your previous script would change to this:

Code:
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RepairSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mvtools.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RemoveGrainSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\EEDI2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mt_masktools-25.dll")
import("C:\Program Files\AviSynth 2.5\mcbob\MCBob_v03c.avsi")
MCBob()

loadplugin("C:\Program Files\AviSynth 2.5\seesaw\degrainmedian.dll")
import("C:\Program Files\AviSynth 2.5\seesaw\SeeSaw.avsi")
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain1(backward_vec2,forward_vec2,thSAD=400,idx=1)

b = a.DeGrainMedian(mode=1)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=9, Spower=9, Szp=16)

separatefields().selectevery(4,0,3).weave()
Hope this helps.

Looking at your clip, it looks pretty good as it is - maybe I'm not so critical after all!

Cheers,
David.
2Bdecided is offline   Reply With Quote
Old 5th June 2008, 09:21   #79  |  Link
radar
Registered User
 
Join Date: Jul 2004
Location: canada B.C.
Posts: 335
2Bdecided
i changed my script with yours and ran it in dvd rb with cce.the clip played alright,but it seems to be interlaced.the script that i posted deinterlaced the clip.

loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RepairSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mvtools.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\RemoveGrainSSE2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\EEDI2.dll")
loadplugin("C:\Program Files\AviSynth 2.5\mcbob\mt_masktools-25.dll")
import("C:\Program Files\AviSynth 2.5\mcbob\MCBob_v03c.avsi")
MCBob()
SelectEven()
loadplugin("C:\Program Files\AviSynth 2.5\seesaw\degrainmedian.dll")
import("C:\Program Files\AviSynth 2.5\seesaw\SeeSaw.avsi")
backward_vec2 = last.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = last.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
a=last.MVDegrain1(backward_vec2,forward_vec2,thSAD=400,idx=1)

b = a.DeGrainMedian(mode=1)
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=9, Spower=9, Szp=16)
radar is offline   Reply With Quote
Old 5th June 2008, 12:52   #80  |  Link
2Bdecided
Registered User
 
Join Date: Dec 2002
Location: UK
Posts: 1,673
If you really want to deinterlace, you do that. It's pointless for DVD, but don't let me stop you. I was just showing you how to process interlaced content through progressive-only filters, and get back to interlaced at the end. If that's not what you want, don't worry.

Cheers,
David.
2Bdecided is offline   Reply With Quote
Reply

Thread Tools
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 13:08.


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