Fine, I checked it with small modifications for PAL
swse=mpeg2source("d:\STAR_WARS_EPISODE_IV\VIDEO_TS\se.d2v").AssumeFPS(23.976).Lanczos4Resize(720, 480).trim(711,0).ConvertToYV12()
sw=mpeg2source("d:\STAR_WARS_GOUT\VIDEO_TS\new.d2v").AssumeFPS(23.976).Lanczos4Resize(720, 480).trim(689,0).ConvertToYV12()
optitle=mpeg2source("d:\STAR_WARS_GOUT\VIDEO_TS\new.d2v").AssumeFPS(23.976).Lanczos4Resize(720, 480).trim(0,688).crop(6,102,-2,-104).NNEDI2(dh=true, field=0).NNEDI2(dh=false,field=1).spline64resize(720,366).ConvertToYV12()#
And in the end ....
borders=edit1.ConvertToYUY2().addborders(0,57,0,57)
return borders.Lanczos4Resize(720, 576).AssumeFPS(25)
In other words, I had to slow down every video source to 23.976 fps and resize it to 720x480, but then I had to convert the colorspace to YV12, or else I got an error message,
At the end I had to convert it to YUY2() (again an error message if I kept the video in YV12) , resize it to 720x576 and speed it up to 25fps.
The resulting video looks very nice, but there are several problems
1) My blockade runner scene is still blue. Less blue than the original SE footage, but much more blue than your pic (differences in PAL / NTSC sources ??? )
2) The GOUT colors are NOT the correct representation of the theatrical version, the GOUT video is red-shifted. Maybe it wouldn't be a bad idea at all to make a very basic video correction before any processing ?
3) You missed some SE changes, check doubleofive's list
4) Saturation increase would be a good idea :-)
5) The "Move along, move along" sequence has a small repeating segment, first time it includes the footage from the SE, then the same part from the gout. I don't know if it's an error with your script or if it's again a difference between the PAL and GOUT versions.
Still, a VERY good script