Den 16.11.2024 23:24, skrev Terje J.
Hanssen:
Den 16.11.2024 22:20, skrev Andrew
Randrianasulu:
Den 16.11.2024 20:36, skrev Terje J. Hanssen:
Den 16.11.2024 19:00, skrev Andrew
Randrianasulu:
Now when 10bit hevc_qsv and
hevc_vaapi accelerated encoding looks to
be in box, I wonder if something
prohibits us to get accelerated encoding
for av1 and h264?
I think av1 was complaining
about invalid picture structure?
feel free to experiment. You can
also try vp9 ....
According to ffmpeg help the following
support should be available:
av1_qsv
Supported pixel formats: nv12
p010le qsv
-profile
<int> E..V....... (from 0
to INT_MAX) (default unknown)
unknown 0
E..V.......
main 1
E..V.......
av1_vaapi
Supported pixel formats: vaapi
-profile
<int> E..V....... Set
profile (seq_profile) (from -99 to
255) (default -99)
main 0
E..V.......
high 1
E..V.......
professional 2
E..V.......
=============================
Starting tests with
/Cin # bin/cin
Cinelerra Infinity - built: Nov 15 2024 20:29:14
1)
AV1_QSV
-----------
av1_qsv.mp4
mp4
av1_qsv
#
only usable with ext. ffmpeg
cin_pix_fmt=nv12
DV
input renders ok to yuv420p
** rendered 2832 frames in 5.475 secs, 517.260 fps
HDV input fails:
[av1_qsv @ 0x7ff7cca8b9c0] Current picture
structure is unsupported
[av1_qsv @ 0x7ff7cca8b9c0] 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.mp4
FHD input fails
[av1_qsv @ 0x7ff7918e82c0] Current picture
structure is unsupported
[av1_qsv @ 0x7ff7918e82c0] 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/hd01_av1_qsv.mp4
After this overview:
I modified ffmpeg/encode.opts to loglevel=debug and tried to
render HDV (and FHD) again:
[AVHWDeviceContext @ 0x7f99881fee40] Trying to use DRM render node
for device 0.
[AVHWDeviceContext @ 0x7f99881fee40] libva: VA-API version 1.22.0
[AVHWDeviceContext @ 0x7f99881fee40] libva: User requested driver
'iHD'
[AVHWDeviceContext @ 0x7f99881fee40] libva: Trying to open
/usr/lib64/dri/iHD_drv_video.so
[AVHWDeviceContext @ 0x7f99881fee40] libva: Found init function
__vaDriverInit_1_22
[AVHWDeviceContext @ 0x7f99881fee40] libva: va_openDriver()
returns 0
[AVHWDeviceContext @ 0x7f99881fee40] Initialised VAAPI connection:
version 1.22
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x41524742 -> bgra.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x41424752 -> rgba.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x58524742 -> bgr0.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x58424752 -> rgb0.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30335241 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30334241 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30335258 ->
x2rgb10le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30334258 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x36314752 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x56555941 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x56555958 -> vuyx.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30303859 -> gray.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x3231564e -> nv12.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x3132564e ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x32595559 ->
yuyv422.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x59565955 ->
uyvy422.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x32315659 ->
yuv420p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30323449 ->
yuv420p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x50313134 ->
yuv411p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x48323234 ->
yuv422p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x56323234 ->
yuv440p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x50343434 ->
yuv444p.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x33434d49 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30313050 ->
p010le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x32313050 ->
p012le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x36313050 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30313259 ->
y210le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x32313259 ->
y212le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x36313259 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x30313459 ->
xv30le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x32313459 ->
xv36le.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x36313459 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x50424752 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] Format 0x50524742 ->
unknown.
[AVHWDeviceContext @ 0x7f99881fee40] VAAPI driver: Intel iHD
driver for Intel(R) Gen Graphics - 24.4.0 ().
[AVHWDeviceContext @ 0x7f99881fee40] Driver not found in known
nonstandard list, using standard behaviour.
[av1_qsv @ 0x7f99880565c0] Initialized an internal MFX session
using hardware accelerated implementation
[av1_qsv @ 0x7f99880565c0] Using the constant quantization
parameter (CQP) by default. Please use the global_quality option
and other options for a quality-based mode or the b option and
other options for a bitrate-based mode if the default is not the
desired choice.
[av1_qsv @ 0x7f99880565c0] Using the constant quantization
parameter (CQP) ratecontrol method
[av1_qsv @ 0x7f99880565c0] Current picture structure is
unsupported
[av1_qsv @ 0x7f99880565c0] 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.mp4
Render::render_single: Session finished.
Sorry, but even with additional msgs root case of this problem is not clearer at all for me.
You tried with progressive/deinterlaced source, with everything set to progressive?
Isn't point of this thread to get 10bit, 10bit + yuv422 encoder presets working? I suggest to put aside obviously failing ones for now.