07-19-2002, 10:55 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by The Alvinator
Hehehehe
Ever since I found out how useful this little jewel was, I can't get enough of it!
Now that I pretty much memorized the reference manual, I don't think I'll be asking any more questions about AVISynth...
thanks kwag.
|
Now I'm going to be asking you questions when I get my DigiCam
-kwag
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
08-01-2002, 09:32 PM
|
Free Member
|
|
Join Date: Jul 2002
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Alvinator,
Can I get your current avs script. I am trying to do about the same thing you are but I am not getting good results. I have tried some of the deinterlacers out there. decomb.dll FieldDeinterlace() with not so good results. Any help would be great.
-Shawn
|
08-02-2002, 06:03 PM
|
Free Member
|
|
Join Date: Jul 2002
Location: 2 hours away from San Fran CALI
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Moat: I replied to your PM.
|
08-16-2002, 04:40 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Monterrey Mexico
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Congrats to the whole KVCD community, specially to KWAG, great work!
This is my first post!
@Alvinator:
Could you post the AVS script to do that, I´m trying to do the same but im not getting good results, the video plays unsmootly, as if it had missing frames or something wrong... Thanks in advance
|
08-19-2002, 05:12 PM
|
Invalid Email / Banned / Spammer
|
|
Join Date: Aug 2002
Location: Monterrey Mexico
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi,
Just a question related with the framerate conversion and avisynth scripts..
It worth the effort to convert from 29.97 to 24 fps in order to make my resulting project smaller using the NTSCFilm KVCD templates?
Regards to everyone,
|
08-19-2002, 07:31 PM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Sergeiv
Hi,
Just a question related with the framerate conversion and avisynth scripts..
It worth the effort to convert from 29.97 to 24 fps in order to make my resulting project smaller using the NTSCFilm KVCD templates?
Regards to everyone,
|
Yes it is! But you can only encode at 23.976 if your original movie was shot FILM. You can't if you have an interlaced 29.97fps stream that has not been telecined.
-kwag
|
12-13-2003, 11:02 AM
|
Free Member
|
|
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Now it's very easy
http://home.arcor.de/scharfis_brain/60ito24p.html
Code:
function convert60ito24p (clip video, int mode, int offset)
{
work = assumefieldbased(video)
out =(mode==3) ? interleave(
\selectevery(
\layer(trim(work, 1, 0),
\layer(work, trim(work, 2, 0), "fast"),
\"fast"), 5, 0 + offset),
\selectevery(
\layer(
\layer(work, trim(work, 3, 0),"fast"),
\layer(trim(work, 2, 0), trim(work, 1, 0),"fast"),
\level = 170), 5, 2 + offset)) :
\ (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)
}
# usage:
# import (convert60ito24p.avs)
# loadplugin(your 60fps deinterlacer like dgbob or tomsbob)
# xxxsource("clip")
# your60fpsdeinterlacer()
# convert60ito24p(2,0)
# mode - parameter:
#------------------
# 0 uses simple 24 out of 60 selection -> jerky motion
#
# A B C D E F G H I J K L M N O P Q R <- input sequence
# | | | | | | | <- | = direct copy
# 1 2 3 4 5 6 7 <- resulting output sequence
#
# 1 introduces a blending of every other frame from its nearest neighbors
#
# A B C D E F G H I J K L M N O P Q R <- input sequence
# | \ / | \ / | \ / | <- | = direct copy ; \ / = 50:50 blending
# 1 2 3 4 5 6 7 <- resulting output sequence
#
# this mode delivers a non-jerky motion and should be used with shutter speeds below 1/60sec!
# ie. 1/120 or shorter
#
# 2 uses blening on every frame like this:
#
# A B C D E F G H I J K L M N O P Q R <- input sequence
# \|/ \ / \|/ \ / \|/ \ / \|/ <- \|/ = 25:50:25 blending ; \ / = 50:50 blending
# 1 2 3 4 5 6 7 <- resulting output sequence
#
# mode 2 is ideal for shutter speed of 1/60 sec
# since it simulates very close the 24p (1/24sec) motion blur
# and thus giving a really smooth 24p - motion
# as a positive side-effect, this mode reduces noise and nearly comletely
# eliminates remained line flickering of the deinterlacing!
#
# every other number given to mode delivers the the input directly to the output (60fps)
# offset - parameter:
#--------------------
# here you can apply a offset for selecting the 2 out of 5 frames - pattern.
This example provided by "Incredible":
Code:
Avisource("Your true interlaced 29.976 source here.avi")
Telecide()
convert60ito24p(2,0)
#
############### the function #############
#
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)
}
#################################
-kwag
|
All times are GMT -5. The time now is 10:18 AM — vBulletin © Jelsoft Enterprises Ltd
|