<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">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 style="font-size:small" class="gmail_default"><br></div><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>