Color Correcting the Dragon Box - 3 Part Spectacular

Discussion regarding the entirety of the franchise in a general (meta) sense, including such aspects as: production, trends, merchandise, fan culture, and more.

Moderators: Kanzenshuu Staff, General Help

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Mon Jul 01, 2013 12:17 am

Here's a comparison shot from episode 30. Image
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

AnimeMaakuo
Advanced Regular
Posts: 1462
Joined: Sun Aug 15, 2010 10:10 pm

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by AnimeMaakuo » Mon Jul 01, 2013 1:09 am

Is that from the Blu Ray? :? Here's a color corrected version:

Image
My YouTube

Soppa Saiyjins from Dorgou Ballru Zetto is my favorite transformation everah, especially when Trounksoru did it in front of Seru and when Bejita did it when he faced Jingonigen-hachigo. But for real, I use the FUNi pronunciation. - Soppa Saia People

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Mon Jul 01, 2013 1:16 am

AnimeMaakuo wrote:Is that from the Blu Ray? :? Here's a color corrected version:

Image
Nope it's from the U.S. DBOX vol 1.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

AnimeMaakuo
Advanced Regular
Posts: 1462
Joined: Sun Aug 15, 2010 10:10 pm

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by AnimeMaakuo » Mon Jul 01, 2013 1:17 am

superrayman3 wrote:Nope it's from the U.S. DBOX vol 1.
I'm referring to the picture on the right side. It doesn't look very good.
My YouTube

Soppa Saiyjins from Dorgou Ballru Zetto is my favorite transformation everah, especially when Trounksoru did it in front of Seru and when Bejita did it when he faced Jingonigen-hachigo. But for real, I use the FUNi pronunciation. - Soppa Saia People

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Mon Jul 01, 2013 1:23 am

AnimeMaakuo wrote:
superrayman3 wrote:Nope it's from the U.S. DBOX vol 1.
I'm referring to the picture on the right side. It doesn't look very good.
The pic on the right is from the U.S. DBOX (it's my color correction) and I think it looks pretty accurate (I try to keep the modified color tone and intensity the same as the DBOX footage which is why it looks the way it does).
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

kei17
I Live Here
Posts: 4142
Joined: Wed Dec 05, 2007 9:23 am

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by kei17 » Mon Jul 01, 2013 2:13 am


User avatar
Blade
I Live Here
Posts: 2267
Joined: Sun Jan 01, 2006 2:45 pm
Location: Contrary to popular belief, not on Kanzenshuu forums.

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by Blade » Mon Jul 01, 2013 3:34 am

kei17 wrote:Here's my attempt: http://www.youtube.com/watch?v=7RpMnvxSfYI
Nice! Good job. :thumbup:
'Multiculturalism means nothing in Japan, for every outside culture must pass first through the Japanese filter, rendering it entirely Japanese in the process.' - Julian Cope.

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Mon Jul 01, 2013 11:49 am

AnimeMaakuo wrote:Is that from the Blu Ray? :? Here's a color corrected version:

Image
Ok -- you guys need to tell me what other steps you are doing exactly. That is a nice pic, but when I remove the color cast, I get the following:

Image

In the above picture, I've not tried to alter the sky or anything, but whenever I do try to alter it from that shade of Cyan to the other pictures shade of blue, I always generate some artifacts in the rest of the episode. What other settings are you guys using?

Also, the skins tones and the brown in the shoulder armour is a bit different as well.

I'm just looking for a little bit more advice in terms of how you guys are doing this... is it in VirtualDub? With Which Filters? in AVISynth? Or Photoshop (which can be difficult to export to AVISynth).

(I shouldn't make a lot of difference, but some of the pics being posted are R1 Dbox, the others are R2 DBox -- R1 has back strips on the tops and R2 and them on the sides)

Kei17's version is really nice I should add...
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Mon Jul 01, 2013 12:17 pm

ect5150 wrote:
AnimeMaakuo wrote:Is that from the Blu Ray? :? Here's a color corrected version:

Image
Ok -- you guys need to tell me what other steps you are doing exactly. That is a nice pic, but when I remove the color cast, I get the following:

Image

In the above picture, I've not tried to alter the sky or anything, but whenever I do try to alter it from that shade of Cyan to the other pictures shade of blue, I always generate some artifacts in the rest of the episode. What other settings are you guys using?

Also, the skins tones and the brown in the shoulder armour is a bit different as well.

I'm just looking for a little bit more advice in terms of how you guys are doing this... is it in VirtualDub? With Which Filters? in AVISynth? Or Photoshop (which can be difficult to export to AVISynth).

(I shouldn't make a lot of difference, but some of the pics being posted are R1 Dbox, the others are R2 DBox -- R1 has back strips on the tops and R2 and them on the sides)

Kei17's version is really nice I should add...
In order to change the colors after removing the color cast using virtualdub, you have to manually change the hue and saturation for each color until you get the results you want to see.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Mon Jul 01, 2013 11:42 pm

Thanks for the help to all of those who sent it to me... here are some results I came up with (I have the DBox, the Color Correction, and the Bluray for comparison--- you should be able to tell which is which)

Click to enlarge--

ImageImageImage

ImageImageImage

While I like the results on a single shot, I'm ALWAYS getting artifacts in other scenes. Unless I cut the episode up scene by scene and make custom settings on a per scene basis - it appears I always run into this problem. Gah! The rest of you guys don't seem to alter the hues as much (or just put up with some artifacts in other scenes). There always seems to be a nice trade-off in having a good blue sky or having Bulma's hair correctly colored (I'm basing her hair color off of the animation cels previously posted).

I know Kei17 has posted VHS recordings in the past... did any of those ever show these episodes with Bulma's hair?
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Tue Jul 02, 2013 7:19 am

ect5150 wrote:I know Kei17 has posted VHS recordings in the past... did any of those ever show these episodes with Bulma's hair?
To the best of my knowledge kei has never posted any VHS recordings showing Bulma's hair even though I think I recall either me or someone else asking him to.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Sun Oct 06, 2013 10:09 pm

Sorry for double posting but I thought it was time for a n update, after finally figuring out how to put 2 videos side by side I decided to upload my newest color correction attempt to youtube so you guys can see the results look while in motion as opposed to the usual single frame images I've done in the past http://www.youtube.com/watch?v=4g6pjNunn88 let me know what you guys think.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Sun Oct 06, 2013 11:02 pm

superrayman3 wrote:Sorry for double posting but I thought it was time for a n update, after finally figuring out how to put 2 videos side by side I decided to upload my newest color correction attempt to youtube so you guys can see the results look while in motion as opposed to the usual single frame images I've done in the past http://www.youtube.com/watch?v=4g6pjNunn88 let me know what you guys think.
Since you're updating, I'll post an update on my own. I'm creating my own mini project. The worst episodes seem to be the Vegeta v. Goku fight with the "green sky." So I'm basically going in scene by scene and redoing those episodes (as opposed to episode by episode). Because of the magnitude of adjustment needed for the sky, the standard guide will create artifacts galore. My scripts are sectioning out each episode and applying the color cast in (roughly) 7 sections and then splitting up the episode further to adjust the hues correctly (one episode had 29 sections I think). I've been matching the hues to the Level Sets... but I'm only adjusting hues (not darkness levels or anything like that otherwise the rest of the scene looks funny). For artifacts, I've been using my scripted gradients I mentioned many posts ago in this same thread. So far the results are great as I think I have the blue-est skys I've seen for anyone doing these eps with zero artifacting anywhere (which was the points of this small project). It just takes FOREVER to do an episode with free open source tools. I think I have two more episodes to go before the whole fight is done - at which time I'll post all scripts and whatnot for anyone wanting to replicate.

Here is a small sample video of the work so far and here is a screenshot.

The upper left is the original DBox. The lower left is the color correct version from this thread (my version).
The upper right is the Level Set resized to fit and the bottom right in the Orange Brick just for fun.

Image

Let me know what you think of the comparison video.
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Sun Oct 06, 2013 11:35 pm

Your color correction looks pretty good so far ect5150 but there are some minor issues I'm seeing, for example if you compare Vegeta's hair between all 4 versions you'll notice that in the color corrected shot his hair has a more brownish color to it whereas in the other shots it's more of a black color, not only that but the colors on the color corrected footage look a bit more faded in comparison to the DBOX and the brightness seems to be a bit higher as well causing some of the colors to become harder to see, don't get me wrong you're making good progress but from what I've seen there are a few things that still need a bit more tweaking.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Sun Oct 06, 2013 11:45 pm

superrayman3 wrote:Your color correction looks pretty good so far ect5150 but there are some minor issues I'm seeing, for example if you compare Vegeta's hair between all 4 versions you'll notice that in the color corrected shot his hair has a more brownish color to it whereas in the other shots it's more of a black color, not only that but the colors on the color corrected footage look a bit more faded in comparison to the DBOX and the brightness seems to be a bit higher as well causing some of the colors to become harder to see, don't get me wrong you're making good progress but from what I've seen there are a few things that still need a bit more tweaking.
I see what you mean with the hair... but I feel certain that's due to the color cast removal (although I haven't tested it yet) as opposed to me editing anything else. it's good to get multiple eyes on it.
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Sun Oct 06, 2013 11:54 pm

ect5150 wrote:
superrayman3 wrote:Your color correction looks pretty good so far ect5150 but there are some minor issues I'm seeing, for example if you compare Vegeta's hair between all 4 versions you'll notice that in the color corrected shot his hair has a more brownish color to it whereas in the other shots it's more of a black color, not only that but the colors on the color corrected footage look a bit more faded in comparison to the DBOX and the brightness seems to be a bit higher as well causing some of the colors to become harder to see, don't get me wrong you're making good progress but from what I've seen there are a few things that still need a bit more tweaking.
I see what you mean with the hair... but I feel certain that's due to the color cast removal (although I haven't tested it yet) as opposed to me editing anything else. it's good to get multiple eyes on it.
Maybe it is the result of the color cast removal maybe not no one can really know for sure, each person has their own methods and ideas on how they want to approach color correcting the DBOX footage so there's really no right or wrong way to go about it, with that said I am interested in what you did to get your results.
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Mon Oct 07, 2013 8:29 am

superrayman3 wrote:Maybe it is the result of the color cast removal maybe not no one can really know for sure, each person has their own methods and ideas on how they want to approach color correcting the DBOX footage so there's really no right or wrong way to go about it, with that said I am interested in what you did to get your results.
The only other thing I did besides the color cast and hue adjustment (which was limited to green sky) was the "crush the blues" in the guide to help correct for some yellows and skin tones. It is possible it removed some of the blue in the black areas and caused it to look more brown.

Either way, I'll post an episode's script tonight when I get back home. I think I'll post the Garlic Gun vs KameHameHa episode -- is that ep 30? This way if you want to test it yourself. I'm setting it up so all you'd need is the script and the same plugin in your avisynth directory. Rip the entire episode, from opening to the next episode preview. I'll only mention that I have the R2 Dragon Boxes, so it would be interesting to see if it generates difference on the R1 DBox.
superrayman3 wrote:so there's really no right or wrong way to go about it
The only thing I can say about this is I'm positive it is a step in the correct direction. Perfect? No -- but it makes those episodes much easier to watch since I think they are the worst in terms of the need for this guide.
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

User avatar
ect5150
Advanced Regular
Posts: 1063
Joined: Fri Sep 15, 2006 9:17 pm
Location: Tenkaichi Tournament Grounds

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by ect5150 » Mon Oct 07, 2013 3:03 pm

superrayman3 wrote:Your color correction looks pretty good so far ect5150 but there are some minor issues I'm seeing, for example if you compare Vegeta's hair between all 4 versions you'll notice that in the color corrected shot his hair has a more brownish color to it whereas in the other shots it's more of a black color, not only that but the colors on the color corrected footage look a bit more faded in comparison to the DBOX and the brightness seems to be a bit higher as well causing some of the colors to become harder to see, don't get me wrong you're making good progress but from what I've seen there are a few things that still need a bit more tweaking.
I just checked... it is a "crush the blues" issue, but I can barely tell on my monitor (different brightness levels). I'm considering if I should throw that part out (it does make the skin tones a bit better though).

As far as my script, it's ugly... but here it is... copy and paste it to a text editor. This is episode 32 by the way. I have it sectioned off to look nice for coding purposes. The others aren't as pretty and I need to clean them up at the end of it all.

Code: Select all

############################################################
###   Load files and recontruct the progressive frames   ###
############################################################
LoadVirtualdubplugin("C:\Video\Programs\VirtualDub\plugins\gradation.vdf", "gradation",1)
DGDecode_mpeg2source(".\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
tfm(d2v="VTS_01_1.d2v",slow=2,PP=0,mode=5).tdecimate()

############################################################
###           Color cast removal                         ###
############################################################
ConvertToRGB32(matrix="rec709")
opening = trim(0,2615).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203040505060708090a0b0c0d0e0f10101112131415161718191a1a1b1c1d1e1f20212223242525262728292a2b2c2d2e2f30303132333435363738393a3a3b3c3d3e3f40414243444545464748494a4b4c4d4e4f4f505152535455565758595a5a5b5c5d5e5f60616263646565666768696a6b6c6d6e6f6f707172737475767778797a7a7b7c7d7e7f80818283848485868788898a8b8c8d8e8f8f909192939495969798999a9a9b9c9d9e9fa0a1a2a3a4a4a5a6a7a8a9aaabacadaeafafb0b1b2b3b4b5b6b7b8b9b9babbbcbdbebfc0c1c2c3c4c4c5c6c7c8c9cacbcccdcecfcfd0d1d2d3d4d5d6d7d8d9d9dadbdcdddedfe0e1e2e3e4e4e5e6e7e8e9000102030405060708090a0b0c0d0e0f1112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f5152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdced0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeef0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafb000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffe90000f7ff0000fffb0000ffff")
part1 = trim(2616,18111).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0c0d0e0f101112131415161718191a1b1c1d1e1f20212223242525262728292a2b2c2d2e2f303132333435363738393a3b3c3d3d3e3f404142434445464748494a4b4c4d4e4f50515253545556565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6e6f707172737475767778797a7b7c7d7e7f80818283848586878788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9e9eaebecedeeeff0f1f2f3f4f5000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffff0001020304050608090a0b0c0d0e0f1011121315161718191a1b1c1d1e1f2021232425262728292a2b2c2d2e303132333435363738393a3b3d3e3f404142434445464748494b4c4d4e4f5051525354555658595a5b5c5d5e5f6061626364666768696a6b6c6d6e6f7071737475767778797a7b7c7d7e808182838485868788898a8b8c8e8f909192939495969798999b9c9d9e9fa0a1a2a3a4a5a6a7a9aaabacadaeafb0b1b2b3b4b6b7b8b9babbbcbdbebfc0c1c2c4c5c6c7c8c9cacbcccdcecfd1d2d3d4d5d6d7d8d9dadbdcdedfe0e1e2e3e4e5e6e7e8e9eaecedeeeff0f1f2f3f4f5f6f7f9fafbfcfdfeffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000fff50000fbff0000ecff0000ffff")
eyecatch1 = trim(18112,18279).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfc0001020405060708090b0c0d0e0f10121314151617191a1b1c1d1e2021222324252728292a2b2c2e2f3031323335363738393a3c3d3e3f40424344454647494a4b4c4d4e5051525354555758595a5b5c5e5f6061626365666768696a6c6d6e6f70717374757677787a7b7c7d7e8081828384858788898a8b8c8e8f9091929395969798999a9c9d9e9fa0a1a3a4a5a6a7a8aaabacadaeafb1b2b3b4b5b6b8b9babbbcbdbfc0c1c2c3c5c6c7c8c9cacccdcecfd0d1d3d4d5d6d7d8dadbdcdddedfe1e2e3e4e5e6e8e9eaebecedeff0f1f2f3f4f6f7f8f9fafbfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000fcff0000fffc0000daff0000ffff")
eyecatch2 = trim(18280,18403).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f3031323334363738393a3b3c3d3e3f404142434445464748494b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f7071727374767778797a7b7c7d7e7f808182838485868788898b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f5f6f7f8f9fafbfcfdfeffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f10111213141515161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60616263646566676868696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f90919192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f90001020305060708090a0b0c0e0f1011121314151718191a1b1c1d1e2021222324252627292a2b2c2d2e2f31323334353637383a3b3c3d3e3f4041434445464748494a4c4d4e4f5051525355565758595a5b5d5e5f6061626364666768696a6b6c6d6f7071727374757678797a7b7c7d7e8081828384858687898a8b8c8d8e8f9092939495969798999b9c9d9e9fa0a1a2a4a5a6a7a8a9aaacadaeafb0b1b2b3b5b6b7b8b9babbbcbebfc0c1c2c3c4c5c7c8c9cacbcccdced0d1d2d3d4d5d6d8d9dadbdcdddedfe1e2e3e4e5e6e7e8eaebecedeeeff0f1f3f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000f3ff0000fff90000e2ff0000ffff")
part2 = trim(18404,32431).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203040506070708090a0b0c0d0e0f10111213141415161718191a1b1c1d1e1f20212122232425262728292a2b2c2d2e2e2f303132333435363738393a3b3b3c3d3e3f40414243444546474848494a4b4c4d4e4f50515253545556565758595a5b5c5d5e5f60616263636465666768696a6b6c6d6e6f70707172737475767778797a7b7c7d7d7e7f808182838485868788898a8a8b8c8d8e8f90919293949596979798999a9b9c9d9e9fa0a1a2a3a4a5a5a6a7a8a9aaabacadaeafb0b1b2b2b3b4b5b6b7b8b9babbbcbdbebfbfc0c1c2c3c4c5c6c7c8c9cacbcccccdcecfd0d1d2d3d4d5d6d7d8d9d9dadbdcdddedfe0e1e2e3e4e5e6e6e7e8e9eaebeced000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffff0001020305060708090a0b0d0e0f1011121314161718191a1b1c1e1f2021222324262728292a2b2c2e2f3031323334363738393a3b3c3d3f4041424344454748494a4b4c4d4f5051525354555758595a5b5c5d5e6061626364656668696a6b6c6d6e7071727374757678797a7b7c7d7e8081828384858687898a8b8c8d8e8f91929394959697999a9b9c9d9e9fa1a2a3a4a5a6a7a8aaabacadaeafb0b2b3b4b5b6b7b8babbbcbdbebfc0c2c3c4c5c6c7c8c9cbcccdcecfd0d1d3d4d5d6d7d8d9dbdcdddedfe0e1e3e4e5e6e7e8e9ebecedeeeff0f1f2f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffed0000fbff0000e0ff0000ffff")
credits = trim(32432,34735).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203030405060708090a0a0b0c0d0e0f1010111213141516171718191a1b1c1d1d1e1f20212223242425262728292a2a2b2c2d2e2f3031313233343536373738393a3b3c3d3e3e3f40414243444445464748494a4b4b4c4d4e4f5051515253545556575858595a5b5c5d5e5e5f60616263646565666768696a6b6b6c6d6e6f7071727273747576777878797a7b7c7d7e7f7f80818283848585868788898a8b8c8c8d8e8f9091929293949596979899999a9b9c9d9e9f9fa0a1a2a3a4a5a6a6a7a8a9aaabacacadaeafb0b1b2b3b3b4b5b6b7b8b9b9babbbcbdbebfc0c0c1c2c3c4c5c6c6c7c8c9cacbcccdcdcecfd0d1d2d3d3d4d5d6d7d8d9dadadbdcdd000102030405060708090a0b0c0d0e0f1112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f5152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdced0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeef0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffff0001020305060708090a0b0c0e0f1011121314161718191a1b1c1d1f2021222324252728292a2b2c2d2e3031323334353638393a3b3c3d3e3f41424344454647494a4b4c4d4e4f50525354555657585a5b5c5d5e5f6061636465666768696b6c6d6e6f7071727475767778797a7c7d7e7f8081828385868788898a8b8d8e8f9091929394969798999a9b9c9e9fa0a1a2a3a4a5a7a8a9aaabacadafb0b1b2b3b4b5b6b8b9babbbcbdbec0c1c2c3c4c5c6c7c9cacbcccdcecfd1d2d3d4d5d6d7d8dadbdcdddedfe0e2e3e4e5e6e7e8e9ebecedeeeff0f1f3f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffdd0000f7ff0000e1ff0000ffff")
preview = trim(34736,99999).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f1011131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3031323334353638393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebeceeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0e0f101112131415161718191a1b1c1d1e1f2021222324252728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f4142434445464748494a4b4c4d4e4f5051525354555657585a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7071727475767778797a7b7c7d7e7f808182838485868788898a8b8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbec0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000f8ff0000ffff0000f5ff0000ffff")
last = opening + part1 + eyecatch1 + eyecatch2 + part2 + credits + preview
ConvertToYV12(matrix="rec709")

############################################################
###      Alter the hues to adjust for the green sky      ###
############################################################
part1 = trim(0,2615)
part2 = trim(2616,3362).TweakPart2()
part3 = trim(3363,4279).TweakPart3()
part4 = trim(4280,5655).TweakPart4()
part5 = trim(5656,13088).TweakPart5()
part6 = trim(13089,13419).TweakPart6()
part7 = trim(13420,14705).TweakPart7()
part8 = trim(14706,16879).TweakPart8()
part9 = trim(16880,18111).TweakPart9()
part10 = trim(18112,18403)#EYECATCH
part11 = trim(18404,32431).TweakPart11()
part12 = trim(32432,34735).TweakPart12()
part13 = trim(34736,99999).TweakPart13()
last = part1 + part2 + part3 + part4 + part5 + part6 + part7 + part8 + part9 + part10 + part11 + part12 + part13


#####################################################################################################
### "Crush the blues" -- Skin tones and other browns are a bit too red/pink - this helps adjust   ###
#####################################################################################################
ConvertToRGB32(matrix="rec709")
gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00000000000000000000000000000000000000000001020304050708090a0b0c0d0e0f1011121415161718191a1b1c1d1e1f2122232425262728292a2b2c2e2f3031323334353637383a3b3c3d3e3f4041424344454748494a4b4c4d4e4f5051525455565758595a5b5c5d5e5f6162636465666768696a6b6d6e6f7071727374757677787a7b7c7d7e7f8081828384858788898a8b8c8d8e8f9091929495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabadaeafb0b1b2b3b4b5b6b7b8babbbcbdbebfc0c1c2c3c4c5c7c8c9cacbcccdcecfd0d1d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebedeeeff0f1f2f3f4f5f6f7f8fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffff0000ffff1400ffff0000ffff")
ConvertToYV12(matrix="rec709")

############################################################
####                Grain removal                        ###
############################################################
SMDegrain(tr=2,thSAD=800,search=5,pel=1,blksize=8,RefineMotion=true)

############################################################
###              Cropping and Subtitles                  ###
############################################################
Crop(8,0,-8,0)
TextSub("032.ass")


############################################################
###         Custom Functions for Hue Adjustment          ###
############################################################

function TweakPart2(clip c){  
    last = c.Tweak(startHue=240,endHue=325,hue=-20)    
    return last
}

function TweakPart3(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=290,endHue=295,hue=-23.4) 
    c = c.Tweak(startHue=240,endHue=290,hue=-26.0)
    return c
}

function TweakPart4(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=240,endHue=295,hue=-23.4) 
    return c    
}

function TweakPart5(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0) 
    return c    
}

function TweakPart6(clip c){  
    last = c.Tweak(startHue=240,endHue=325,hue=-14)    
    return last
}

function TweakPart7(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.7)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.4)
    c = c.Tweak(startHue=320,endHue=325,hue=-08.1)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.8)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.5)    
    c = c.Tweak(startHue=305,endHue=310,hue=-16.2) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.9)
    c = c.Tweak(startHue=295,endHue=300,hue=-21.6) 
    c = c.Tweak(startHue=290,endHue=295,hue=-24.3) 
    c = c.Tweak(startHue=240,endHue=290,hue=-27.0) 
    return c    
}

function TweakPart8(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02)
    c = c.Tweak(startHue=325,endHue=330,hue=-04)
    c = c.Tweak(startHue=320,endHue=325,hue=-06)
    c = c.Tweak(startHue=315,endHue=320,hue=-08)
    c = c.Tweak(startHue=310,endHue=315,hue=-10)    
    c = c.Tweak(startHue=305,endHue=310,hue=-12) 
    c = c.Tweak(startHue=300,endHue=305,hue=-14)
    c = c.Tweak(startHue=295,endHue=300,hue=-16) 
    c = c.Tweak(startHue=290,endHue=295,hue=-18) 
    c = c.Tweak(startHue=240,endHue=290,hue=-20) 
    return c    
}

function TweakPart9(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=240,endHue=295,hue=-23.4) 
    return c    
}

function TweakPart11(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0) 
    return c    
}

function TweakPart12(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-03.2)
    c = c.Tweak(startHue=325,endHue=330,hue=-06.4)
    c = c.Tweak(startHue=320,endHue=325,hue=-09.6)
    c = c.Tweak(startHue=315,endHue=320,hue=-12.8)
    c = c.Tweak(startHue=310,endHue=315,hue=-16.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-19.2) 
    c = c.Tweak(startHue=300,endHue=305,hue=-22.4)
    c = c.Tweak(startHue=295,endHue=300,hue=-25.6) 
    c = c.Tweak(startHue=290,endHue=295,hue=-28.8) 
    c = c.Tweak(startHue=240,endHue=290,hue=-32.0) 
    return c    
}

function TweakPart13(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0)
    return c    
}
ect5150
Better to keep your mouth shut and appear stupid than to open it and remove all doubt.
DB DBox color corrections & DBox color corrections.

superrayman3
OMG CRAZY REGEN
Posts: 862
Joined: Thu Oct 13, 2011 10:29 am
Location: West Virginia USA

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by superrayman3 » Mon Oct 07, 2013 5:55 pm

ect5150 wrote:
superrayman3 wrote:Your color correction looks pretty good so far ect5150 but there are some minor issues I'm seeing, for example if you compare Vegeta's hair between all 4 versions you'll notice that in the color corrected shot his hair has a more brownish color to it whereas in the other shots it's more of a black color, not only that but the colors on the color corrected footage look a bit more faded in comparison to the DBOX and the brightness seems to be a bit higher as well causing some of the colors to become harder to see, don't get me wrong you're making good progress but from what I've seen there are a few things that still need a bit more tweaking.
I just checked... it is a "crush the blues" issue, but I can barely tell on my monitor (different brightness levels). I'm considering if I should throw that part out (it does make the skin tones a bit better though).

As far as my script, it's ugly... but here it is... copy and paste it to a text editor. This is episode 32 by the way. I have it sectioned off to look nice for coding purposes. The others aren't as pretty and I need to clean them up at the end of it all.

Code: Select all

############################################################
###   Load files and recontruct the progressive frames   ###
############################################################
LoadVirtualdubplugin("C:\Video\Programs\VirtualDub\plugins\gradation.vdf", "gradation",1)
DGDecode_mpeg2source(".\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
tfm(d2v="VTS_01_1.d2v",slow=2,PP=0,mode=5).tdecimate()

############################################################
###           Color cast removal                         ###
############################################################
ConvertToRGB32(matrix="rec709")
opening = trim(0,2615).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203040505060708090a0b0c0d0e0f10101112131415161718191a1a1b1c1d1e1f20212223242525262728292a2b2c2d2e2f30303132333435363738393a3a3b3c3d3e3f40414243444545464748494a4b4c4d4e4f4f505152535455565758595a5a5b5c5d5e5f60616263646565666768696a6b6c6d6e6f6f707172737475767778797a7a7b7c7d7e7f80818283848485868788898a8b8c8d8e8f8f909192939495969798999a9a9b9c9d9e9fa0a1a2a3a4a4a5a6a7a8a9aaabacadaeafafb0b1b2b3b4b5b6b7b8b9b9babbbcbdbebfc0c1c2c3c4c4c5c6c7c8c9cacbcccdcecfcfd0d1d2d3d4d5d6d7d8d9d9dadbdcdddedfe0e1e2e3e4e4e5e6e7e8e9000102030405060708090a0b0c0d0e0f1112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f5152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdced0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeef0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafb000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffe90000f7ff0000fffb0000ffff")
part1 = trim(2616,18111).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0c0d0e0f101112131415161718191a1b1c1d1e1f20212223242525262728292a2b2c2d2e2f303132333435363738393a3b3c3d3d3e3f404142434445464748494a4b4c4d4e4f50515253545556565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6e6f707172737475767778797a7b7c7d7e7f80818283848586878788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9e9eaebecedeeeff0f1f2f3f4f5000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffff0001020304050608090a0b0c0d0e0f1011121315161718191a1b1c1d1e1f2021232425262728292a2b2c2d2e303132333435363738393a3b3d3e3f404142434445464748494b4c4d4e4f5051525354555658595a5b5c5d5e5f6061626364666768696a6b6c6d6e6f7071737475767778797a7b7c7d7e808182838485868788898a8b8c8e8f909192939495969798999b9c9d9e9fa0a1a2a3a4a5a6a7a9aaabacadaeafb0b1b2b3b4b6b7b8b9babbbcbdbebfc0c1c2c4c5c6c7c8c9cacbcccdcecfd1d2d3d4d5d6d7d8d9dadbdcdedfe0e1e2e3e4e5e6e7e8e9eaecedeeeff0f1f2f3f4f5f6f7f9fafbfcfdfeffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000fff50000fbff0000ecff0000ffff")
eyecatch1 = trim(18112,18279).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfc0001020405060708090b0c0d0e0f10121314151617191a1b1c1d1e2021222324252728292a2b2c2e2f3031323335363738393a3c3d3e3f40424344454647494a4b4c4d4e5051525354555758595a5b5c5e5f6061626365666768696a6c6d6e6f70717374757677787a7b7c7d7e8081828384858788898a8b8c8e8f9091929395969798999a9c9d9e9fa0a1a3a4a5a6a7a8aaabacadaeafb1b2b3b4b5b6b8b9babbbcbdbfc0c1c2c3c5c6c7c8c9cacccdcecfd0d1d3d4d5d6d7d8dadbdcdddedfe1e2e3e4e5e6e8e9eaebecedeff0f1f2f3f4f6f7f8f9fafbfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000fcff0000fffc0000daff0000ffff")
eyecatch2 = trim(18280,18403).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f3031323334363738393a3b3c3d3e3f404142434445464748494b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f7071727374767778797a7b7c7d7e7f808182838485868788898b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f5f6f7f8f9fafbfcfdfeffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f10111213141515161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f60616263646566676868696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f90919192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f90001020305060708090a0b0c0e0f1011121314151718191a1b1c1d1e2021222324252627292a2b2c2d2e2f31323334353637383a3b3c3d3e3f4041434445464748494a4c4d4e4f5051525355565758595a5b5d5e5f6061626364666768696a6b6c6d6f7071727374757678797a7b7c7d7e8081828384858687898a8b8c8d8e8f9092939495969798999b9c9d9e9fa0a1a2a4a5a6a7a8a9aaacadaeafb0b1b2b3b5b6b7b8b9babbbcbebfc0c1c2c3c4c5c7c8c9cacbcccdced0d1d2d3d4d5d6d8d9dadbdcdddedfe1e2e3e4e5e6e7e8eaebecedeeeff0f1f3f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000f3ff0000fff90000e2ff0000ffff")
part2 = trim(18404,32431).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203040506070708090a0b0c0d0e0f10111213141415161718191a1b1c1d1e1f20212122232425262728292a2b2c2d2e2e2f303132333435363738393a3b3b3c3d3e3f40414243444546474848494a4b4c4d4e4f50515253545556565758595a5b5c5d5e5f60616263636465666768696a6b6c6d6e6f70707172737475767778797a7b7c7d7d7e7f808182838485868788898a8a8b8c8d8e8f90919293949596979798999a9b9c9d9e9fa0a1a2a3a4a5a5a6a7a8a9aaabacadaeafb0b1b2b2b3b4b5b6b7b8b9babbbcbdbebfbfc0c1c2c3c4c5c6c7c8c9cacbcccccdcecfd0d1d2d3d4d5d6d7d8d9d9dadbdcdddedfe0e1e2e3e4e5e6e6e7e8e9eaebeced000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f2122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f6162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffff0001020305060708090a0b0d0e0f1011121314161718191a1b1c1e1f2021222324262728292a2b2c2e2f3031323334363738393a3b3c3d3f4041424344454748494a4b4c4d4f5051525354555758595a5b5c5d5e6061626364656668696a6b6c6d6e7071727374757678797a7b7c7d7e8081828384858687898a8b8c8d8e8f91929394959697999a9b9c9d9e9fa1a2a3a4a5a6a7a8aaabacadaeafb0b2b3b4b5b6b7b8babbbcbdbebfc0c2c3c4c5c6c7c8c9cbcccdcecfd0d1d3d4d5d6d7d8d9dbdcdddedfe0e1e3e4e5e6e7e8e9ebecedeeeff0f1f2f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffed0000fbff0000e0ff0000ffff")
credits = trim(32432,34735).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00010203030405060708090a0a0b0c0d0e0f1010111213141516171718191a1b1c1d1d1e1f20212223242425262728292a2a2b2c2d2e2f3031313233343536373738393a3b3c3d3e3e3f40414243444445464748494a4b4b4c4d4e4f5051515253545556575858595a5b5c5d5e5e5f60616263646565666768696a6b6b6c6d6e6f7071727273747576777878797a7b7c7d7e7f7f80818283848585868788898a8b8c8c8d8e8f9091929293949596979899999a9b9c9d9e9f9fa0a1a2a3a4a5a6a6a7a8a9aaabacacadaeafb0b1b2b3b3b4b5b6b7b8b9b9babbbcbdbebfc0c0c1c2c3c4c5c6c6c7c8c9cacbcccdcdcecfd0d1d2d3d3d4d5d6d7d8d9dadadbdcdd000102030405060708090a0b0c0d0e0f1112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f5152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdced0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeef0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffff0001020305060708090a0b0c0e0f1011121314161718191a1b1c1d1f2021222324252728292a2b2c2d2e3031323334353638393a3b3c3d3e3f41424344454647494a4b4c4d4e4f50525354555657585a5b5c5d5e5f6061636465666768696b6c6d6e6f7071727475767778797a7c7d7e7f8081828385868788898a8b8d8e8f9091929394969798999a9b9c9e9fa0a1a2a3a4a5a7a8a9aaabacadafb0b1b2b3b4b5b6b8b9babbbcbdbec0c1c2c3c4c5c6c7c9cacbcccdcecfd1d2d3d4d5d6d7d8dadbdcdddedfe0e2e3e4e5e6e7e8e9ebecedeeeff0f1f3f4f5f6f7f8f9fafcfdfeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffdd0000f7ff0000e1ff0000ffff")
preview = trim(34736,99999).gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f1011131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f3031323334353638393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebeceeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0e0f101112131415161718191a1b1c1d1e1f2021222324252728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f4142434445464748494a4b4c4d4e4f5051525354555657585a5b5c5d5e5f606162636465666768696a6b6c6d6e6f7071727475767778797a7b7c7d7e7f808182838485868788898a8b8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbec0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f3f4f5f6f7f8f9fafbfcfdfeffffffffffffffffffffff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000f8ff0000ffff0000f5ff0000ffff")
last = opening + part1 + eyecatch1 + eyecatch2 + part2 + credits + preview
ConvertToYV12(matrix="rec709")

############################################################
###      Alter the hues to adjust for the green sky      ###
############################################################
part1 = trim(0,2615)
part2 = trim(2616,3362).TweakPart2()
part3 = trim(3363,4279).TweakPart3()
part4 = trim(4280,5655).TweakPart4()
part5 = trim(5656,13088).TweakPart5()
part6 = trim(13089,13419).TweakPart6()
part7 = trim(13420,14705).TweakPart7()
part8 = trim(14706,16879).TweakPart8()
part9 = trim(16880,18111).TweakPart9()
part10 = trim(18112,18403)#EYECATCH
part11 = trim(18404,32431).TweakPart11()
part12 = trim(32432,34735).TweakPart12()
part13 = trim(34736,99999).TweakPart13()
last = part1 + part2 + part3 + part4 + part5 + part6 + part7 + part8 + part9 + part10 + part11 + part12 + part13


#####################################################################################################
### "Crush the blues" -- Skin tones and other browns are a bit too red/pink - this helps adjust   ###
#####################################################################################################
ConvertToRGB32(matrix="rec709")
gradation(1,"000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff00000000000000000000000000000000000000000001020304050708090a0b0c0d0e0f1011121415161718191a1b1c1d1e1f2122232425262728292a2b2c2e2f3031323334353637383a3b3c3d3e3f4041424344454748494a4b4c4d4e4f5051525455565758595a5b5c5d5e5f6162636465666768696a6b6d6e6f7071727374757677787a7b7c7d7e7f8081828384858788898a8b8c8d8e8f9091929495969798999a9b9c9d9ea0a1a2a3a4a5a6a7a8a9aaabadaeafb0b1b2b3b4b5b6b7b8babbbcbdbebfc0c1c2c3c4c5c7c8c9cacbcccdcecfd0d1d3d4d5d6d7d8d9dadbdcdddee0e1e2e3e4e5e6e7e8e9eaebedeeeff0f1f2f3f4f5f6f7f8fafbfcfdfeff000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff","152222202020202020000ffff0000ffff0000ffff1400ffff0000ffff")
ConvertToYV12(matrix="rec709")

############################################################
####                Grain removal                        ###
############################################################
SMDegrain(tr=2,thSAD=800,search=5,pel=1,blksize=8,RefineMotion=true)

############################################################
###              Cropping and Subtitles                  ###
############################################################
Crop(8,0,-8,0)
TextSub("032.ass")


############################################################
###         Custom Functions for Hue Adjustment          ###
############################################################

function TweakPart2(clip c){  
    last = c.Tweak(startHue=240,endHue=325,hue=-20)    
    return last
}

function TweakPart3(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=290,endHue=295,hue=-23.4) 
    c = c.Tweak(startHue=240,endHue=290,hue=-26.0)
    return c
}

function TweakPart4(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=240,endHue=295,hue=-23.4) 
    return c    
}

function TweakPart5(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0) 
    return c    
}

function TweakPart6(clip c){  
    last = c.Tweak(startHue=240,endHue=325,hue=-14)    
    return last
}

function TweakPart7(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.7)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.4)
    c = c.Tweak(startHue=320,endHue=325,hue=-08.1)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.8)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.5)    
    c = c.Tweak(startHue=305,endHue=310,hue=-16.2) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.9)
    c = c.Tweak(startHue=295,endHue=300,hue=-21.6) 
    c = c.Tweak(startHue=290,endHue=295,hue=-24.3) 
    c = c.Tweak(startHue=240,endHue=290,hue=-27.0) 
    return c    
}

function TweakPart8(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02)
    c = c.Tweak(startHue=325,endHue=330,hue=-04)
    c = c.Tweak(startHue=320,endHue=325,hue=-06)
    c = c.Tweak(startHue=315,endHue=320,hue=-08)
    c = c.Tweak(startHue=310,endHue=315,hue=-10)    
    c = c.Tweak(startHue=305,endHue=310,hue=-12) 
    c = c.Tweak(startHue=300,endHue=305,hue=-14)
    c = c.Tweak(startHue=295,endHue=300,hue=-16) 
    c = c.Tweak(startHue=290,endHue=295,hue=-18) 
    c = c.Tweak(startHue=240,endHue=290,hue=-20) 
    return c    
}

function TweakPart9(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.6)
    c = c.Tweak(startHue=325,endHue=330,hue=-05.2)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.8)
    c = c.Tweak(startHue=315,endHue=320,hue=-10.4)
    c = c.Tweak(startHue=310,endHue=315,hue=-13.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-15.6) 
    c = c.Tweak(startHue=300,endHue=305,hue=-18.2) 
    c = c.Tweak(startHue=295,endHue=300,hue=-20.8) 
    c = c.Tweak(startHue=240,endHue=295,hue=-23.4) 
    return c    
}

function TweakPart11(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0) 
    return c    
}

function TweakPart12(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-03.2)
    c = c.Tweak(startHue=325,endHue=330,hue=-06.4)
    c = c.Tweak(startHue=320,endHue=325,hue=-09.6)
    c = c.Tweak(startHue=315,endHue=320,hue=-12.8)
    c = c.Tweak(startHue=310,endHue=315,hue=-16.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-19.2) 
    c = c.Tweak(startHue=300,endHue=305,hue=-22.4)
    c = c.Tweak(startHue=295,endHue=300,hue=-25.6) 
    c = c.Tweak(startHue=290,endHue=295,hue=-28.8) 
    c = c.Tweak(startHue=240,endHue=290,hue=-32.0) 
    return c    
}

function TweakPart13(clip c){  
    c = c.Tweak(startHue=330,endHue=335,hue=-02.4)
    c = c.Tweak(startHue=325,endHue=330,hue=-04.8)
    c = c.Tweak(startHue=320,endHue=325,hue=-07.2)
    c = c.Tweak(startHue=315,endHue=320,hue=-09.6)
    c = c.Tweak(startHue=310,endHue=315,hue=-12.0)    
    c = c.Tweak(startHue=305,endHue=310,hue=-14.4) 
    c = c.Tweak(startHue=300,endHue=305,hue=-16.8)
    c = c.Tweak(startHue=295,endHue=300,hue=-19.2) 
    c = c.Tweak(startHue=290,endHue=295,hue=-21.6) 
    c = c.Tweak(startHue=240,endHue=290,hue=-24.0)
    return c    
}
Your method is very interesting I might try using it in the near future, also I took a look at my episode 30 Vegeta comparison again and I can see why AnimeMaakuo didn't like it, the sky still looked off and the colors had some other issues (namely the colors looked a bit too dark and dulled out) so I went back and did a few tweaks to my settings and this is the result
Image
Image
If anyone has any of the DB/DBZ/DBGT or Maho Tsuaki Sally Japanese single DVD's that they'd be interested in selling send me a PM and I'll see if we can work something out. ;).

User avatar
Attitudefan
I Live Here
Posts: 2963
Joined: Tue Aug 03, 2010 9:51 pm
Location: Canada

Re: Color Correcting the Dragon Box - 3 Part Spectacular

Post by Attitudefan » Tue Oct 08, 2013 8:26 pm

Knowing that Vegeta's hair is brown in many cels, and officially became brown in the anime by the Freeza arc, is his hair a dark red/brown in this battle or particular episodes? I know by the time he gets hit by the genki dama, it shows brown, but what about earlier?
My favourite art style (and animation) outside Toriyama who worked on Dragon Ball: Katsuyoshi Nakatsuru, Masaki Satō, Minoru Maeda, Takeo Ide, Hisashi Eguchi, Katsumi Aoshima, Tomekichi Takeuchi, Masahiro Shimanuki, Kazuya Hisada

Locked