Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Fix Frame Jumps When Using 'seperatefields'
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
Ingolf
Posted: Feb 7 2004, 11:29 AM


Unregistered









Hi

I am using the following script:
QUOTE
AviSource("c:\myavifile.avi")
ComplementParity
SeparateFields


This will extract each field from an interlaced sorce, doubling the number of frames.

But it seems to me that every odd frame is drawn from y-position 1, and every even frame is drawn from y-position 0. Whatever happens, the result is that the whole image is jumping 1 pixel up and down for every frame. How can i fix this? I kinda need to tell avisynth, to skip the 1st line on every odd frame.. how can i do this? Maybe i can fix it in another way using vdub(with filters)?
 
  Top
rfmmars
Posted: Feb 7 2004, 06:25 PM


Advanced Member


Group: Members
Posts: 324
Member No.: 5438
Joined: 29-July 03



Again see the website www.100fps for the solution and plugin for VD. You came up with the same script I did when fixing a very bad camcoder field problem.

Good luck!

Richard
 
     Top
garydude
Posted: Mar 16 2004, 12:55 PM


Unregistered









You might want to try:

SelectOdd() or
SelectEven()

I've had the best luck using Odd.

Also, you may want to try it with & without compliment parity.

Bottom line it's going to take some playing with the script. I'm sure you already know that.

ph34r.gif
 
  Top
i4004
Posted: Mar 16 2004, 03:59 PM


Advanced Member


Group: Members
Posts: 2432
Member No.: 4935
Joined: 24-June 03



specialised filters to achieve doubleframerate(as that is what you're essentially doing) are
"dgbob"(probably avs only) and "deinterlace smooth"(replicated in avs filter "smooth deinterlacer")
actually i don't know if there's vdub version of dgbob(probably not,as graft moved away from vdub filters long time ago)

find "deinterlace smooth" here
http://biphome.spray.se/gunnart/video/

graft's site is down at the moment of writing,so if you're avs freak,you can search for it somewhere else...(on avs you can try both "dgbob" and "smooth deinterlacer",and see which one you liked better...any of these avs implementations should be faster than vdub filter...)





--------------------
my signature:
user posted image
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
3 replies since Feb 7 2004, 11:29 AM Track this topic | Email this topic | Print this topic

<< Back to Avisynth Filtering, Processing and Scripts Discussion