Log in

View Full Version : [Solved] Colour mark detection for frames remouval in 8mm/S8 transfer


Pages : 1 [2]

StainlessS
22nd May 2021, 02:14
Oops, post #48 was broken as Avisynthesizer_Mod template, fixed.

Well not really the script that was broken, original Avisynthesizer expects name of form

#ASYNTHER Just a simple template
[AVISource("___FILE___")]

so group selection of files "foo.avi" and "bar.avi", and sent to avisynthesizer will produce

#ASYNTHER Just a simple template
AVISource("foo.avi") + AVISource("bar.avi")


The square brackets in the template, mark a repeating section, joined with unaligned splice.
Mod version avisynthesizer uses aligned splice ++, and adds batch mode (maybe a few more changes),
Batch mode skips use of square brackets, to mean Non-repeating,
and creates a separate script for each source clip, instead of joining all source clips.

Old code in Avisynthesizer is seeing the square brackets in comments of original Gizmo thingy script,
and interpreting them as a repeating section introducer, but then cannot find the expected "___FILE___"
and closing ']' character, so will throw an error, and not fully write the result avs script.

I have solved this in original script, by simply replacing '[' and ']' chars with '(' and ')' <in the comments>.
I'll have to find a way to make it not produce an error when '[' and ']' appear in script comments, or even strings.

Anyways, sorry for any bother caused.
post #48 fixed.

EDIT: I find myself using square brackets a lot lately [I dont know why :) ].

EDIT: chmars,
The client script coords and DetTh are set for the original 440 clip, not the changed 403 coords.

EDIT:
What are your changed coords and DetTh ?

EDIT: Actually, my 444 is dated later [EDIT: from your post #43].

chmars
22nd May 2021, 15:30
I don't understand what you mean, I am sorry, not as clever as you are sober ;) (and not my mothertongue as you surely have seen)
About the files dates:
I made a big mess with new storage server. I had to delete it and start over with all files, hence the dates changes maybe.

StainlessS
22nd May 2021, 15:38
Just wanted to know what coords you are currently using [for the LED detect whotsit].

chmars
22nd May 2021, 16:20
Last ones are for 3840x2160:

TEST_X = 100 # Test AREA COORDS (Best Even only)
TEST_Y = 210 # Ditto
TEST_W = 900 # Ditto
TEST_H = 1200 # Ditto

But it always depends from the camera position.

Because "find blue spot surrounded by black in the left third of the image" is not yet implemented :D