On 12/14/23 18:38, Phyllis Smith via Cin wrote:
On Tue, Dec 12, 2023 at 8:17 AM Andrea paz via Cin
<[email protected]> 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.
Hm, I wonder why so few av1 encoders are enabled?
In comparison I get this list from Packman's ffmpeg 6.0.1 on
Tumbleweed-Slowroll:
fmpeg -encoders -hide_banner | grep av1
V....D libaom-av1 libaom AV1 (codec av1)
V....D librav1e librav1e AV1 (codec av1)
V..... libsvtav1 SVT-AV1(Scalable Video Technology for
AV1) encoder (codec av1)
V....D av1_nvenc NVIDIA NVENC av1 encoder (codec av1)
V....D av1_amf AMD AMF AV1 encoder (codec av1)
A....D wmav1 Windows Media Audio 1
ffmpeg -hwaccels -hide_banner
Hardware acceleration methods:
vdpau
cuda
vaapi
qsv
drm
vulkan
Additional references:
https://trac.ffmpeg.org/wiki/HWAccelIntro
https://trac.ffmpeg.org/wiki/Hardware/VAAPI
https://trac.ffmpeg.org/wiki/Hardware/QuickSync
https://www.reddit.com/r/AV1/comments/14zwron/guidance_for_av1_hwaccel/
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 h264)
V....D *h264_vaapi* H.264/AVC (VAAPI) (codec h264)
--
Cin mailing list
[email protected]
https://lists.cinelerra-gg.org/mailman/listinfo/cin