Log in

View Full Version : How to achieve "film look" on PAL DV source


Pages : [1] 2 3 4 5 6 7 8 9

DSP8000
6th January 2005, 18:14
Hi AVIsynth gurus,

I'm just looking for avisynth solution how to make our newborn baby video to have "film look"
The source is PAL DV.

Tnx. in advance

DSP8000

scharfis_brain
6th January 2005, 18:15
deinterlace it.

DSP8000
7th January 2005, 05:55
Thanks scharfis_brain:), but what I meant was something similar like Magic Bullet Movie Looks;).
I can use it within Vegas but it's sooo slooow.

DSP8000

scharfis_brain
7th January 2005, 06:01
send me a before/after Magic-Bullet example.
I do not know, how magic bullets output looks like.

Mug Funky
7th January 2005, 10:29
the later builds of ffdshow can apply dust-and scratch, flicker, noise, lines, etc. you can save a preset from ffdshow config, and load that in avisynth as a plugin. deinterlace first, then run this thing.

also, you can grab a still-frame of your source and mess with the curves in photoshop, then export an ".amp" file from curves (put it on pencil mode to save this format), then load that into RGBlut in masktools.

that stuff should be enough.

but a word of warning - film look is a little too trendy, and in a few years you may regret using such an effect :)

oh, and it's a bit late now, but i hope you shot your movie in 1/50 shutter speed, or it'll look like the start of "saving private ryan" (and not in a good way).

Guest
7th January 2005, 11:36
Magic Bullet can add a combination of deinterlacing->24p/25p/deartifacting and colorgrading+low/high burns/glows to a videoclip. It's not for the 'old flim look' with scratches, dust and grain.

Magic Bullet review (http://www.creativecow.net/articles/onneweer_barend/mb_review/)

Btw. the Bleach Bypass effect of 'Ryan' can be achived by faking the actual lab process of not cleaning out the b&w of the b&w+color combi, by copying your color videoclip, making the new clip b&w, and then mixing the color clip with the b&w clip. Then you will get that high contrast, faded colors look of 'Ryan'. Tutorial (http://www.digitalproducer.com/articles/viewarticle.jsp?id=25010)

Tin2tin

Macanudo
7th January 2005, 14:26
Originally posted by Guest
Magic Bullet can add a combination of deinterlacing->24p/25p/deartifacting and colorgrading+low/high burns/glows to a videoclip. It's not for the 'old flim look' with scratches, dust and grain.

Magic Bullet review (http://www.creativecow.net/articles/onneweer_barend/mb_review/)

Btw. the Bleach Bypass effect of 'Ryan' can be achived by faking the actual lab process of not cleaning out the b&w of the b&w+color combi, by copying your color videoclip, making the new clip b&w, and then mixing the color clip with the b&w clip. Then you will get that high contrast, faded colors look of 'Ryan'.

Tin2tin

I think you may be able to achieve some of the color tone variations from the picture contained in the article you posted, by using gradients and the overlay function in avisynth.

http://img70.exs.cx/my.php?loc=img70&image=magicbullet3de.jpg

Maybe the following Gimp tutorial could be adapted to avisynth. I realize that the tutorial is for toning B&W images, but I think the technique could also be applied to color video.

Gimp Toning Tutorial (http://www.gimpguru.org/Tutorials/SampleToning/)

Thoughts?

Mug Funky
7th January 2005, 14:47
most of that stuff can be mimiced with a good deinterlacer, masktools, and the ability to generate colour-curve presets in photoshop (that's the only part that's not free, i suppose, but it's not essential).

E-Male
7th January 2005, 14:53
http://www.dcs.gla.ac.uk/~jhw/filmy/
http://forum.doom9.org/showthread.php?s=&threadid=85024

very detailed guide how to do it i photoshop, and teh thread i found it in
IMO it's a lil exegarated
most important IMO is the color/saturation/whatever-the-exact term is and if possible the sharpening
everything else is finetuning

a filmlook project in avisynth would IMO be interesting

DSP8000
7th January 2005, 16:35
oh, and it's a bit late now, but i hope you shot your movie in 1/50 shutter speed, or it'll look like the start of "saving private ryan" (and not in a good way).

Funny, that is exactly what we discused over @ Vegas forums:D
Your method is very long proces for me, all that can be done in Vegas with color curves, color correction, deinterlacing, however, by doing this I can get close to Magic Bullet but NOT the same.

The actual "deinterlacing de-artifacts" on MB web look more like de-blocking,smoothing, which can be easy done with AVIsynth.
But the "coloring" just amazes me.
There must be some sort of faster process with AVIsynth, MB is painfully slow, even on faster PC's.

most important IMO is the color/saturation/whatever-the-exact term is and if possible the sharpening
everything else is finetuning

a filmlook project in avisynth would IMO be interesting
I agree fully:)

most of that stuff can be mimiced with a good deinterlacer, masktools, and the ability to generate colour-curve presets in photoshop (that's the only part that's not free, i suppose, but it's not essential).
Mug Funky, can you please do something about that, I'm not that advanced user with masktools, I presume kernel deint. would be good solution.

tnx,
DSP8000

Didée
7th January 2005, 18:05
Someone bring down to the point what's the exact difference between "live" footage and "film look", regarding spatial image information, and the according scripts will spring up like mushrooms.

DSP8000
8th January 2005, 02:45
Very often the term "film look" is misunderstanded as the "old" film like 1960's dust,scratches,lines...

The point is, with today's modern technology regular miniDV user can achieve almost identical final results as the movies we see on DVD's.
Providing that this can be done software wise instantly reduces the overal cost for making great looking home movies.
On top of all this, providing that this can be done in AVIsynth the cost is none,zilch.

I think that almost everyone here has miniDV, shooting techniques combined with carefull planing of your project and final pre/post processing can look as close as the Hollywood movies.
All of these factors are making great need for clever AVIsynth scripting to achieve "The Hollywood Film look"

DSP8000

Macanudo
8th January 2005, 03:17
Originally posted by Mug Funky
...and the ability to generate colour-curve presets in photoshop.

How would these photoshop colour-curve presets be applied in avisynth. I guess what I am asking is what avisynth filter or function would you use to apply them? Overlay? Tweak? ColorYUV? Masktools? or would a new plugin need to be created. As far as creating the colour-curves for free couldn't presets be created in "The Gimp" and built into a function say:

Toning("bleached", startframe, endframe, strength) or
Toning("warm-fuzzy", startframe, endframe, strength) etc.

Edited to include photo from Magic Bullet Suite:
http://img70.exs.cx/img70/5624/magicbullet3de.jpg (http://img70.exs.cx/img70/5624/magicbullet3de.jpg)

or if you wanted to make a custom color-curve

CustomColorCurve("c:\custom-color-curve.gcurve", startframe, endframe, "YlevelsC=0,4,255,0,255",saturation, contrast)

Excuse my exuberance. As an amateur videographer the potential of this is all pretty exciting to me.

Macanudo
8th January 2005, 08:04
Originally posted by Didée
Someone bring down to the point what's the exact difference between "live" footage and "film look", regarding spatial image information, and the according scripts will spring up like mushrooms.

I don't know if this is of any value but here is a download link for the Magic Bullet Suite manual

Magic Bullet Suite Manual (http://www.redgiantsoftware2.com/Magic_Bullet_Manual.pdf)

E-Male
9th January 2005, 00:51
Originally posted by Didée
Someone bring down to the point what's the exact difference between "live" footage and "film look", regarding spatial image information, and the according scripts will spring up like mushrooms.
well, in computer science the actual coding never is the biggest part of the project

as i said there are 2 main steps:

-sharpening
no lack of things to try here

-colors
well, i can't put teh difference in words
have a look at that site i linked, the first step there is an exegarted example including some explaination and a curve-file
maybe that'll help you

Didée
9th January 2005, 04:51
Originally posted by E-Male
well, in computer science the actual coding never is the biggest part of the projectDepends on the definition of "big". For sure the actual coding mostly is the annoying part. Having the idea is the fun part. (And I'm still in search for my personal coding slave ;) ).


sharpening :)


colorsThat's of course the point. But to draw the conclusion right here: there's no such thing like "the" [one and only] film look. There's a rather big number of different techniques that are used from a big number of different studios. Basically one could make anything, and say "that's my 'film look'."


have a look at that site i linkedYes, we had that site mentioned already some time ago.


maybe that'll help youUh, I didn't know that I was the one being on this particular mission?


the first step there is an exegarted example including some explaination and a curve-file Currently I'm away from that of my rigs that has Photoshop installed (besides, I never use it, anyways.) A diagram'ed visualization of those curves would be nice to see. It's better to create something with formulaes through MaskTools's LUT functions, instead of *requiring* AMP files from Photoshop. It's not an application that's present on each and every machine.

Quite some of the steps' techniques of that site's example are similar to what I'm currently implanting into LS-EX. Perhaps (perhaps!) there's time to make an excusion.

Oh, another problem is, one should have DV sources to start with. Having only film sources available isn't a very good base for playing with such processing. I hand the torch on :)

E-Male
9th January 2005, 09:45
i can't add anything to that for the moment

Mug Funky
9th January 2005, 14:59
okay, i've got something going that looks pretty nice on a quick DV shot of myself (i'm not posting this one...):

- deinterlace (i'm using MVbob.selectodd())
- make a blurred clip (bilinear down*2, bicubic(1,0) up)
- greyscale the blurred clip
- run limitedsharpen on the source
- merge the greyscale blurred with the sharp by 33%
- convert to rgb
- apply a preset photoshop .amp file generated from Curves.

the only problem is RGBlut - it doesn't behave as expected with an ampfile. it seems to tint the clip red. perhaps it's only applying the red curve? maybe it's got the channels swapped? who knows. i'll post in the masktools thread so manao can have a look.

one big problem i found with the consumer-level DV camera i've used (and others i've used too) is that it only appears to shoot in 360x576! there's point-upsize artefacts on it. to remedy this (and speed up the deinterlace) i've horizontalreduceby2'd the clip, then lanczos'ed up to 720 again. this helps A LOT. i've experimented with a 32 point FFT lowpass from cooledit (ported to yv12convolution), and the lanczos upsize looks pretty much the same, so that's a big help.

[edit]

disregard the above... i tripped up on the "R=3,G=3,B=3" bit.

[edit 2]

oh, wait. it still doesn't process anything but red... hmm. i'll check my version because this is kinda weird.

[edit... etc]

latest version, still no reds :(

scharfis_brain
9th January 2005, 15:07
one big problem i found with the consumer-level DV camera i've used (and others i've used too) is that it only appears to shoot in 360x576!

For some analogue camcorders I can approve this:
Cheap analogue camcorders had low resoluted CCDs, that showed stairstepping even in a composite signal...
(about 352x576 to 480x576)

But for DV I cannot approve this.
Never seen stairstepping of the horizontal axis.

Of which camera model are you talking about?

Mug Funky
9th January 2005, 15:28
a sony one that i can't recall the model of (pretty old, ca 2000), a canon one (very new - mvsomething), and a panasonic NV-DS15 that i have in front of me. [edit] all PAL

it's a strange effect - i don't know if it's the DV compression or the de-bayer used, but it's not a perfect stairstep - there's a bit of variation in it, but basically it's half-width and point-resized (or really lousy linear, but i doubt it).

i can post frames if you like.

scharfis_brain
9th January 2005, 15:33
Very interesting!
Do all of your mentioned Cams show this behaviour?
May that be a decompression problem on your side?

i can post frames if you like.
I do.
But some frames of untouched DV I would like even more.

CraigBjorn
9th January 2005, 21:37
Film look isn't just something you can do with a push of a few buttons... if you look at even the pictures on the review site they all have at least good composition and lighting. The things you can do to make it look more like film are those sharpening, denoising, and deinterlacing tecniques which are more than plentiful on these boards.

However, I think a very crucucial part to film is the coloring. And anyone good with curves knows how useful they can be to making anwesome picture. The only downside to the current implimitations of curves is that we only have photoshops curves availible for import. If there were a way to import giimp curves I think that would be at least one step closer to a fully free alternative to things like magic bullet.

Didée
10th January 2005, 01:11
Originally posted by CraigBjorn
The only downside .. is that we only have photoshops curves availible for import. If there were a way to import giimp curves .. Photoshop curves. Gimp curves. What about CorelDraw curves? Or PaintShop curves? Personally, I'd like to see PictureWindow curves. Others might prefer even other applications.

I dislike the hooking to specific formats of specific applications. There should be something like a general curve generator. Basically, it's already there: the "adjust.dll (http://www.avisynth.org/warpenterprises/files/adjust_25_dll_20031110.zip)" plugin. Call the filter with your control points as parameter, get the resulting curve. Really a pity that it's "yuy2 only" ... [HINT!] :)

E-Male
10th January 2005, 13:18
i'm busy atm

i'll see next week if i can add something here

E-Male
10th January 2005, 14:49
ok, i couldn't rersist and i think i even got something (very simple but) usefull done this time


Originally posted by Didée
...a pity that it's "yuy2 only" ... [HINT!] :)
http://e-rels.dyndns.org/downloads/adjust.dll

AdjustRGB("R", "G", "B")

needs rgb input (else it'll act like AdjustY using R as Y)

please test


direct gimp input to follow later

E-Male
10th January 2005, 15:21
Gimp color curve file to AdustRGB parameters guide

# GIMP Curves File
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 206 255 -1 255 -1 255 -1 255
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 183
0 0 -1 -1 -1 -1 -1 -1 57 255 -1 255 -1 255 -1 -1 -1 255 -1 -1 -1 255 -1 255 -1 -1 -1 -1 -1 255 -1 255 -1 252
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255

adjustrgb("spline(R,0,0,206,255,255,255 )", "spline(G,0,0,255,183 )", "spline(B,0,0,57,255,255,255 )")

2 numbers are always a pair
just copy them to the parmaters and replace spaces by commas
-1 means same as before, don't put that into AdustRGB (there seems to be no -1s at 255 for whatever reason)

value and alpha (first and last line of numbers) aren't supported (yet)

E-Male
10th January 2005, 19:16
automation is done:
http://e-rels.dyndns.org/downloads/gccp.exe
example:
gccp c:/gimp/testcurve.txt
i wasn't able to put my file-reading code into the plug-in, yet (http://forum.doom9.org/showthread.php?s=&threadid=88041)

CraigBjorn
10th January 2005, 22:52
Wow, that was amazingly quick, I'll have to test it as soon as I have time... the only reasons I had suggest Gimp over anything else was because it's open source, and the spline curve is easily readable, thanx.

E-Male
10th January 2005, 23:13
don't say thx to me before testing
this is very likly to be wrong in some places

for example one thing i'm not sure how to handle atm is this:
sometimes only the 1st of the 2 values in a pair is -1
i can't use that pair, because spline in avisynth won't work with 2 equal x values
but that means that i loose the second value

besides those things i plan to optimize the plug-in as soon as i have file reading added
gotta get rid of the envoke

Macanudo
11th January 2005, 08:27
Thank You E-Male!

I am having difficulty with my Windows install at the moment, and it looks as if I am going to have to do a clean installation. I will have to wait until I have resolved the windows situation to do any testing.

I think this has the potential to be a "very powerful" effects tool. Combined with the de-interlacing solution of your choice, Didee's Limited Sharpen, Gaussian Blur, and Overlay we now have a free alternative to the $1000 "magic bullet suite".

As soon as I have addressed my Windows problem, I will test and post my results and the Gimp Curves I used.

Again,
Thank You

Also, Thank you to Didee, MugFunky and others who contributed.

DSP8000
11th January 2005, 11:41
As I stated in my first post "AVIsynth Gurus" :p , amazing.
Very helpfull people, I didn't test your stuff e-male but looks promising.
Of course if we can get other people involved in the process the plugin could do unreal job.
Tnx. for spending time for this.

DSP8000

Mug Funky
11th January 2005, 12:04
some frames of untouched DV I would like even more.

http://mugfunky.no-ip.info/panasonic_NV-DS15.rar (1,049 KB)

captured direct through fahwah to hard disk. you can hear some piss-boring english history doco in the background probably :)

file is only available while i'm online.

i dug up a test pattern and printed it out, but didn't use a tripod or anything. even so, it should be clear that there's a bit of stairstepping going on. the effect is horribly clear when you separate fields (to eliminate the distraction of interlacing) and look at it like that. also note the horrible rainbows!

please note this is SP mode (though the result is identical in LP or SP regarding the stairstepping).

i'm not sure if there's some hardware deshaking going on, but i've shot stuff without it before that has this same effect.

[edit]

to remove all possible doubt, run this script:
separatefields()

subtract(last,last.blur(1).blur(1))
coloryuv(cont_y=512)

Macanudo
11th January 2005, 16:01
If anyone is interested in testing E-Male's plugin you should check out this site FootageFirm.com. (http://www.footagefirm.com/footage/freeclips/) There is some freely downloadable uncompressed DV footage on the site.

This way we can all use the same clips to do our testing.

E-Male
11th January 2005, 23:13
http://e-rels.dyndns.org/downloads/adjustgimp.dll

example:
adjustgimp("c:/gimp/curve1.txt")

the good things:
-reads gimp color curve files directly
-reads and uses all 5 lines

the bad things:
-untested!! (i hope you guys will do)
-not sure at all if i interpret everything correct (waiting for tests)
-still not sure what to do if only the x coordiante is "-1" (for now dropping the pair)
-no handling of mistyped filenames! (be carefull and remember: "/" not "\")
-still using envoke (gonna put in the spline code later)

Mug Funky
12th January 2005, 02:29
it doesn't appear to be using the luma curve properly, but the colour curves seem to be working okay. (i do contrast adjustment on the luma curve, but colour balance on the r,g,and b curves).

but i've got a gimp curve that looks pretty good so far. need to test it on more images though.

E-Male
12th January 2005, 03:02
i use the first curve on R, G and B
but i guess i need to be corrected on that

Macanudo
12th January 2005, 06:36
I couldn't wait until I fixed my machine to test AdjustGimp, so I am on a friends rig.

I think Mug Funky is right about the value curve not being applied correctly. I used the identical frame in each test.

I took a screen shot plugged it into "The Gimp" and generated a color curve. I then took the curve and plugged it into AdjustGimp.

Here are some screen shots of my results. I am using the boats clip for the source I posted in my above reply.

Original Screen Shot (frame#360)
http://img109.exs.cx/img109/9010/boats9hu.png

Gimp Curve (frame#360)
http://img109.exs.cx/img109/1163/boatsgimpcurve2uo.png

AdustGimp Curve (frame#360)
http://img109.exs.cx/img109/4074/boatsadjustgimp7kb.png

Here is the curve file I used.
# GIMP Curves File
0 0 -1 44 28 43 -1 65 67 96 -1 93 -1 65 -1 140 121 139 -1 -1 -1 204 -1 201 192 190 213 224 -1 221 -1 242 255 255
0 0 -1 56 -1 47 -1 34 61 35 -1 -1 -1 118 -1 110 128 99 -1 98 162 193 -1 213 189 241 -1 236 -1 226 -1 -1 255 255
0 0 -1 -1 -1 -1 -1 49 63 45 -1 47 100 92 -1 149 121 149 151 191 -1 186 -1 192 196 233 -1 228 -1 -1 -1 -1 255 255
0 0 21 38 -1 35 -1 -1 63 53 -1 66 104 65 117 139 -1 138 148 201 -1 203 -1 203 -1 198 -1 -1 -1 -1 -1 -1 255 255
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255

I notice alot of -1 values in several pairings. Could that be the source of the problem? If so would it be ok to manually change those -1 pairings to 0 or 1?

E-Male
12th January 2005, 06:53
if send a mail with questions to the gimp developer maling list
i hope to get the needed info from there to fix that

(-1,-1)-pairs are ignored, which should be correct
what i'm not sure is what to do with (-1,x)-pairs [x>0]
for now i just ignore them, too, which doesn't feel too right

also i'm not sure how to use the value curve at all
so my code for it might be just all wrong

i'll update the dll as soon as i got new infomation to work with

Mug Funky
12th January 2005, 07:13
hmm... by playing with the curve file in textpad and loading it into the gimp, it seems pairs of the form -1,x are ignored, but pairs of the form x,-1 and x,-y are actually plotted with a negative value. also, pairs of the form -x,y are done this way (the curve goes off the screen in these cases it seems).

in fact, there's a lot of points in a curve file that don't seem to be used. i wonder what they're there for? does the gimp need an equal number of points in each curve?

strange. i await the reply on the mailing list...

[edit]

it might just be formatting... i deleted all -1,x points and the file didn't load (no big surprise i guess), but when i changed them all to -1,0 there was no difference in the curve i loaded. i think you probably can ignore these points, but that still doesn't explain why they're there (perhaps when you remove a point while making the curve, it maintains it in the file, but just puts a -1 on it? but then the x coord is lost... very strange)

E-Male
12th January 2005, 07:14
i wrote a little function that allows easy exporting of 4 frames as 1
might help tuning curves in gimp


function prev(clip clp, int a, int b, int c, int d)
{ aa=clp.trim(a,-1).subtitle(string(a))
bb=clp.trim(b,-1).subtitle(string(b))
cc=clp.trim(c,-1).subtitle(string(c))
dd=clp.trim(d,-1).subtitle(string(d))
ra=stackhorizontal(aa,bb)
rb=stackhorizontal(cc,dd)
res=stackvertical(ra,rb)
return( res ) }


enter the 4 frames you want to export as parameters
example:
prev(10, 12, 14, 16)

Macanudo
12th January 2005, 07:56
Originally posted by E-Male
if send a mail with questions to the gimp developer maling list
i hope to get the needed info from there to fix that

(-1,-1)-pairs are ignored, which should be correct
what i'm not sure is what to do with (-1,x)-pairs [x>0]
for now i just ignore them, too, which doesn't feel too right

also i'm not sure how to use the value curve at all
so my code for it might be just all wrong

i'll update the dll as soon as i got new infomation to work with

I sent Gimp's developers a message on one of their mailing lists, requesting the relevant source code for the Curves function. It has been about 3 days now and I haven't had any responses.

The code is available for the entire gimp program, but I was hoping one of the developers would direct me just to the relevant code for Curves.

Since you have more specific questions, you might have better luck. Here is a list of Gimp Developer Mailing Lists
Gimp Links (http://www.gimp.org/mail_lists.html)

I posted my question on the Gmane mailing list under the Gimp Developer heading.

As soon as I hear back I will PM you their response.

Thanks Again,
Macanudo

E-Male
12th January 2005, 08:02
your mail has been answered
see their mail archive
http://www.mail-archive.com/gimp-developer%40lists.xcf.berkeley.edu/msg08867.html
i've answered back to that reply, but my mail hasn't been put on the ML yet

i've looked through the code, too much for me to handle at my current (non-existend) experience

Macanudo
12th January 2005, 11:56
Originally posted by E-Male
...i've looked through the code, too much for me to handle at my current (non-existend) experience [/B]

I can assure you, you are far more experienced than I am. I am barely competent with Avisynth script, which I am sure that there are many on this forum who, if they saw my scripts, could argue that I am not even barely competent in that. :D .

If it is over your head then I am confident it is over mine. I still intend on looking at it to satisfy my curiosity, but I am afraid that it is probably a lost cause.

Macanudo:scared:

By the way thanks for the heads up on the response by the developers.

Something is screwy. I just rechecked my gmail again and I still haven't received any mail for the Gmane mailing list. I received my authorization to post three days ago and sent my reply but nothing since.

CraigBjorn
12th January 2005, 22:34
I really want to test this out, but I recently deleted all the dv files on my hard drive, and the ones at footage firm are huge and Mug Funky isn't online... does anyone know of a place with some short uncompressed dv clips to download?
[edit]The Footage Firms wouldn't be so bad, but they appear to be shot with some good lenses and 3ccd cameras which is going to be better quality than most people's. if we're trying to show the effect of using this kinda stuff on everyday footage.

CraigBjorn
13th January 2005, 00:06
I've been testing, and when I use this curves file

# GIMP Curves File
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255
-1 0 -1 0 -1 0 46 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 217 249 137 255 255
-1 0 -1 0 32 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 249 201 255 255
-1 0 22 0 -1 1 -1 1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255
0 0 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 255 255

It has extreme reds and blues when it should make it a slightly bluish tint. This may be due to the -1's problem though though

Mug Funky
13th January 2005, 03:28
my sample probably isn't much good for getting a film effect - it's just a test pattern under incandescent light - a very quick capture to demonstrate the lack of horizontal res.

btw, it's online now and will be for the next few hours. sorry, i get a lot of downtime on this box, as it's not a dedicated server but a piddly old home machine.

E-Male
13th January 2005, 12:28
@CraigBjorn:

the lines even start with "-1 0"
and i still don't know how to handle (-1,x) pairs

i've now registered to the gimp dev ML as they don't seem to chek mail by non-members
i hope to soon be able to fix it

E-Male
13th January 2005, 23:42
ok, found a stupid bug
instead of the value curve i aplied the alpha curve
please redownload adjustgimp and test, thx

EDIT:
just saw alpha channel is also handled wrong, but i'll only release a fix if someone needs it

E-Male
14th January 2005, 00:41
http://e-rels.dyndns.org/downloads/GiCoCu.dll

gicocu("x:/curve")

-rewritten, envoke replaced, should be much faster but need testing again (or still)
-value and alpha-channel fixed (maybe)
-single "-1"s still not fixed

Mug Funky
14th January 2005, 03:25
nice!

it appears to be using all the curves (haven't checked comprehensively yet, just eyeballed it), but appears more saturated than in the gimp for the same curve. not a big problem of course, and it's possible that virtualdub is causing this somehow (though i don't know why it'd clamp levels if the incoming colourspace is rgb32).

i suggest testing on a 256 pixel wide white to black gradient. that might show things up that natural images might not.

[edit] it's definitely using all the curves. just something slightly off... maybe something's swapped, like green and blue?