Log in

View Full Version : Converting B&W to Sepia


r6d2
16th July 2003, 04:26
Hi folks,

I am about to encode a classic, it's in B&W (I guess the technical name would be greyscale).

Does anyone can give me a hint on how to convert it to sepia, using an AviSynth filter?

FredThompson
16th July 2003, 05:15
RGBAdjust()
ColorYUV()

Can't tell you what settings to use but those are probably what you're looking for.

When you figure it out, please post your settings.

manono
16th July 2003, 06:12
Hi-

I've fooled around tinting old silent films. Here's my method, which has been adapted from other scripts I've found here and there (sh0dan and mf are the inspirations, I think):

First make an .avi following some variation of this script:

BlankClip(Color=$CC9933)
ConvertToYV12()
LanczosResize(512,384)

Choose whatever RGB values you want. This is a kind of brownish yellow (is that sepia?). Making the .avi takes no time at all, but I've wasted a lot of time trying to get the exact color I want. Then, if the name of the .avi is Color.avi, tint your main movie like so:

LoadPlugin("F:\DivX Stuff\GKnot\2.5Plugins\mpeg2dec3.dll")
A=Avisource("D:\Chaplin\Color.avi")
mpeg2source("D:\Chaplin\Chaplin.d2v")
crop(10,0,700,476)
LanczosResize(512,384)
MergeChroma(A,0.7)

Strengthen or weaken the influence of the color by adjusting that 0.7 up or down.

FredThompson
16th July 2003, 06:36
I'm working on some stuff with a guy who is really into old films. I'll ask about true sepia seed color.

sh0dan
16th July 2003, 15:42
Mergechroma is probably the easiest way to control. Coloryuv(off_u=something, off_v=something_else) is probably the fastest way.

lpn1160
17th July 2003, 06:46
Just out of curiosity, I experimented a little trying to get a "good sepia color" the settings I used on an already greyscaled clip was this:
Coloryuv(off_u=-22, off_v=25)
thought it pretty decent, but one can use this as a starting point to tweak to their own liking, and depending of course on their input clip

r6d2
17th July 2003, 16:05
Thanks, folks, both solutions work great on preliminary tests I've done.

I will post my final settings when I finish.

Thanks a lot again.

r6d2
19th July 2003, 16:59
Ok, this worked for me:

ColorYUV(off_u=-32, off_v=32)

Thanks again, folks.