- Post
- #581478
- Topic
- Info: Get rid of the Chroma Shift in Empire (GOUT)
- Link
- https://originaltrilogy.com/post/id/581478/action/topic#581478
- Time
Thanks Red5! I'll update the script again.
Any other spots left to add or remove?
Thanks Red5! I'll update the script again.
Any other spots left to add or remove?
msycamore said:
Great, will update the first post with your scripting You_Too. Thanks!
Before I update the first post, are we sure this blue shift is present on all those parts in the transfer?
No problem! :)
It would take a lot of analyzing to be 100% sure, but after checking some of the scenes it does look like all the chroma was shifted in all of them, so C=2 fixes what V=2 did not.
Check for example the blue lights in the Falcon cockpit, they look correct now. I also checked the "I am your father" part, and most of the blue looks more correct there.
It seems though, that in some scenes the blue is differently shifted over the image but I guess we can't do much about that unless somebody wants to do a scene by scene correction. I sure am happy with this fix since it does fix the worst of the problems.
msycamore said:
Also, another sequence that may need some correction is the first establishing shot of the rebel fleet at the end of the film, if you guys check it out, there's red seen around the edges at the top of the medical frigate that looks suspicious.
I think that's gotta have something to do with how they made those scenes. There are shots in the Falcon cockpit where the window edges and edges of Han and Chewie's heads have a blue tint. Probably the same thing.
EDIT: Tried shifting the chroma to the left in the rebel fleet scene, and it seems I was right, because now it looked even worse. Instead there was a red edge around the left of the ships.
Red5, you're right! ChromaShift(V=2) doesn't shift all chroma, but adding U=2 makes sure it does. Or changing it to ChromaShift(C=2).
Updated my earlier post with the script. (I had missed one part too that I added)
msycamore said:
Nice, great job You_Too! Thanks. Also, can we get a screenshot of your fix?
Thanks. Actually, when looking at it again, it seems shifting blue by 1 was better than 2. When shifting by 2 it fixed the upper right part better, but in the rest of the picture it looks like the blues are too far to the right. Updated it in my post.
And here's a pic:
On the other hand, since that scene begins with a spinning fade from another scene without the blue shift, I guess it would need some additional scripting to make sure only this shot gets changed. Something I don't know how to do.
Red5 said:
^ Yeah it's true you can't fix that with the chromashift filter
You can, if you do it something like this:
ConvertToRGB32()
ChromaShift(B=1)
ConvertToYV12()
ChromaShift(V=2)
And by the way, in case anyone wants to implement msycamore's fix into their GOUT projects, here's the code you need:
chroma=last
a=trim(chroma,0,90887)
b=trim(chroma,90888,96324).ChromaShift(C=2)
c=trim(chroma,96325,96446)
d=trim(chroma,96447,96650).ChromaShift(C=2)
e=trim(chroma,96651,96945)
f=trim(chroma,96946,97040).ChromaShift(C=2)
g=trim(chroma,97041,97529)
h=trim(chroma,97530,106132).ChromaShift(C=2)
i=trim(chroma,106133,129145)
j=trim(chroma,129146,129574).ChromaShift(C=2)
k=trim(chroma,129575,150203)
l=trim(chroma,150204,155767).ChromaShift(C=2)
m=trim(chroma,155768,155837)
n=trim(chroma,155838,159587).ChromaShift(C=2)
o=trim(chroma,159588,159652)
p=trim(chroma,159653,163075).ChromaShift(C=2)
q=trim(chroma,163076,163145)
r=trim(chroma,163146,165306).ChromaShift(C=2)
s=trim(chroma,165307,165516)
t=trim(chroma,165517,166149).ChromaShift(C=2)
u=trim(chroma,166150,166213)
v=trim(chroma,166214,168066).ChromaShift(C=2)
w=trim(chroma,168067,168236)
x=trim(chroma,168237,168761).ChromaShift(C=2)
y=trim(chroma,168762,168849)
z=trim(chroma,168850,169402).ChromaShift(C=2)
z2=trim(chroma,169403,169484)
z3=trim(chroma,169485,169928).ChromaShift(C=2)
z4=trim(chroma,169929,170763)
z5=trim(chroma,170764,170858).ChromaShift(C=2)
z6=trim(chroma,170859,170978)
z7=trim(chroma,170979,172852).ChromaShift(C=2)
z8=trim(chroma,172853,0)a+b+c+d+e+f+g+h+i+j+k+l+m+n+o+p+q+r+s+t+u+v+w+x+y+z+z2+z3+z4+z5+z6+z7+z8
corellian77 said:
^ So basically, if in doubt, just change the colour of everything to green ;)
Like they did with the Fellowship of the ring extended blu-ray? :)
Nah seriously, good job msycamore finding that stuff. Me and DJ have been talking about fixing some of those color errors too.
pittrek said:
I hope George hires somebody who will take some "measurements" how many people will download these preservations and recreation and understand that he can make more money if he releases the movies officially.
George knows very well that the originals would sell way better than the special editions. He just wants people to watch his "vision" and forget the original magic. And it's not like he's in need of money.
That said, I'm also glad this site exists, and it's hard-working members!
Great, the cleaner the better!
Hey Brooks, welcome to the forum!
Which versions are worth working on depends on who you ask. Every version has it's pros and cons and there's always someone who prefers a specific version in their collection. If you wanna experiment yourself, simply choose the one you like the most!
Though I'd say you won't even need to do it yourself, since there are so many projects going on here that you'll most likely find something perfectly suiting your taste.
It's great to know those reels are in good hands. Keep up the good work guys!
Good news! Thanks for the update.
Weird, I hadn't even noticed this until now!
Is the chroma shift only happening in ESB?
@bkev: Infinity is right, I wasn't involved in the V3 DVD project. That one's DJ's own work.
Back when we talked about the subs, DJ told me he won't include any foreign audio. I think it's because of the already included tracks filling up the disc along with the video track. So those who want foreign audio will probably have to remux the discs themselves.
Thanks everyone for your nice comments! Makes it feel even better to work on this project, knowing that you appreciate it.
Here's another little teaser for you guys: (click for full size)
The theatrical subs are layered over the film before the upscaling, to create the illusion of them being part of the source.
schorman13 said:
Maybe I missed it earlier in the thread, but are you putting back the 1 or 2 missing frames per film that were present on the PAL versions and are missing from the NTSC? I know you're using the PAL version of Jedi, but I think it's missing a frame compared with the NTSC.
If you mean frames that are completely missing, we won't do it. If you mean the ones looking like they were badly deinterlaced we will fix them.
toho-scope said:
there is the 97/2004 SE for some of the DVNR'd scenes like the 4 eyed stormtrooper and Luke in Bens hut which with some separate colour correction would fit in fine
The 2004 SE wouldn't fit in that good since it's much "cleaner" than the GOUT. It would be very visible at which parts it had been used to fix it. The 97 SE is more rough-looking.
But like I've said, we have too much to do already! And on the other hand, the same smearing as in the 4-eyed trooper scene is all over the movie, it's just more visible in some parts than others. If fixing those parts, they might even look weird and stand out being clean instead of moving along like the other parts.
Instead, think about how much has actually been improved!
Ok, it's finally time for an update! I know some people have really waited for it.
Like we said earlier, we took a break for some weeks after the not so successful last renders with the color bleeding, flickering etc. After that, I changed our script a lot and also found what caused the bleeding and managed to find a safe method for us to do this with the result coming out perfect.
The script is now using a motion-compensated antialiasing which also reduces the flicker a lot. It digs up even more detail from within the grain than the old script so what comes out is about as good as the GOUT can possibly look.
There's some other stuff included too like stabilization of the gate weave and some slight automatic dirt removal. Before the older script I spent weeks on finding the best setting for the dirt removal, since not only did it's default settings remove stars in space-scenes, it also caused even more smearing. Now it's set to only remove dark dirt, which means it leaves the stars and other bright stuff intact. It's also very careful with what dirt it removes so it's not all removed, only some of the worst. This especially works great in scenes where most of the picture isn't moving. And yes, it is carefully tested in all kinds of scenes so no worries!
What we're currently working on is what we called cleanup of bad frames. We've been going through the films frame by frame, writing down every point where there's something very distracting like glue marks, burn marks, big dirt spots, dirt in people's faces or other points of focus, sudden scene-shift flashes etc. DJ then extracts these parts as image files and I clean them up in photoshop.
Naturally, this means a lot of work for both DJ and me since there's hundreds of these frames in each film, but we both agreed that it will be worth it in the end. (I even tried making a script that did this automatically but it looked horrible compared to doing it manually.)
Note that we won't clean up color errors, (such as Vader's green lights being red) DVNR errors, (like blaster bolts being completely removed from some frames) or stuff like the 4-eyed trooper. All those things would take an eternity to fix and require even more frame by frame analyzing work.
Anyway, here are some samples for you of before and after cleanup. (Click the pics for full size)
Glue marks in the bottom of the frame:
Dirt and smearing after a scene-shift:
Dirt and colored flash before an angle-shift: (This one was extremely tough to clean up properly)
As you probably understand, this process will take months to complete and we can't possibly tell when it will be finished. Once the cleanup is done, DJ has some huge script work to do to reinsert all the extracted parts.
We hope that all who are interested in this project will wait, no matter how long it takes, because we believe it will be worth it.
Just wanted to tell everyone that I have this up on sendspace if anyone is having trouble with the other links.
LexX said:
Will you be fixing those weird color moments from the GOUT, like lasers, Vader's lights, Luke's garage etc.? Didn't know you were fixing up dirt and glue.
We will post more info on this later in that thread.
We won't fix Vader's lights and that stuff though. We have way too much work on our hands already!
First of all, the thing with films on PAL DVDs is that they're in 25 frames per second, when film is originally in 23,976. (or 24p as that's usually called)
So when they convert films to PAL they also speed up the audio slightly which means everything sounds just a little off pitch, compared to the original.
On NTSC DVDs, encoding 24p is on the other hand possible. NTSC has slightly lower vertical resolution than PAL but most of the time it's not noticeable.
That said, I think most projects here are in NTSC if they're on DVD since that stays more true to the original.
Which one is the best is a matter of opinion. Nowadays, people often choose between Harmy's despecialized edition and dark_jedi's V3. Harmy's version is based on the special edition HDTV and blu-ray versions, from which he's been doing an amazing job on removing the CGI. DJ's V3 is based on the 2006 bonus DVDs (GOUT) which he stabilized and converted to real widescreen.
In both you can also find some high quality audio tracks mixed by hairy_hen, which aims to replicate the original theatrical audio.
If you want Harmy's version on DVD I guess there is some software to easily convert it, but since you have a HDTV I'd say try to watch it in it's full resolution!
Me and DJ are also working on a new version for blu-ray where we've upscaled the 2006 bonus DVDs, improved the colors and cleaned up film dirt and glue. It'll most likely take us a long time to finish this project though.
I remember this game from when it was released. I think I still have it somewhere. Even though it wasn't that good it sure had it's fun moments.
Oh those ugly glue marks... ESB is full of them.
Anyway, what I find most interesting here is the difference in the color timing between the GOUT and your laserdisc shot.
I liked it! Especially the part where Vader is stuffing the donut into his breathing vent.
And of course, a big plus for using the "Wilhelm scream". :)
TServo2049 said:
And I know snicker says there aren't many green clipping issues, but I'm noticing that the green reflection on R2's translucent circle also seems to be overpowering compared to the 70mm frame. Is that evidence of green clipping?
It sure looks like they've pushed those strongest greens up a bit too. The green light in the upper part of the image is also too strong on the blu-ray.