<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks.  I hope to have time to look at this tomorrow.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 8, 2021 at 8:32 PM Andrew Randrianasulu via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">cin@lists.cinelerra-gg.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">В сообщении от Wednesday 06 January 2021 02:02:27 Rafa Mar Multimedia en Gnu\Linux via Cin написал(а):<br>
> Thank you very much Andrew Randrianasulu and Phyllis, for your interest in<br>
> improving this tool. I think that with these changes we eliminate a very<br>
> dangerous option and another problematic that does not have much logic in a<br>
> batch render window. And we greatly improve this wizard.<br>
> I wouldn't know how to do this. I guess it's not going to be a problem for<br>
> a person who understands the C language.<br>
<br>
<br>
igor_ubuntu ( Igor Vladimirsky) actually explained this function to <br>
russian-speaking users in <br>
<br>
<a href="https://linuxvideoediting.blogspot.com/2021/01/save-edl-path-use-current-edl-in-cinelerra-gg.html" rel="noreferrer" target="_blank">https://linuxvideoediting.blogspot.com/2021/01/save-edl-path-use-current-edl-in-cinelerra-gg.html</a><br>
<br>
So, it seems this quite dangerous option exist for reason.<br>
<br>
I added few tooltips based on suggestions from this article, see patch<br>
<br>
---<br>
diff --git a/cinelerra-5.1/cinelerra/batchrender.C b/cinelerra-5.1/cinelerra/batchrender.C<br>
index 6dcdbc62..81d47f6e 100644<br>
--- a/cinelerra-5.1/cinelerra/batchrender.C<br>
+++ b/cinelerra-5.1/cinelerra/batchrender.C<br>
@@ -1044,6 +1044,8 @@ BatchRenderNew::BatchRenderNew(BatchRenderThread *thread,<br>
  : BC_GenericButton(x, y, _("New"))<br>
 {<br>
        this->thread = thread;<br>
+       set_tooltip(_("Create a new batch"));<br>
+<br>
 }<br>
<br>
 int BatchRenderNew::handle_event()<br>
@@ -1056,6 +1058,8 @@ BatchRenderDelete::BatchRenderDelete(BatchRenderThread *thread, int x, int y)<br>
  : BC_GenericButton(x, y, _("Delete"))<br>
 {<br>
        this->thread = thread;<br>
+       set_tooltip(_("Delete loaded (highlighted) batch"));<br>
+<br>
 }<br>
<br>
 int BatchRenderDelete::handle_event()<br>
@@ -1242,6 +1246,8 @@ BatchRenderUpdateEDL::BatchRenderUpdateEDL(BatchRenderThread *thread,<br>
  : BC_GenericButton(x, y, _("Save to EDL Path"))<br>
 {<br>
        this->thread = thread;<br>
+       set_tooltip(_("Save to loaded EDL (highlighted), will *overwrite* nighlighted proj!"));<br>
+<br>
 }<br>
<br>
 int BatchRenderUpdateEDL::handle_event()<br>
<br>
---<br>
<br>
But apparently 'warn if proj/session mismatch' doesn't work as intended, <br>
I'll try to look into it but no promise of solution.<br>
<br>
I also slightly updated russian translation because long russian sentence about # of<br>
CPU used by plugins was stomping away text in Use HW acceleration dropdown list!<br>
<br>
<br>
---<br>
diff --git a/cinelerra-5.1/po/ru.po b/cinelerra-5.1/po/ru.po<br>
index 82f76a24..60f34ccb 100644<br>
--- a/cinelerra-5.1/po/ru.po<br>
+++ b/cinelerra-5.1/po/ru.po<br>
@@ -8579,7 +8579,7 @@ msgstr "Секунд предрендеринга:"<br>
<br>
 #: cinelerra/performanceprefs.C:98<br>
 msgid "Project SMP cpus:"<br>
-msgstr "Количество CPU (SMP), используемых плагинами:"<br>
+msgstr "Кол-во CPU (SMP), исп. плагинами:"<br>
<br>
 #: cinelerra/performanceprefs.C:113<br>
 msgid "Background Rendering (Video only)"<br>
<br>
===<br>
<br>
in this case be aware about enconding (po file must stay in utf8)<br>
<br>
Hm, still does not work?? Strange .. may be it was locale-sensitive,<br>
so saved value was not matching english strings ....<br>
<br>
You might apply it anyway, I think some more ru translation <br>
work will be needed due to all those added strings  <br>
(a bit afraid to do it due to possibility of breackage - but there is no other way!)<br>
<br>
<br>
> <br>
> El mar, 5 ene 2021 a las 21:22, Phyllis Smith via Cin (<<br>
> <a href="mailto:cin@lists.cinelerra-gg.org" target="_blank">cin@lists.cinelerra-gg.org</a>>) escribió:<br>
> <br>
> > Andrew,<br>
> > Thanks for looking at this.  After I finish testing SGE's BT #538 html<br>
> > improvements, I will at least try your suggestions and I plan to update the<br>
> > manual to clarify simple usage of Batch Render.<br>
> ><br>
> > Right now I can only suggest you to look at<br>
> >><br>
> >><br>
> >> <a href="https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=blob;f=cinelerra-5.1/cinelerra/batchrender.C;h=6dcdbc62f69fd7bf8fcd0015f011de87b2e93786;hb=HEAD" rel="noreferrer" target="_blank">https://git.cinelerra-gg.org/git/?p=goodguy/cinelerra.git;a=blob;f=cinelerra-5.1/cinelerra/batchrender.C;h=6dcdbc62f69fd7bf8fcd0015f011de87b2e93786;hb=HEAD</a><br>
> >><br>
> >> ...<br>
> >> basically try to comment out action:<br>
> >><br>
> >> // thread->update_selected_edl();<br>
> >><br>
> >> put two "/" before this line, and recompile.<br>
> >><br>
> >> ...<br>
> >> May be it has something to do with internal use of batch render, for<br>
> >> DVD/BD creation ?<br>
> >><br>
> >> YES !! I think I remember that it was implemented to facilitate DVD/BD<br>
> > creation because there was much debugging involved that was tedious.<br>
> > There are *about 250,000 lines of intertwined program code* in<br>
> > Cinelerra-GG proper and rewriting code is not like rewriting a book's<br>
> > paragraph - it is generally non-trivial and requires more than just<br>
> > knowledge of C++.<br>
> > --<br>
> > Cin mailing list<br>
> > <a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
> > <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
> ><br>
> <br>
<br>
<br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div>