Wilbert
3rd April 2002, 09:35
A small request for pIII/pIV users:
Recently someone pointed to an optimized version (for pIII/pIV only) of smart deinterlace. The corresponding avs-script is given below.
I would be glad if some pIII or pIV user could test this script since VDub crashed on my Athlon using that script and I want to add it to the collection of scripts of vdub-filters. (pIV users have to change "\QSdeinterlacePIII.vdf" in "\QSdeinterlacePIV.vdf")
I would like to know the following:
1) Does the script work and does it give the same results when using the corresponding vdub-filter?
2) Does it give the same results as the smart deinterlace filter and how much is it faster?
script + place where to download the QS deinterlace filters:
####################################################################
# QS deinterlace by ?, v? (optimized version of Smart_Deinterlace, #
# for the pentium III users) #
# #
# http://freetime.sinor.ru/observatory/article.phtml?qsdeinterlace #
# Please use http://babelfish.altavista.com for translation. #
####################################################################
function VD_QSdeinterlace(clip clip, string "mode", string "channel", bool "show_motion", bool "blend",
\ bool "cubic", bool "motion_map_denoising", int "m_threshold", int "sc_threshold",
\ bool "fs_before", bool "shift", bool "fs_after", bool "disable")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\QSdeinterlacePIII.vdf", "_VD_QSdeinterlace", 1)
mode = default(mode, "frame")
mode = (mode=="frame") ? 0 : (mode=="field") ? 1 : (mode=="both") ? 2 : -1
Assert(mode>=0, """VD_QSdeinterlace: "mode" parameter must be "frame", "field", or "both"""")
channel = default(channel, "luma")
channel = (channel=="luma") ? 0 : (channel=="all") ? 1 : -1
Assert(channel>=0, """VD_QSdeinterlace: "channel" parameter must be "luma" or "all"""")
return clip._VD_QSdeinterlace(default(show_motion,false)?1:0, default(blend,false)?1:0,
\ default(m_threshold,15), default(sc_threshold,100), default(shift,false)?1:0,
\ default(fs_before,false)?1:0, default(fs_after,false)?1:0, default(disable,false)?1:0,
\ default(motion_map_denoising,false)?1:0, mode, channel, default(cubic,true)?1:0)
}
# example1 VD_QSdeinterlace("frame","luma",false,true,false,false,15,100)
# example2 VD_QSdeinterlace("frame","luma",false,false,true,false,15,100)
# example3 VD_QSdeinterlace("field","luma",false,false,true,true,15,100)
Recently someone pointed to an optimized version (for pIII/pIV only) of smart deinterlace. The corresponding avs-script is given below.
I would be glad if some pIII or pIV user could test this script since VDub crashed on my Athlon using that script and I want to add it to the collection of scripts of vdub-filters. (pIV users have to change "\QSdeinterlacePIII.vdf" in "\QSdeinterlacePIV.vdf")
I would like to know the following:
1) Does the script work and does it give the same results when using the corresponding vdub-filter?
2) Does it give the same results as the smart deinterlace filter and how much is it faster?
script + place where to download the QS deinterlace filters:
####################################################################
# QS deinterlace by ?, v? (optimized version of Smart_Deinterlace, #
# for the pentium III users) #
# #
# http://freetime.sinor.ru/observatory/article.phtml?qsdeinterlace #
# Please use http://babelfish.altavista.com for translation. #
####################################################################
function VD_QSdeinterlace(clip clip, string "mode", string "channel", bool "show_motion", bool "blend",
\ bool "cubic", bool "motion_map_denoising", int "m_threshold", int "sc_threshold",
\ bool "fs_before", bool "shift", bool "fs_after", bool "disable")
{
LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\QSdeinterlacePIII.vdf", "_VD_QSdeinterlace", 1)
mode = default(mode, "frame")
mode = (mode=="frame") ? 0 : (mode=="field") ? 1 : (mode=="both") ? 2 : -1
Assert(mode>=0, """VD_QSdeinterlace: "mode" parameter must be "frame", "field", or "both"""")
channel = default(channel, "luma")
channel = (channel=="luma") ? 0 : (channel=="all") ? 1 : -1
Assert(channel>=0, """VD_QSdeinterlace: "channel" parameter must be "luma" or "all"""")
return clip._VD_QSdeinterlace(default(show_motion,false)?1:0, default(blend,false)?1:0,
\ default(m_threshold,15), default(sc_threshold,100), default(shift,false)?1:0,
\ default(fs_before,false)?1:0, default(fs_after,false)?1:0, default(disable,false)?1:0,
\ default(motion_map_denoising,false)?1:0, mode, channel, default(cubic,true)?1:0)
}
# example1 VD_QSdeinterlace("frame","luma",false,true,false,false,15,100)
# example2 VD_QSdeinterlace("frame","luma",false,false,true,false,15,100)
# example3 VD_QSdeinterlace("field","luma",false,false,true,true,15,100)