<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 23.10.2024 03:34, skrev Andrew
Randrianasulu via Cin:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky7UXkwT4dkT_fBnpu6QpK=1S_wCxsAGW56tQ6Y9URgRLg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="auto">We tried to update cinelerra-gg to ffmpeg 7.1 and
ran into two problems:
<div dir="auto"><br>
</div>
<div dir="auto">First, vf_scale now declares dynamic input and
was filtered out by code in cinelerra/pluginfclient.C</div>
<div dir="auto"><br>
</div>
<div dir="auto">int flag_mask = AVFILTER_FLAG_DYNAMIC_INPUTS |
AVFILTER_FLAG_DYNAMIC_OUTPUTS; </div>
<div dir="auto"> if( filter->flags & flag_mask ) return
AVERROR(EPERM);<br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">ok, it was easy to workaround just by commenting
this line out </div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">But then it turned out our vaapi/qsv profiles
stopped working, anytime there was "profile=high" line.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Oh, dang.</div>
</div>
</blockquote>
<br>
My test with own build Cingg to use my system ffmpeg 7.1, shows that
hdv.m2t and hd.mov rendering with high (or 1) profile to
av1_vaapi.webm works on Arc A750, when tweeking the av1_vaapi
profile as follows: <br>
<br>
change "profile" to "vprofile" and rc_mode from "QVBR" to "CQB"
(both according to ffmpeg output)<br>
(just profile=main also works, possibly due to main is default?)<br>
-------------<br>
<br>
<font face="Courier New, Courier, monospace"># Nvidia 4000+ series
(better nvenc/vdpau)<br>
# AMD Radeon 7000+ series<br>
# Intel Xe2, Arc+ series<br>
cin_hw_dev=vaapi<br>
g=30<br>
vprofile=high #(main, professional)<br>
rc_mode=CQP<br>
<br>
Then this seems to fit with<br>
<br>
See also<br>
<a class="moz-txt-link-freetext" href="https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008838.html">https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008838.html</a><br>
<a class="moz-txt-link-freetext" href="https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008930.html">https://lists.cinelerra-gg.org/pipermail/cin/2024-October/008930.html</a><br>
<br>
</font><br>
<blockquote type="cite"
cite="mid:CA+rFky7UXkwT4dkT_fBnpu6QpK=1S_wCxsAGW56tQ6Y9URgRLg@mail.gmail.com">
<div dir="auto">
<div dir="auto">Looked around and found this thread on Narkive</div>
<div dir="auto"><br>
</div>
<div dir="auto"><a
href="https://ffmpeg-user.ffmpeg.narkive.com/FRd15m7B/ffmpeg-1-0-null-0xcb4700-eval-0x7fff0d95cf00-undefined-constant-or-missing-in-wpred"
target="_blank" rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">https://ffmpeg-user.ffmpeg.narkive.com/FRd15m7B/ffmpeg-1-0-null-0xcb4700-eval-0x7fff0d95cf00-undefined-constant-or-missing-in-wpred</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">replaced "profile" with "vprofile", now it
appear to work again.</div>
<div dir="auto"><br>
</div>
<div dir="auto">But this was a bit unexpected, I do not think
both changes were mentioned as breaking in release notes?</div>
<div dir="auto"><br>
</div>
<div dir="auto">It sort of sad to see this "hidden" breakage
every release. Ffmpeg is not only library that does so, and
tracking them all is not fun anymore.</div>
<div dir="auto"><br>
</div>
<div dir="auto">If you can't avoid making breakage - put it up
front in release notes, not hide it like in bad commercial
advertisement.</div>
<div dir="auto"><br>
</div>
<div dir="auto">our source:</div>
<div dir="auto"><br>
</div>
<div dir="auto">git://<a
href="http://git.cinelerra-gg.org/goodguy/cinelerra.git"
rel="noreferrer noreferrer noreferrer noreferrer"
target="_blank" moz-do-not-send="true">git.cinelerra-gg.org/goodguy/cinelerra.git</a><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">you can build ffmpeg 7.1 into /usr/local and
then ./auto gen.sh + configure --without-thirdparty
--with-single-user --without-libdpx + make + make install.</div>
<div dir="auto"><br>
</div>
<div dir="auto">if it does not work on your system - look around
in blds directory for various scripts adding
--disable-component switches to configure.</div>
<div dir="auto"><br>
</div>
<div dir="auto">binaries and profiles will be in
$cin_src_root/bin</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
</body>
</html>