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.

 
Use A Filter Only In Colorcomponents (uv)
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
christian1979
Posted: Feb 4 2013, 08:02 AM


Newbie


Group: Members
Posts: 4
Member No.: 34690
Joined: 14-April 12



Hi :-)

I'm looking for a Tip, how to use a virtualDub-Filter ONLY in the ColorComponents (UV) and not in the Luminance-Channel (Y)....

I have captured an old Hi8-Tape and there are some color-fringing around the border...

look here:
user posted image

Now I use a filter called "Border Controll", to warp the edge outwards...
The Problem is, this filter are applied to the complete Video (YUV Channels)...
But I only want to apply it just to the UV-Color channels!

Can someone help me to find a worklflow to do this in VirtualDub?
 
     Top
Abrazo
Posted: Feb 4 2013, 08:41 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



1) COLORADJUSTMENT
There seems to exist a filter that probably will do what like: yuvsate
I do not know the origin - the readme.txt is not readable to me.

The filters name is yuvsate.vdf and it is dating from 3 may 2003.
A search via Google brought me here:
> http://www.infognition.com/VirtualDubFilters/mirror/
or here:
> http://www.infognition.com/VirtualDubFilte...correction.html (very last one on that page)
It is available as *.rar format.
I suppose you have WinRAR or another tool to extract the *.vdf

Once you have copied the yuvsate.vdf to the \plugins subfolder of your VirtualDub installation, and you start VirtualDub, this filter should be available.

2) BLACK BORDER REMOVAL
To remove the black border around the frames, you can apply the built-in nulltransform or the resize filter and use their 'Cropping...' functionality.
 
     Top
christian1979
Posted: Feb 4 2013, 09:19 PM


Newbie


Group: Members
Posts: 4
Member No.: 34690
Joined: 14-April 12



Hi :-)

Oh no, you have not understand what I mean ;-)

I wanna stretch out the chroma-channels only like in the example!

look here:
user posted image
 
     Top
Abrazo
Posted: Feb 4 2013, 09:50 PM


Advanced Member


Group: Members
Posts: 775
Member No.: 28995
Joined: 5-November 10



Sorry, I am not clever enough to help you.

Myself, I would simply do a 'cropping' of the black borders (included the 'not coloured' borders).
 
     Top
dloneranger
Posted: Feb 5 2013, 06:20 AM


Moderator


Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07



Avisynth can do it
You could load the file as two clips
Crop the second clip to the chroma size, resize it back to the origional size and then merge the chroma from clip two into clip one at 100%

Install Avisynth, then make a new text file somewhere
Copy the following into the text file but change the filename and the crop numbers
Rename the text file to something like MyVideo.avs
Load that .avs file with Virtualdub

eg
CODE
#replace filename with the real one
a=avisource("c:\myfile.avi")

#change the crop numbers to cut off the extra pixels you don't want in the chroma
#numbers = left, top, -right,-bottom
#because it's yv12 the numbers have to be multiples of two
b=a.crop(4,4,-4,-4).bilinearresize(a.width,a.height)

done=mergechroma(a,b,1.0)
return(done)



--------------------
MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask
Windows7/8 Codec Chooser
All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3
 
    Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
4 replies since Feb 4 2013, 08:02 AM Track this topic | Email this topic | Print this topic

<< Back to VirtualDub Filters and Filter Development