<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вс, 25 сент. 2022 г., 08:25 Miroslav Rovis via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">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">I changed the subject line: 's/setting/presets/'.<br>
<br>
On 220924-17:55-0600, Phyllis Smith wrote:<br>
> From my quick read, it sounds like a thorough analysis and<br>
> great suggestion. I will have to read and look at all of this<br>
> more carefully so it can be updated accordingly. And<br>
> hopefully, Andrew or Andrea will have time to comment too.<br>
> ...Phyllis<br>
I'm not an expert, but I am an advanced user. Unfortunately, a<br>
slow user too. I'm probably correct (except for imprecise<br>
wordage) about this.<br>
<br>
Because (see below)...<br>
<br>
> On Sat, Sep 24, 2022 at 3:32 PM Miroslav Rovis via Cin <<br>
> <a href="mailto:cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">cin@lists.cinelerra-gg.org</a>> wrote:<br>
> <br>
> > It's simple, and my wording may not be quite precise, but<br>
> > you guys and gals will understand.<br>
> ><br>
> > So, when using the setting in the render window, I figured<br>
> > out that there are better settings to use than the presets<br>
> > that are offered. And they are simpler too.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">settings live in ${cin_src_root}/ffmpeg/video</div><div dir="auto"><br></div><div dir="auto">and yeah, no row-mt=1 there apart from av1 profile.</div><div dir="auto">I only have asymmetric arm 8 core in tablet, and two 4 x86-64 cores in desktop and laptop for testing....</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">
<br>
Because in this wiki page:<br>
> > In essence, the Wiki page for VP9 can tell you all:<br>
> > <a href="https://trac.ffmpeg.org/wiki/Encode/VP9" rel="noreferrer noreferrer" target="_blank">https://trac.ffmpeg.org/wiki/Encode/VP9</a> [*]<br>
previously there were recommendation on VP9 that correspond with<br>
the current presets in Cinelerra. The current version of VP9<br>
wiki page is, I believe, just a few months old.<br>
<br>
With the presets that I find in current Cinelerra; I'm yet to<br>
open it today and work with it, but I choose preset that are<br>
recommended for 1920x1080 30fps and then edit it as below.<br>
> > I have no rendering, actually no Cinelerra opened right now,<br>
> > so, from memory:<br>
> ><br>
> > It's just b=0, then add crf=31 (or other number), and then<br>
> > row-mt=1, and remove the min and max settings from the<br>
> > preset.<br>
> ><br>
> > I did use b=0 (which would correspond to -b 0 in the VP9<br>
> > wiki page (but I see only -b:v 0 in the page). And it did<br>
> > work I can tell you.<br>
> ><br>
> > However, see there around:<br>
> > "more contemporary CRF-style approach for the final pass to<br>
> > achieve a certain perceptual quality"<br>
> > and there is -b:v 0 in the second pass.<br>
> > and around:<br>
> > "must use a combination of -crf and -b:v 0. Note that -b:v<br>
> > MUST be 0."<br>
> ><br>
> > Also find:<br>
> > "FFmpeg added support for row based multithreading in<br>
> > version 3.4, released on January 25th, 2018. As of libvpx<br>
> > version 1.7.0 this multithreading enhancement is not enabled<br>
> > by default and needs be manually activated with the -row-mt<br>
> > 1 switch."<br>
> > which I find works great as well on my systems. They are<br>
> > relatively new:<br>
> > AMD Ryzen 7 PRO 4750G<br>
> > and also one:<br>
> > AMD Ryzen 7 5700G<br>
> > so if the above maybe would not work well on older machines,<br>
> > then, don't know...<br>
> ><br>
> > So, this is a suggestion to improve the VP9 webm presets in<br>
> > Cinelerra FFmpeg.<br>
> > While I am getting better at understanding the source code,<br>
> > I would still probably be to slow to find it and change it<br>
> > and send a patch myself. Too slow.<br>
> > And that would take me more time than I can set apart at<br>
> > this time.<br>
> ><br>
> > Regards!<br>
> ><br>
> > ---<br>
I have issues with motion plugin (or related to it). So I'll<br>
reuse this part below (which is missing a [*] at the start, as I<br>
meant the [*] above to refer to it) in a new, separate thread,<br>
not so much related to FFmpeg VP9 presets.<br>
> > I've been using VP9 (previously VP8) webm a lot. E.g.<br>
> > anywhere you go from:<br>
> > <a href="https://www.croatiafidelis.hr/2022/" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2022/</a><br>
> > or, to take just one sample (4 minutes):<br>
> ><br>
> > <a href="https://www.croatiafidelis.hr/2022/Jazovka/VID-2022-06-22-1034-Jazovka-procesija.webm" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2022/Jazovka/VID-2022-06-22-1034-Jazovka-procesija.webm</a><br>
> > It's nothing but motion plugin set up, blur plugin in the<br>
> > bottom video at 100%, and go render. Then work the audio<br>
> > separately, mux and post. Of course, the stabilizing is<br>
> > slow, motion plugin takes long to calculate.<br>
> ><br>
> > But all those people moving can be scrutinized in a lot of<br>
> > detail, as if I filmed with a mobile phone attached to a<br>
> > good stabilizer, and instead, the original was a shaky video<br>
> > as ever, because I held the mobile with just my hand.<br>
> ><br>
> > Cinelerra can stabilize you videos well. It's worth the<br>
> > time-expensive learning curve to get to know how to do it.<br>
> ><br>
> > Here are some comparison videos with both the shaky and<br>
> > stabilized video (however I've gotten better since then,<br>
> > these are all old, but I have no other comparisons)<br>
> ><br>
> > e.g. from:<br>
> > <a href="https://www.croatiafidelis.hr/2019/" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2019/</a><br>
> > the videos e.g.:<br>
> ><br>
> > <a href="https://www.croatiafidelis.hr/2019/Jaska/190824-Jaska-Vukovic-demo-1-stabilize.webm" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2019/Jaska/190824-Jaska-Vukovic-demo-1-stabilize.webm</a><br>
> > or from:<br>
> > <a href="https://www.croatiafidelis.hr/2015/Macelj/Macelj-2-cmp.php" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2015/Macelj/Macelj-2-cmp.php</a><br>
> > the video being:<br>
> > <a href="https://www.croatiafidelis.hr/2015/Macelj/150607-Macelj-HebrangCOMP.webm" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/2015/Macelj/150607-Macelj-HebrangCOMP.webm</a><br>
> ><br>
> > --<br>
> > Miroslav Rovis<br>
> > Zagreb, Croatia<br>
> > <a href="https://www.CroatiaFidelis.hr" rel="noreferrer noreferrer" target="_blank">https://www.CroatiaFidelis.hr</a><br>
> > my PGP-key:<br>
> > <a href="https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc</a><br>
> > --<br>
> > Cin mailing list<br>
> > <a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
> > <a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
> ><br>
<br>
-- <br>
Miroslav Rovis<br>
Zagreb, Croatia<br>
<a href="https://www.CroatiaFidelis.hr" rel="noreferrer noreferrer" target="_blank">https://www.CroatiaFidelis.hr</a><br>
my PGP-key:<br>
<a href="https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc" rel="noreferrer noreferrer" target="_blank">https://www.croatiafidelis.hr/FCF13245ED247DCE443855B7EA9884884FBAF0AE.asc</a><br>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>