<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 15 дек. 2023 г., 01:21 Terje J. Hanssen 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"><u></u>
<div>
<br>
<br>
<div>On 12/14/23 18:38, Phyllis Smith via
Cin wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Dec 12, 2023 at
8:17 AM Andrea paz via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">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">I
tried to create an encoding profile for av1_vaapi. I attach
the preset.<br>
It does not work and I get the following error:<br>
<br>
[av1_vaapi @ 0x7f8c94163500] A hardware frames reference is
required<br>
to associate the encoding device.<br>
FFMPEG::open_encoder err: Invalid argument<br>
</blockquote>
<div><br>
</div>
<div>
<div style="font-size:small" class="gmail_default">A lot of
"muddy waters" when searching this on the internet but the
bottom line is for us in looking for what are the current
ffmpeg 6.1 supported encoders, key in:<br>
</div>
<div style="font-size:small" class="gmail_default"><br>
</div>
<div style="font-size:small" class="gmail_default">#
./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep av1<br>
<span style="font-family:monospace">V....D <b>libaom-av1</b>
libaom AV1 (codec av1)<br>
A....D <b>wmav1 </b> Windows Media Audio
1</span></div>
<div style="font-size:small" class="gmail_default"><br>
</div>
<div style="font-size:small" class="gmail_default">which
means the first line of av1_vaapi.webm can only be "webm
libaom-av1" which will not provide vaapi; that is the line
used in av1.webm.</div>
</div>
</div>
</div>
</blockquote>
<br>
Hm, I wonder why so few av1 encoders are enabled?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Because additional ones tend to have external dependencies we normally do not carry? Also, at least on aarch64 librav1e was a bit of disappointment, at least on default settings it was SLOW.</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>
<br>
In comparison I get this list from Packman's ffmpeg 6.0.1 on
Tumbleweed-Slowroll:<br>
<blockquote><font face="Courier New, Courier, monospace">fmpeg
-encoders -hide_banner | grep av1<br>
V....D libaom-av1 libaom AV1 (codec av1)<br>
V....D librav1e librav1e AV1 (codec av1)<br>
V..... libsvtav1 SVT-AV1(Scalable Video Technology
for AV1) encoder (codec av1)<br>
V....D av1_nvenc NVIDIA NVENC av1 encoder (codec
av1)<br>
V....D av1_amf AMD AMF AV1 encoder (codec av1)<br>
A....D wmav1 Windows Media Audio 1<br>
<br>
ffmpeg -hwaccels -hide_banner<br>
Hardware acceleration methods:<br>
vdpau<br>
cuda<br>
vaapi<br>
qsv<br>
drm<br>
vulkan</font><br>
</blockquote>
<br>
Additional references:<br>
<a href="https://trac.ffmpeg.org/wiki/HWAccelIntro" target="_blank" rel="noreferrer">https://trac.ffmpeg.org/wiki/HWAccelIntro</a>
<br>
<a href="https://trac.ffmpeg.org/wiki/Hardware/VAAPI" target="_blank" rel="noreferrer">https://trac.ffmpeg.org/wiki/Hardware/VAAPI</a>
<br>
<a href="https://trac.ffmpeg.org/wiki/Hardware/QuickSync" target="_blank" rel="noreferrer">https://trac.ffmpeg.org/wiki/Hardware/QuickSync</a>
<br>
<a href="https://www.reddit.com/r/AV1/comments/14zwron/guidance_for_av1_hwaccel/" target="_blank" rel="noreferrer">https://www.reddit.com/r/AV1/comments/14zwron/guidance_for_av1_hwaccel/</a>
<br>
<br>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div><br>
<div style="font-size:small" class="gmail_default">Just to
ensure that the " ./thirdparty/ffmpeg-6.1/ffmpeg -encoders
| grep your_request" works as expected, keyin:</div>
<div style="font-size:small" class="gmail_default"><br>
</div>
# ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep h264<br>
<span style="font-family:monospace">V....D <b>libx264</b>
libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4
part 10 (codec h264)<br>
V....D <b>libx264rgb</b> libx264 H.264 / AVC /
MPEG-4 AVC / MPEG-4 part 10 RGB (codec h264)<br>
V....D <b>h264_nvenc</b> NVIDIA NVENC H.264
encoder (codec h264)<br>
V..... <b>h264_v4l2m2m </b> V4L2 mem2mem H.264
encoder wrapper (codec h264)<br>
V....D <b>h264_vaapi</b> H.264/AVC (VAAPI)
(codec h264)<br>
</span></div>
<div style="font-size:small" class="gmail_default"><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
</blockquote>
</div>
</div>
<br>
<fieldset></fieldset>
</blockquote>
<br>
</div>
-- <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>