<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 16.11.2024 20:36, skrev Terje J.
Hanssen:<br>
</div>
<blockquote type="cite"
cite="mid:1018c59d-b351-4325-b4d2-174df447ef61@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<br>
<div class="moz-cite-prefix">Den 16.11.2024 19:00, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky5RhY7EvU0wrYQnCkLpqARffnr=-p6Yxo3zWH__cOujiw@mail.gmail.com">
<meta http-equiv="content-type"
content="text/html; charset=UTF-8">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">сб, 16 нояб. 2024 г.,
20:56 Terje J. Hanssen via Cin <<a
href="mailto:cin@lists.cinelerra-gg.org"
moz-do-not-send="true" class="moz-txt-link-freetext">cin@lists.cinelerra-gg.org</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> 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?<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">I think av1 was complaining about invalid
picture structure?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">feel free to experiment. You can also try vp9
....</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
According to ffmpeg help the following support should
be available:<br>
<br>
<font face="Courier New, Courier, monospace">av1_qsv<br>
Supported pixel formats: nv12 p010le qsv<br>
-profile <int> E..V.......
(from 0 to INT_MAX) (default unknown)<br>
unknown 0 E..V.......<br>
main 1 E..V.......<br>
<br>
av1_vaapi<br>
Supported pixel formats: vaapi<br>
-profile <int> E..V.......
Set profile (seq_profile) (from -99 to 255) (default
-99)<br>
main 0 E..V.......<br>
high 1 E..V.......<br>
professional 2 E..V.......<br>
<br>
<br>
h264_qsv<br>
Supported pixel formats: nv12 qsv<br>
-profile <int> E..V.......
(from 0 to INT_MAX) (default unknown)<br>
unknown 0 E..V.......<br>
baseline 66 E..V.......<br>
main 77 E..V.......<br>
high 100 E..V.......<br>
<br>
<br>
h264_vaapi<br>
Supported pixel formats: vaapi<br>
-profile <int> E..V.......
Set profile (profile_idc and constraint_set*_flag)
(from -99 to 65535) (default -99)<br>
constrained_baseline 578 E..V.......<br>
main 77 E..V.......<br>
high 100 E..V.......<br>
high10 110 E..V.......<br>
</font><br>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
=============================<br>
<br>
Starting tests with<br>
<br>
/Cin # bin/cin<br>
Cinelerra Infinity - built: Nov 15 2024 20:29:14<br>
<br>
<br>
<font face="Courier New, Courier, monospace">1) AV1_QSV<br>
-----------<br>
</font><br>
<font face="Courier New, Courier, monospace">av1_qsv.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4
av1_qsv</font><br>
<font face="Courier New, Courier, monospace"># only usable with
ext. ffmpeg</font><br>
<font face="Courier New, Courier, monospace">cin_pix_fmt=nv12<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">DV input renders ok
to yuv420p<br>
** rendered 2832 frames in 5.475 secs, 517.260 fps<br>
<br>
HDV input fails:<br>
[av1_qsv @ 0x7ff7cca8b9c0] Current picture structure is
unsupported<br>
[av1_qsv @ 0x7ff7cca8b9c0] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_qsv:/Videoklipp/QSV/hdv09_04_av1_qsv.mp4<br>
<br>
FHD input fails<br>
[av1_qsv @ 0x7ff7918e82c0] Current picture structure is
unsupported<br>
[av1_qsv @ 0x7ff7918e82c0] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_qsv:/Videoklipp/QSV/hd01_av1_qsv.mp4<br>
<br>
<br>
2) AV1_VAAPI<br>
------------<br>
<br>
vaapi.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4
av1_vaapi</font><br>
<font face="Courier New, Courier, monospace">cin_hw_dev=vaapi</font><br>
<font face="Courier New, Courier, monospace">profile=main<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">DV input renders ok
to yuv420p<br>
** rendered 2832 frames in 5.095 secs, 555.839 fps<br>
<br>
HDV input renders ok to yuv420p<br>
** rendered 5972 frames in 16.155 secs, 369.669 fps<br>
<br>
<br>
FHD input renders ok to yuv420p<br>
** rendered 1780 frames in 41.731 secs, 42.654 fps<br>
<br>
FHD input fails with profile=high<br>
[av1_vaapi @ 0x7ff415aa0740] No usable encoding profile found.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_vaapi:/Videoklipp/VAAPI/hd01_av1_vaapi.mp4<br>
<br>
<br>
</font></blockquote>
<br>
I add and continue with VP9 as suggested:<br>
<br>
<font face="Courier New, Courier, monospace"><br>
3) VP9_QSV<br>
-----------<br>
<br>
vp9_qsv.mp4<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">mp4 vp9_qsv</font><br>
<font face="Courier New, Courier, monospace"># only usable with
ext. ffmpeg</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
<br>
DV input renders ok to yuv420p<br>
** rendered 2832 frames in 10.284 secs, 275.379 fps<br>
<br>
<br>
HDV input fails:<br>
[vp9_qsv @ 0x7f0bdc2acec0] Current picture structure is
unsupported<br>
[vp9_qsv @ 0x7f0bdc2acec0] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed vp9_qsv:/Videoklipp/QSV/hdv09_04_vp9_qsv.mp4<br>
<br>
<br>
FHD input fails<br>
[vp9_qsv @ 0x7f0c3c07f5c0] Current picture structure is
unsupported<br>
[vp9_qsv @ 0x7f0c3c07f5c0] some encoding parameters are not
supported by the QSV runtime. Please double check the input
parameters.<br>
FFMPEG::open_encoder err: Function not implemented<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed vp9_qsv:/Videoklipp/QSV/hd01_vp9_qsv.mp4<br>
Render::render_single: Session finished.<br>
<br>
<br>
<br>
<br>
4) VP9_VAAPI<br>
------------<br>
<br>
vp9_qsv.mp4<br>
</font><br>
<font face="Courier New, Courier, monospace">preset doesn't exist</font><br>
</body>
</html>