[Cin] Prepping HW upgrade options for AV1 de-/encoding

Phyllis Smith phylsmith2017 at gmail.com
Thu Dec 14 18:38:44 CET 2023

On Tue, Dec 12, 2023 at 8:17 AM Andrea paz via Cin <
cin at lists.cinelerra-gg.org> wrote:

> I tried to create an encoding profile for av1_vaapi. I attach the preset.
> It does not work and I get the following error:
> [av1_vaapi @ 0x7f8c94163500] A hardware frames reference is required
> to associate the encoding device.
> FFMPEG::open_encoder  err: Invalid argument

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:

# ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep av1
 V....D *libaom-av1*          libaom AV1 (codec av1)
 A....D *wmav1 *              Windows Media Audio 1

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.

Just to ensure that the " ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep
your_request" works as expected, keyin:

# ./thirdparty/ffmpeg-6.1/ffmpeg -encoders | grep h264
 V....D *libx264*              libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4
part 10 (codec h264)
 V....D *libx264rgb*           libx264 H.264 / AVC / MPEG-4 AVC / MPEG-4
part 10 RGB (codec h264)
 V....D *h264_nvenc*           NVIDIA NVENC H.264 encoder (codec h264)
 V..... *h264_v4l2m2m *        V4L2 mem2mem H.264 encoder wrapper (codec
 V....D *h264_vaapi*           H.264/AVC (VAAPI) (codec h264)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20231214/c37e1ffd/attachment.htm>

More information about the Cin mailing list