Hello guest, if you like this forum, why don't you register? https://fanrestore.com/member.php?action=register (December 14, 2021) x


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
projects sandbox
#81
(2018-04-11, 03:00 PM)random.next Wrote:
(2018-04-11, 01:31 PM)TomArrow Wrote: UAR is not something I'm that excited about when it comes to this movie, but in an attempt to make this project a thing after all, I decided to replace all shots that are mostly cropped/zoomed in with the scope version. I lose a liiiittle bit of headroom, but I gain much more on the sides and my main complaint with the Open Matte was always that the resolution in the VFX shots seemed to suffer, so hopefully that will alleviate it.

Also interesting: The Open Matte version syncs 100% with the scope version except for a shot around the middle of the movie where Preston exits his car. In the scope version, the shot of him reaching down to the car keys inside the car is slightly longer and there's an additional shot of the car keys actualy getting turned around/pulled out, where the Open Matte cuts straight to the outside and the door opening. No idea why they chose to do that, nor which version is the "proper" one.

VAR could be easy made with AutoOverlay in automatic mode. You need to use StaticOverlayRender which choose widescreen or open matte depends on auto-align values. Auto-align could be performed in low resolution to save time.

Thanks, random.next, that sounds good. But I don't want to actually render it through AVISynth, I only want to find the right shots and then make the render using TMPGEnc Smart Renderer 5, so I need some kind of list as an output. I could probably somehow parse your overlaystat file, but I am not sure how yet, as it is some binary form. If there was a way to convert it to XML or something, that would be great.
Reply
Thanks given by:
#82
TomArrow, talking of xml files, do you think it would be possible to take my MIGP xml edit settings from Videoredo and open them in TMPGenc Smart Renderer. I've already used the trial for that program so can't check myself if it would work and don't want to buy the program if ur doesn't.
Reply
Thanks given by:
#83
(2018-04-11, 03:15 PM)TomArrow Wrote:
(2018-04-11, 03:00 PM)random.next Wrote:
(2018-04-11, 01:31 PM)TomArrow Wrote: UAR is not something I'm that excited about when it comes to this movie, but in an attempt to make this project a thing after all, I decided to replace all shots that are mostly cropped/zoomed in with the scope version. I lose a liiiittle bit of headroom, but I gain much more on the sides and my main complaint with the Open Matte was always that the resolution in the VFX shots seemed to suffer, so hopefully that will alleviate it.

Also interesting: The Open Matte version syncs 100% with the scope version except for a shot around the middle of the movie where Preston exits his car. In the scope version, the shot of him reaching down to the car keys inside the car is slightly longer and there's an additional shot of the car keys actualy getting turned around/pulled out, where the Open Matte cuts straight to the outside and the door opening. No idea why they chose to do that, nor which version is the "proper" one.

VAR could be easy made with AutoOverlay in automatic mode. You need to use StaticOverlayRender which choose widescreen or open matte depends on auto-align values. Auto-align could be performed in low resolution to save time.

Thanks, random.next, that sounds good. But I don't want to actually render it through AVISynth, I only want to find the right shots and then make the render using TMPGEnc Smart Renderer 5, so I need some kind of list as an output. I could probably somehow parse your overlaystat file, but I am not sure how yet, as it is some binary form. If there was a way to convert it to XML or something, that would be great.

It is binary for fast seeking. The format is simple:
1 byte header (version of stat file format)
then frame sequence:
4 bytes frame number 
4 DIFF*1000 value
2 bytes top left corner X coordinate of overlay image
2 top left corner Y coordinate of overlay image
2 overlay image width 
2 overlay image height
2 left subpixel cropping*10000
2 top subpixel cropping*10000
2 right subpixel cropping*10000
2 bottom subpixel cropping*10000
2 rotation angle*100

Anyway the easiest way is to use CustomOverlayRender function and write to file all frames by given condition using avisynth's WriteFile function.
Reply
Thanks given by:
#84
@random.next

Thank you! I'd like to try the WriteFile method.

So far I have created a script that very reliably aligns both sources and creates what spoRv would call "UAR". How do I go from here? I have found no mention of StaticOverlayRender or CustomOverlayRender in the readme.

Here's the script so far:

Code:
ClearAutoloadDirs()

Loadplugin("C:\Program Files (x86)\AviSynth\plugins\mvtools2.dll")
Loadplugin("C:\Program Files (x86)\AviSynth\plugins\ffms2.dll")
Loadplugin("C:\Program Files (x86)\AviSynth\plugins\AvsFilterNet.dll")

jpn = FFvideosource("J:\Eigene Filme\EquilibriumOpenMatte\japandisc.mkv")
om = FFvideosource("J:\Video\EQUILIBRIUM_OM\title00.mkv")
#hddvd = FFvideosource("J:\Einordnen\Equilibrium HDDVD\Equilibrium.HDDVD.mkv")

oms = BlankClip(om,360) ++ om.Trim(0,70261) ++ BlankClip(om,31) ++ om.Trim(70262,om.frameCount)

jpnc = jpn.Crop(0,130,0,-130)

config=OverlayConfig(subpixel=2,minOverlayArea=50,minSourceArea=50,scaleBase=1.5,minSampleArea=100,requiredSampleArea=200,acceptableDiff=15,aspectRatio1=1.7,aspectRatio2=1.8)
OverlayEngine(jpnc.ConvertToY8(), oms.ConvertToY8(), configs=config,editor=false,maxDiff=5)
OverlayRender(jpnc.ConvertToYV24(), oms.ConvertToYV24(), debug=false, noise=0,\
upsize="Spline64Resize",downsize="Spline64Resize", mode=3, gradient=10,coloradjust=0,width=1920,height=1080,opacity=1)
ConvertToRGB24()
Reply
Thanks given by:
#85
Instead of regular OverlayRender you need to define custom function and use CustomOverlayRender as described here: https://fanrestore.com/thread-1974-post-...l#pid39688
Sample:
Code:
OverlayEngine(src, over)

CustomOverlayRender(src, over, "custom")

function Custom(clip engine, clip src, clip over, int x, int y, float angle, int width, int height, float cropLeft, float cropTop, float cropRight, float cropBottom, float diff) {
    if (width*height > someValue) {
        return over
    } else {
        return src
    }
}
Reply
Thanks given by:
#86
Thanks, random.next, good to know! Since I was impatient, I wrote myself a php parser for the statfile and used that. Had to do some fixes where the overlay wasn't perfect but otherwise worked perfectly. Thanks again for your great plugin.
Reply
Thanks given by:
#87
This auto align stuff really is next level stuff for me, but amazing to watch unfold before my eyes.
I'm currently on a Avisynth learning curve so I hope in the not to distant future to implement this method properly into my arsenal.
Reply
Thanks given by:
#88
Hey guys, any Star Trek TOS fans out there?

It appears there's no DVD/BR release that is genuine to the original masters.

Only VHS & LDs, both masters being the same, all having the original mono mixes.

Here's a descrition I found.

There was never a 100% accurate release of the original series on home video. There was always some form of editing. Just a short list:

VHS: the first season opening theme was standardized so the electric violin theme was only heard in "Where No Man Has Gone Before." Gene Roddenberry's up front "created by" credit for The Man Trap and Charlie X were moved to the end of the episodes (these may have been “first rerun” prints). The sound mix was fiddled with here and there but for the most part, it was pretty faithfully reproduced to my knowledge (City on the Edge of Forever had very objectionable music replacement when they couldn't secure the home video rights to "Good Night Sweetheart"). The Paramount Logo at the end of the 1968 episodes of the second season was replaced by the third season logo (exception being The Omega Glory, which retained it on the Columbia House VHS print only). Depending on whether you got the Colombia House releases of the Paramount HV single episode tapes, some scenes were missing in a small # of episodes.

DVD: the sound mix was brutalized, adding the exterior engine rumble (which was phased out midway through the first season) to the entire series. The Menagerie part 2 had some music cues replaced for whatever reason by rerecordings and cues from The Doomsday Machine (you can still hear this on the stereo track on the blu-rays). Balance of Terror now has a photon torpedo sound effect over the shots of the "proximity blast" phasers, where they were originally silent. The electric violin theme was restored to the opening credits of the first season, but on far too many episodes (including Balance of Terror and The Corbomite Maneuver which always had the cello theme). The end credits of the electric violin themed episodes still retain the cello version from their 80's revisions.

BD: the sound mix was screwed with again. The "original broadcast mono track" still is wrong, with the engine rumble prevalent and sometimes VERY LOUD in a few first season episodes, drowning out the captains log entries. The only accurate post first season episode appears to be Amok Time. New sound effects overlay some scenes (Errand of Percy and The Paradise Syndrome). The new CGI opening theme is seen in one episode of the first season no matter which version you choose.
Reply
Thanks given by:
#89
As far as Star Trek goes, TOS is definitely my favorite, but I really only watched through it once and that was it. Definitely interesting information, but what bothers me more about the Blu Rays is all the special effects that were remade in 3D, which imo looks like shit.
Reply
Thanks given by:
#90
You have the option of the original VFX, so it's no hassle (though I believe there were a couple of branching errors).
Alas the sound is the worst changed, it's weird that on OT no one has ripped the LDs yet as far as I know.
Also the HD versions look like video, but I don't mind as the original DVDs have great filmic quality.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
  Forbidden Zone and Animatrix potential projects Amadian 0 680 2023-01-19, 02:42 PM
Last Post: Amadian
  [Help] Materials to help with future projects alleycat 15 8,568 2021-06-23, 01:50 PM
Last Post: alexpeden2000
  [Idea] A several projects journey (Any interests in this ?) monks19 0 1,527 2021-01-27, 01:54 PM
Last Post: monks19
  [Help] Should I add 5.1 upmixes for my SDU4 decodes in projects? deleted user 3 3,036 2019-10-13, 12:00 AM
Last Post: zoidberg

Forum Jump:


Users browsing this thread: 1 Guest(s)