denissio
23rd July 2004, 16:48
Hi!
The question is (quite a beginner's one in fact)
I've got Avisynth 2.5.5, VirtualDubMod 1.5.10 and an MPEG-2 source which has lots of DCT-caused noise.
What is the best way to filter it using SmoothHiQ without doing too many colorspace conversions (that may affect ?quality? and speed)?
As far as I know, the current version of SmoothHiQ for Avisynth 2.5 (08 Feb 2003) supports only YUY2 whereas AviSynth requires YV12.
So I tried this version and noticed a very strange effect (bug?): when using Diameter=9 or 11 or 13 the picture's colors got corrupted (had pinkish hue).
When I lowered the Diameter (3, 5 or 7), however, it seemed to be ok.
Was I doing anything wrong or maybe it's safer to use the vdf version of the filter?
Also, if using SmoothHiQ.dll for AviSynth should I make a "Video=ConvertToYV12(Video)" (or to RGB32???) conversion after converting to YUY2?
Ok, here's the script:
# PLUGINS
LoadPlugin("F:\AUTORV~2.0_B\SOFTS\AVSFILE\MPEG2DEC3.DLL")
LoadPlugin("C:\avs\SmoothHiQ.DLL")
Import("F:\AUTORV~2.0_B\SOFTS\AVSFILE\SCRIPT\FIELDORDER.AVS")
#
# VIDEO SOURCE
Video=Mpeg2Source("F:\VIDEO_ED\TROY\rv10\01\troy_rv10_01.d2v", idct=5 )
#
Video=ConvertToYUY2(Video)
Video=SmoothHiQ(Video,11,25,35,224,5)
#???Video=ConvertTo???(Video)
#
# LIMIT Chroma & Luma Value
#Video=Limiter(Video)
#
# FINISH
Return(Video)
Maybe I simply misused the parameters in "Video=SmoothHiQ(Video,11,25,35,224,5)" (I haven't found any proper documentation for this version)???
P.S. I'm going to encode it with AutoRV10_v1.0_b5 so I can't use AviSynth v. lower than 2.5.5
Of course using SmoothHiQ is an ultimate solution so maybe you know a better way to filter this source (frames - 52Kb and 50Kb). Please tell me :)
ftp://suninthethaw:Greenwinter@ftp.narod.ru/img/Troy_frame_No104590.jpg
ftp://suninthethaw:Greenwinter@ftp.narod.ru/img/Troy_frame_No104590_DistortedColors.jpg
[connection to these links is rather slow :(]
__THANK__YOU__!!!!
The question is (quite a beginner's one in fact)
I've got Avisynth 2.5.5, VirtualDubMod 1.5.10 and an MPEG-2 source which has lots of DCT-caused noise.
What is the best way to filter it using SmoothHiQ without doing too many colorspace conversions (that may affect ?quality? and speed)?
As far as I know, the current version of SmoothHiQ for Avisynth 2.5 (08 Feb 2003) supports only YUY2 whereas AviSynth requires YV12.
So I tried this version and noticed a very strange effect (bug?): when using Diameter=9 or 11 or 13 the picture's colors got corrupted (had pinkish hue).
When I lowered the Diameter (3, 5 or 7), however, it seemed to be ok.
Was I doing anything wrong or maybe it's safer to use the vdf version of the filter?
Also, if using SmoothHiQ.dll for AviSynth should I make a "Video=ConvertToYV12(Video)" (or to RGB32???) conversion after converting to YUY2?
Ok, here's the script:
# PLUGINS
LoadPlugin("F:\AUTORV~2.0_B\SOFTS\AVSFILE\MPEG2DEC3.DLL")
LoadPlugin("C:\avs\SmoothHiQ.DLL")
Import("F:\AUTORV~2.0_B\SOFTS\AVSFILE\SCRIPT\FIELDORDER.AVS")
#
# VIDEO SOURCE
Video=Mpeg2Source("F:\VIDEO_ED\TROY\rv10\01\troy_rv10_01.d2v", idct=5 )
#
Video=ConvertToYUY2(Video)
Video=SmoothHiQ(Video,11,25,35,224,5)
#???Video=ConvertTo???(Video)
#
# LIMIT Chroma & Luma Value
#Video=Limiter(Video)
#
# FINISH
Return(Video)
Maybe I simply misused the parameters in "Video=SmoothHiQ(Video,11,25,35,224,5)" (I haven't found any proper documentation for this version)???
P.S. I'm going to encode it with AutoRV10_v1.0_b5 so I can't use AviSynth v. lower than 2.5.5
Of course using SmoothHiQ is an ultimate solution so maybe you know a better way to filter this source (frames - 52Kb and 50Kb). Please tell me :)
ftp://suninthethaw:Greenwinter@ftp.narod.ru/img/Troy_frame_No104590.jpg
ftp://suninthethaw:Greenwinter@ftp.narod.ru/img/Troy_frame_No104590_DistortedColors.jpg
[connection to these links is rather slow :(]
__THANK__YOU__!!!!