07-15-2012, 06:22 PM
|
|
Free Member
|
|
Join Date: Mar 2012
Posts: 43
Thanked 3 Times in 2 Posts
|
|
What purpose does the Chroma Smoother tool in Virtualdub serve, exactly? Say, if you're exporting an uncompressed/ HuffYUV .avi to encode in MPEG-2, wouldn't the MPEG-2 encoder already compress the color to the proper colorspace settings? I see subtle differences when playing around with it, but I just don't see the purpose of it. Can someone please enlighten me on this matter, or at least shed some light on this for me?
|
Someday, 12:01 PM
|
|
Ads / Sponsors
|
|
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
07-16-2012, 12:23 PM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 419
Thanked 89 Times in 74 Posts
|
|
Mpeg2 DVD is ycbcr (4.2.0) and huffyuv is 4.2.2 so there is a mismatch and you should use an avisynth script to fix that with accuracy imo such as:
Code:
mpegsource("blabla")
pointresize(last.width, last.height*2).converttoyv12(matrix="Rec601",interlaced=true).pointresize(last.width, last.height)
|
07-16-2012, 01:03 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 12,869
Thanked 2,346 Times in 2,000 Posts
|
|
Chroma Smoother is a restoration filter. It's chroma noise reduction (NR). It doesn't really have anything to do with the colorspace of MPEG or Huffyuv. It's not a reference to the same sub-topic of chroma.
Use it sparingly, otherwise you'll create "mouse trails" (temporal artifacts).
Good MPEG-2 encoders already properly convert the colorspace. I pretty much only use MainConcept Reference. Sometimes I'll use the Adobe Media Encoder, which is a MainConcept-based MPEG export from Premiere CS3 and CS4. Less often I'll use the free MPEG-2 encoding in Avidemux 2.5, but even that appears to be fine. I don't know that any special Avisynth work is needed when converting lossless AVI to MPEG-2.
I think themaster's script refers to importing MPEG-2, and then processing it.
@themaster1, welcome to the site.
|
07-16-2012, 03:55 PM
|
|
Free Member
|
|
Join Date: Feb 2011
Location: France
Posts: 419
Thanked 89 Times in 74 Posts
|
|
my fault i meant to type
Code:
avisource("blabla") #huffyuv 4.2.2
assumetff (or bff)
pointresize(last.width, last.height*2).converttoyv12(matrix="Rec601",interlaced=true).pointresize(last.width, last.height)
for vhs you'd need something more:
Code:
avisource("blabla") #huffyv 4.2.2
assumetff (or bff)
crop(0,0,0,-1).pointresize(width,height,0,0,width,height).mergeluma(last)
pointresize(width,height,0,1,width,height).mergeluma(last)
pointresize(last.width, last.height*2).converttoyv12(matrix="Rec601",interlaced=true).pointresize(last.width, last.height)
I have tested this on a smpte test pattern
|
07-16-2012, 09:43 PM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 12,869
Thanked 2,346 Times in 2,000 Posts
|
|
@themaster1: Be sure to put Avisynth scripts in the [code][/code] bbcode boxes.
|
07-19-2012, 01:20 AM
|
|
Site Staff | Video
|
|
Join Date: Dec 2002
Posts: 12,869
Thanked 2,346 Times in 2,000 Posts
|
|
Actually, looking back at this, I was thinking of the temporal smoother filter's function, not this one. The temporal smoother only does temporal NR, too, not chroma NR. I just thought this was the chroma version for some reason. (I was tired, probably.) I don't even have the Chroma Smoother filter installed, because it's pretty much useless in my opinion. It's never used.
|
All times are GMT -5. The time now is 05:47 AM
|