<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<div class="moz-cite-prefix">On 12/14/23 18:38, Phyllis Smith via
Cin wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOckJE2mn100-_-sAqCB4E2drF81zowGrNSj3StxqFMKzswxog@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true" class="moz-txt-link-freetext">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>
<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 class="moz-txt-link-freetext"
href="https://trac.ffmpeg.org/wiki/HWAccelIntro">https://trac.ffmpeg.org/wiki/HWAccelIntro</a>
<br>
<a class="moz-txt-link-freetext"
href="https://trac.ffmpeg.org/wiki/Hardware/VAAPI">https://trac.ffmpeg.org/wiki/Hardware/VAAPI</a>
<br>
<a class="moz-txt-link-freetext"
href="https://trac.ffmpeg.org/wiki/Hardware/QuickSync">https://trac.ffmpeg.org/wiki/Hardware/QuickSync</a>
<br>
<a class="moz-txt-link-freetext"
href="https://www.reddit.com/r/AV1/comments/14zwron/guidance_for_av1_hwaccel/">https://www.reddit.com/r/AV1/comments/14zwron/guidance_for_av1_hwaccel/</a>
<br>
<br>
<br>
<blockquote type="cite"
cite="mid:CAOckJE2mn100-_-sAqCB4E2drF81zowGrNSj3StxqFMKzswxog@mail.gmail.com">
<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 class="moz-mime-attachment-header"></fieldset>
</blockquote>
<br>
</body>
</html>