<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 26 февр. 2024 г., 12:07 Igor BEGHETTO via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer" target="_blank">cin@lists.cinelerra-gg.org</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff" text="#000000">
<blockquote type="cite">But why?? well, this is question for me, I
got some clues .... (disabled in gui param "alpha determinated
radius" we probably not initialize correctly)</blockquote>
<br>
Like pointed out by Andrew and Phyllis it concerns the "Alpha
determines radius" checkbox option in the GUI: it was hidden, by the
code, in December 2021. For compatibility reasons and for future
development it has been left there.<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">I think IgorV pointed out (to me) that this checkbox only worked with horizontal blur, not with both enabled?</div><div dir="auto"><br></div><div dir="auto">For now we can try and modify in plugins/blur/blur.C</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">void BlurMain::save_data(KeyFrame *keyframe)<br></div><div dir="auto"><br></div><div dir="auto">output.tag.set_property("A_KEY", config.a_key);<br></div><div dir="auto"><br></div><div dir="auto">replace config.a_key with 0 here ?</div><div dir="auto"><br></div><div dir="auto">so it will be always saved as 0</div><div dir="auto"><br></div><div dir="auto">void BlurMain::read_data(KeyFrame *keyframe)<br></div><div dir="auto"><br></div><div dir="auto">config.a_key = input.tag.get_property("A_KEY", config.a_key);<br></div><div dir="auto"><br></div><div dir="auto">with config.a_key = 0;</div><div dir="auto"><br></div><div dir="auto">so it will ignore saved 1 setting.</div><div dir="auto"><br></div><div dir="auto">At least this is my theory/idea for now.</div><div dir="auto"><br></div><div dir="auto">If we go with this plan we probably should left original lines commented out with "//" and add line saying why reading/writing forced to 0 for this param (due to disabled gui config in blurwindow.C)</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div bgcolor="#ffffff" text="#000000">
The parameter about "Alpha determines radius" is A_KEY. A_KEY can be
0 or 1. When we press the Reset button in the Blur plugin window the
values are: Radius=5; Horizontal= Vertical= A= R= G= B= 1; A_KEY= 0.<br>
<br>
Old projects may have saved that parameter (A_KEY) to 1 so, in the
special cases, is needed some workarounds to put it to 0.<br>
1. Open the file project (.xml) in a text editor and change the
A_KEY value of the BLUR from 1 to 0. It can be useful to change ALL
these value using "Find and replace..." tool.<br>
2. In Cinelerra-GG program, open the project. Click on the cog icon
(Preset edit) of the Blur effect bar and the "Keyframe parameters"
window is open. There, you can see the A_KEY parameter and change it:
select the A_KEY parameter and in the "Edit value" change it from 1
to 0,... and press OK button.<br>
<br>
If you open the "CGG-CHKEY-BLUR-BUG.xml" test file by Igor_V
(Igor_ubuntu) in a text editor you can see the line number #87.<br>
<KEYFRAME POSITION=0 DEFAULT=1><BLUR VERTICAL=1
HORIZONTAL=1 RADIUS=89 R=1 G=1 B=1 A=1 <b>A_KEY=1</b>></BLUR><br>
Change the A_KEY from 1 to 0 and save as
"CGG-CHKEY-BLUR-BUG_test2.xml".<br>
Open that Project file in the Cinelerra-GG and we can see that the
Blur is working right.<br>
If you want to use the #2 point written above it is the same.<br>
<br>
Thank you!<br>
<br>
IgorBeg<br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>