A bit of nuclear option:

attached ALL profiles I am testing in

/usr/share/cin/fmpeg/

Note that you need to check permissions too! or root-copied profile will be not readable by user

so far test "worked" (note that this is without any real usable GPU implementation for oneVPL):

bash-5.1$ cin
Cinelerra Infinity - built: Oct 13 2024 22:20:38
git://git.cinelerra-gg.org/goodguy/cinelerra.git
(c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
2003-2017 mods for Cinelerra-CV by CinelerraCV team
2015-2024 mods for Cinelerra-GG by Cinelerra-GG team

Libav version: Lavc61.3.100

Cinelerra is free software, covered by the GNU General Public License,
and you are welcome to change it and/or distribute copies of it under
certain conditions. There is absolutely no warranty for Cinelerra.

RenderFarmClient::main_loop: client started
[av1_qsv @ 0xc82a24c0] Error creating a MFX session: -9.
FFMPEG::open_encoder  err: Unknown error occurred
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_qsv:/dev/shm/yuv-test-reenc-rgba8-mpeg-range.webm
Render::render_single: Session finished.
[h264_qsv @ 0xe8ceaf80] Error creating a MFX session: -9.
FFMPEG::open_encoder  err: Unknown error occurred
int FFMPEG::open_encoder(const char*, const char*):
open failed h264_qsv:/dev/shm/yuv-test-reenc-rgba8-mpeg-range.mp4
Render::render_single: Session finished.
[hevc_qsv @ 0xd2c3c240] Error creating a MFX session: -9.
FFMPEG::open_encoder  err: Unknown error occurred
int FFMPEG::open_encoder(const char*, const char*):
open failed hevc_qsv:/dev/shm/yuv-test-reenc-rgba8-mpeg-range.mp4
Render::render_single: Session finished.
int FFMPEG::init_encoder(const char*):
mismatch audio/video file format: /dev/shm/yuv-test-reenc-rgba8-mpeg-range.mp4
Render::render_single: Session finished.
[av1_qsv @ 0xd41ed980] Error creating a MFX session: -9.
FFMPEG::open_encoder  err: Unknown error occurred
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_qsv:/dev/shm/yuv-test-reenc-rgba8-mpeg-range.mp4
Render::render_single: Session finished.

On Mon, Oct 14, 2024 at 9:03 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


On Mon, Oct 14, 2024 at 8:46 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


пн, 14 окт. 2024 г., 18:58 Terje J. Hanssen <terjejhanssen@gmail.com>:

Den 14.10.2024 00:38, skrev Andrew Randrianasulu:


пн, 14 окт. 2024 г., 01:36 Phyllis Smith <phylsmith2017@gmail.com>:
Andrew, so it seems prudent to check into GIT, the av1_vaapi.mp4 render format (after successfully tested of course); but what about the QSV encoders?


wait for Terje's testing OR try to build oneVPL-cpu (it sort of circles back to different branch of ffmpeg, so ffmpeg will think it uses qsv but it in fact will use another ffmpeg .... well, in theory! it does not work for me on 32-bit!)

On Sun, Oct 13, 2024 at 2:36 PM Andrew Randrianasulu via Cin <cin@lists.cinelerra-gg.org> wrote:
hopefully with very silly top-line-as-comment error fixed

SORRY!


I saved the 6 profiles in ffmpeg/video and tested them with SD-DV input.

in cinelerra-5.1/bin/ffmpeg/video

with cin launched as bin/cin from this directory?

sorry for such pedantry, but I get same mismatch and generally just moving commentary to second line worked.

may be you need additional dfl file in ffmpeg/audio ?

can you test without audio (checkbox audio unchecked)?


Only 1) av1_qsv.webm of them worked, so hopefully I have installed and tested them correctly(?)


1) av1_qsv.webm:
webm av1_qsv
# only usable with ext. ffmpeg
cin_pix_fmt=nv12

works with pixelformats nv12 AND p010le


2) av1_qsv.mp4
# only usable with ext. ffmpeg
mp4 av1_qsv
cin_pix_fmt=nv12

doesn't work: pixelformat nv12
int FFMPEG::init_encoder(const char*):
mismatch audio/video file format


does adding attached file into ffmpeg/audio/ fix this?
 


3) av1_vaapi.mp4
mp4 av1_vaapi
cin_hw_dev=vaapi
profile=main

not available?


4) h264_qsv.mp4
mp4 h264_qsv
# only usable with ext. ffmpeg
profile=high
cin_pix_fmt=nv12

doesn't work:
int FFMPEG::init_encoder(const char*):
mismatch audio/video file format:


5) hevc_qsv.mp4
mp4 hevc_qsv
# only usable with ext. ffmpeg, another pixfmt is yuyv422
profile=main
cin_pix_fmt=nv12

doesn't work:
int FFMPEG::init_encoder(const char*):
mismatch audio/video file format:


6)
cat vp9_qsv.mp4
mp4 vp9_qsv
# only usable with ext. ffmpeg

doesn't work:
int FFMPEG::init_encoder(const char*):
mismatch audio/video file format: