[snip]


Yes, thanks for the help. I used

 #export CFLAGS=-I/usr/include/ffmpeg

and then the rest worked fine.

Enough for me today !



This rebuild cingg to use ffmpeg 7.1 startup ok and testing DV rendering to  av1_qsv_nv12.mp4, av1_qsv_nv12.webm and also av1_qsv_p010le.webm work.

But the same rendering from hdv does not longer work, tried also with BT.709 setting.

does ffmpeg 7.1 itself work for this type of encoding and same input file ? Do h264/hevc qsv encoders still work?



The current av1_qsv profiles contents are as follows (tried to copy them from previous ffmpeg 7.0.2 backup):

localhost:/home/cinelerra/cinelerra-5.1/bin/ffmpeg/video #

cat av1_qsv.dfl
av1_qsv.webm

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

cat av1_qsv.webm
webm av1_qsv
# only usable with ext. ffmpeg
cin_pix_fmt=nv12
------------

As shown in the Cingg output below:
[av1_qsv @ 0x7f4788de7200] Current picture structure is unsupported
[av1_qsv @ 0x7f4788de7200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
FFMPEG::open_encoder  err: Function not implemented


Output format and profile from system ffmpeg 7.1 looks similar like from previous 7.0.2

ffmpeg -hide_banner -h encoder=av1_qsv | egrep 'Supported|profile|main'
    Supported hardware devices: qsv qsv qsv
    Supported pixel formats: nv12 p010le qsv
  -profile           <int>        E..V....... (from 0 to INT_MAX) (default unknown)
     main            1            E..V.......

Any idea what cause this hd(v) rendering errors now in the built Cingg?


# bin/cin
Cinelerra Infinity - built: Oct 20 2024 21:21:06

libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[av1_qsv @ 0x7f4788de7200] Current picture structure is unsupported
[av1_qsv @ 0x7f4788de7200] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
FFMPEG::open_encoder  err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_nv12.webm
Render::render_single: Session finished.

-----------------

libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
libva info: VA-API version 1.22.0
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_22
libva info: va_openDriver() returns 0
[av1_qsv @ 0x7f47b0040840] Current picture structure is unsupported
[av1_qsv @ 0x7f47b0040840] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters.
FFMPEG::open_encoder  err: Function not implemented
int FFMPEG::open_encoder(const char*, const char*):
open failed av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv_p010le.webm
Render::render_single: Session finished.
Total excess of backups: -50
Session time: 0:06:36
Cpu time: user: 0:00:08.543 sys: 0:00:03.847
unjoined tids / owner 2
  00007f47c5ffb6c0 / 00007f48377fe6c0 12RenderEngine
  00007f47c7fff6c0 / 00007f48377fe6c0 12RenderEngine