[Cin] Tested vaapi hwaccel presets
Andrea paz
gamberucci.andrea at gmail.com
Thu Jan 2 10:38:29 CET 2025
I tested vaapi presets with the compile of the new CinGG release.
Previously vaapi was not working for me in either encoding or decoding. Now
I have no errors or warnings.
I used the Big Buck Bunny 1080p and 30 fps file with h264 codec. With some
presets the rendering fails with the following errors in the terminal:
- av1_vaapi_10b420.mp4
[av1_vaapi @ 0x7d304c2269c0] No usable encoding profile found.
FFMPEG::open_encoder err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_vaapi:/home/paz/test_vaapi.mp4
- av1_vaapi_10b420.mp4
[av1_vaapi @ 0x7d304c2269c0] No usable encoding profile found.
FFMPEG::open_encoder err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_vaapi:/home/paz/test_vaapi.mp4
- hevc_vaapi_10b420.mp4
Render::render_single: Session finished.
FFStream::encode_frame: vaapi encode failed.
file: /home/paz/test_vaapi.mp4
err: Input/output error
FFMPEG::mux_video err: Operation not permitted
FFStream::encode_frame: vaapi encode failed.
file: /home/paz/test_vaapi.mp4
err: Input/output error
FFMPEG::mux_video err: Operation not permitted
Assertion !pic->prev failed at libavcodec/vaapi_encode.c:962
[CRASH]
- hevc_vaapi_10b422.mp4
[AVHWFramesContext @ 0x76b6f40eab40] Failed to create surface: 14 (the
requested RT Format is not supported).
[AVHWFramesContext @ 0x76b6f40eab40] Unable to allocate a surface from
internal buffer pool.
Failed to initialize HW frame context.
err: Cannot allocate memory
[hevc_vaapi @ 0x76b6f400be40] Specified pixel format y210le is not
supported by the hevc_vaapi encoder.
[hevc_vaapi @ 0x76b6f400be40] Supported pixel formats:
[hevc_vaapi @ 0x76b6f400be40] vaapi
FFMPEG::open_encoder err: Invalid argument
int FFMPEG::open_encoder(const char*, const char*):
open failed hevc_vaapi:/home/paz/test_vaapi.mp4
Render::render_single: Session finished.
- vp9_vaapi_10b420.mp4
[vp9_vaapi @ 0x76b63c0350c0] No usable encoding profile found.
FFMPEG::open_encoder err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed vp9_vaapi:/home/paz/test_vaapi.mp4
- vp9_vaapi_8b420.mp4
[vp9_vaapi @ 0x76b6180d7fc0] No usable encoding entrypoint found for
profile VAProfileVP9Profile0 (19).
FFMPEG::open_encoder err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed vp9_vaapi:/home/paz/test_vaapi.mp4
Other presets work more or less well:
- h264.mp4 --> 78 fps
- h264_vaapi.mp4 --> 118 fps
- h264_vaapi_8b420.mp4 --> 80 fps
- hevc_vaapi.mp4 --> 81 fps
- hevc_vaapi_8b420.mp4 --> 110 fps
IMPORTANT: These tests are not indicative, as I always have new problems
with my Radeon RX 5700 XT with every driver update.
PS: Compilation time got a lot longer, is it because of the new patches?
PPS: I have not followed the various threads very well and so I do not know
the conclusions you have reached....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20250102/e4c54e54/attachment-0001.htm>
More information about the Cin
mailing list