Quantcast Avisynth: Best Deinterlacer Script? - Page 2 - digitalFAQ.com Forums [Archives]
  #21  
08-31-2004, 10:54 AM
andybno1 andybno1 is offline
Free Member
 
Join Date: Jul 2002
Location: Liverpool, UK
Posts: 832
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to andybno1 Send a message via Yahoo to andybno1
right will do, I'll do a bit of messin about downloed the two thing you suggested boulder and see what I get.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #22  
08-31-2004, 11:00 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
And before you ask, you can determine the field order with a simple script like this:

Code:
MPEG2Source("path\clip.d2v")
AssumeTFF()
SeparateFields()
Open it in VDub. If the movement jerks back and forth, your video is bottom field first so the KernelBob line should be KernelBob(order=0,sharp=true,threshold=7). If the movement is smooth, it's order=1. You can verify this by putting AssumeBFF() instead of AssumeTFF().
Reply With Quote
  #23  
08-31-2004, 11:35 AM
andybno1 andybno1 is offline
Free Member
 
Join Date: Jul 2002
Location: Liverpool, UK
Posts: 832
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to andybno1 Send a message via Yahoo to andybno1
ok got it all workin finally lol just one problem it says its gonna take about 4 hrs to do an 11min music video.
Reply With Quote
  #24  
08-31-2004, 11:46 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
It's dead slow all right but try this one, maybe it's faster and might still produce good quality. I believe it's the one Inc originally posted in the sticky. If you get an colorspace error, add ConverttoYUY2() right before the Convert60ito24p(2,0) line.

Code:
MPEG2Source("path\clip.d2v",idct=7)
KernelBob(order=x,sharp=true,threshold=7) # determine the field order!
Convert60ito24p(2,0)
#and the rest of the script as in a normal encode

function convert60ito24p (clip video, int mode, int offset) 
{ 
   work = assumefieldbased(video) 

   out = (mode==2) ? interleave( 
           \selectevery( 
             \layer(trim(work, 1, 0), 
                    \layer(work, trim(work, 2, 0), "fast"), 
                  \"fast"), 5, 0 + offset), 
           \selectevery( 
                  \layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) : 

   \    (mode==1) ? interleave( 
          \selectevery(trim(work, 1, 0), 5, 0 + offset), 
          \selectevery(layer(work, trim(work, 1, 0), "fast"), 5, 3 + offset)) : 

   \    (mode==0) ? selectevery(work, 5, 1 + offset, 4 + offset) : work 

   assumeframebased(out) 
}
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD: what would be the best deinterlacer to use? Paul0889 Video Encoding and Conversion 1 01-26-2004 05:52 PM
Avisynth: best deinterlacer with MA script? CheronAph Avisynth Scripting 23 01-03-2004 05:58 AM
Recording Video: Bob deinterlacer, then how to bring down the framerate? syk2c11 Video Capturing / Recording 2 08-21-2003 01:00 PM
Avisynth: Difference between MA script and optimal script? mistermickster Avisynth Scripting 2 08-01-2003 09:36 AM
Avisynth: Latest script using Avisynth 2.51 J-Wo Avisynth Scripting 6 04-08-2003 11:46 AM

Thread Tools



 
All times are GMT -5. The time now is 02:17 AM  —  vBulletin © Jelsoft Enterprises Ltd