<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пн, 14 окт. 2024 г., 00:15 Terje J. Hanssen <<a href="mailto:terjejhanssen@gmail.com">terjejhanssen@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div>
<br>
<div>Den 13.10.2024 22:09, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">OW!
<div dir="auto"><br>
</div>
<div dir="auto">may be I found it - try to move first line with
# below "webm av1_qsv" line, so "webm ..." will be VERY first
line in profile</div>
<div dir="auto"><br>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">same for h264/vp9 ....</div>
</div>
</blockquote>
<br>
<br>
<span lang="no"><span>Voilà,
you solved the puzzle </span></span>😉<br>
<br>
I just edited and tested the first one.<br>
only those with .webm or also .mp4?<br></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">try also mp4, may be also try set I send separately </div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></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>
<br>
cat bin/ffmpeg/video/av1_qsv.webm<br>
webm av1_qsv<br>
# only usable with ext. ffmpeg<br>
# cin_pix_fmt=nv12<br>
<br>
SD-DV --> AV1_QSV.webm<br>
Video compression: av1_qsv.webm<br>
Pixels: nv12 works (p010le /qsv - I think also yuv420p was
"default" first time, but not longer seen)<br>
webm av1_qsv<br>
# cin_pix_fmt=nv12<br>
<br>
[av1_qsv @ 0x7f47600a9c40] Specified pixel format yuv420p is not
supported by the av1_qsv encoder.<br>
[av1_qsv @ 0x7f47600a9c40] Supported pixel formats:<br>
[av1_qsv @ 0x7f47600a9c40] nv12<br>
[av1_qsv @ 0x7f47600a9c40] p010le<br>
[av1_qsv @ 0x7f47600a9c40] qsv<br>
FFMPEG::open_encoder err: Invalid argument<br>
int FFMPEG::open_encoder(const char*, const char*):<br>
open failed av1_qsv:/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
Render::render_single: Session finished.<br>
[av1_qsv @ 0x7f47580ece80] Encoder: input is system memory surface<br>
[av1_qsv @ 0x7f47580ece80] Use Intel(R) oneVPL to create MFX
session, the required implementation version is 1.1<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
libva info: VA-API version 1.22.0<br>
libva info: Trying to open /usr/lib64/dri/iHD_drv_video.so<br>
libva info: Found init function __vaDriverInit_1_22<br>
libva info: va_openDriver() returns 0<br>
[AVHWDeviceContext @ 0x7f475809f580] Trying to use DRM render node
for device 0, with matching kernel driver (i915).<br>
[AVHWDeviceContext @ 0x7f475809f580] libva: VA-API version 1.22.0<br>
[AVHWDeviceContext @ 0x7f475809f580] libva: User requested driver
'iHD'<br>
[AVHWDeviceContext @ 0x7f475809f580] libva: Trying to open
/usr/lib64/dri/iHD_drv_video.so<br>
[AVHWDeviceContext @ 0x7f475809f580] libva: Found init function
__vaDriverInit_1_22<br>
[AVHWDeviceContext @ 0x7f475809f580] libva: va_openDriver() returns
0<br>
[AVHWDeviceContext @ 0x7f475809f580] Initialised VAAPI connection:
version 1.22<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x41524742 -> bgra.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x41424752 -> rgba.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x58524742 -> bgr0.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x58424752 -> rgb0.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30335241 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30334241 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30335258 ->
x2rgb10le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30334258 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x36314752 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x56555941 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x56555958 -> vuyx.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30303859 -> gray.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x3231564e -> nv12.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x3132564e ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x32595559 ->
yuyv422.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x59565955 ->
uyvy422.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x32315659 ->
yuv420p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30323449 ->
yuv420p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x50313134 ->
yuv411p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x48323234 ->
yuv422p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x56323234 ->
yuv440p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x50343434 ->
yuv444p.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x33434d49 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30313050 -> p010le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x32313050 -> p012le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x36313050 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30313259 -> y210le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x32313259 -> y212le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x36313259 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x30313459 -> xv30le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x32313459 -> xv36le.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x36313459 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x50424752 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] Format 0x50524742 ->
unknown.<br>
[AVHWDeviceContext @ 0x7f475809f580] VAAPI driver: Intel iHD driver
for Intel(R) Gen Graphics - 24.3.4 ().<br>
[AVHWDeviceContext @ 0x7f475809f580] Driver not found in known
nonstandard list, using standard behaviour.<br>
[av1_qsv @ 0x7f47580ece80] Initialized an internal MFX session using
hardware accelerated implementation<br>
[av1_qsv @ 0x7f47580ece80] 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.<br>
[av1_qsv @ 0x7f47580ece80] Using the constant quantization parameter
(CQP) ratecontrol method<br>
[av1_qsv @ 0x7f47580ece80] profile: av1 main; level: 30<br>
[av1_qsv @ 0x7f47580ece80] GopPicSize: 248; GopRefDist: 8;
GopOptFlag:; IdrInterval: 0<br>
[av1_qsv @ 0x7f47580ece80] TargetUsage: 4; RateControlMethod: CQP<br>
[av1_qsv @ 0x7f47580ece80] QPI: 102; QPP: 128; QPB: 161<br>
[av1_qsv @ 0x7f47580ece80] NumRefFrame: 4<br>
[av1_qsv @ 0x7f47580ece80] IntRefType: 0; IntRefCycleSize: 0;
IntRefQPDelta: 0; IntRefCycleDist: 0<br>
[av1_qsv @ 0x7f47580ece80] MaxFrameSize: 0;<br>
[av1_qsv @ 0x7f47580ece80] BitrateLimit: unknown; MBBRC: OFF;
ExtBRC: unknown<br>
[av1_qsv @ 0x7f47580ece80] VDENC: ON<br>
[av1_qsv @ 0x7f47580ece80] BRefType: pyramid<br>
[av1_qsv @ 0x7f47580ece80] PRefType: default<br>
[av1_qsv @ 0x7f47580ece80] MinQPI: 0; MaxQPI: 0; MinQPP: 0; MaxQPP:
0; MinQPB: 0; MaxQPB: 0<br>
[av1_qsv @ 0x7f47580ece80] FrameRateExtD: 1; FrameRateExtN: 25 <br>
[av1_qsv @ 0x7f47580ece80] NumTileRows: 1; NumTileColumns: 1;
NumTileGroups: 1<br>
[av1_qsv @ 0x7f47580ece80] WriteIVFHeaders: OFF <br>
[av1_qsv @ 0x7f47580ece80] LowDelayBRC: OFF<br>
[av1_qsv @ 0x7f47580ece80] MaxFrameSize: 0;<br>
[SWR @ 0x7f47581a2b40] Using fltp internally between filters<br>
Render::render_single: Session finished.<br>
** rendered 2832 frames in 6.205 secs, 456.406 fps<br>
-----------<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
audio0 pad 32 -143 (175)<br>
audio0 pad 0 -143 (143)<br>
audio0 pad 0 -15 (15)<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/Videoklipp/QSV/dv01_07_av1_qsv.webm<br>
Total excess of backups: -50 <br>
Session time: 0:24:06<br>
Cpu time: user: 0:00:25.478 sys: 0:00:08.879<br>
---------------<br>
<br>
du -sh dv01_07*.webm<br>
11M dv01_07_av1_qsv.webm<br>
22M dv01_07_av1_svt.webm<br>
<br>
ffprobe -hide_banner dv01_07_av1_qsv.webm<br>
Input #0, matroska,webm, from 'dv01_07_av1_qsv.webm':<br>
Metadata:<br>
ENCODER : Lavf61.1.100<br>
Duration: 00:01:53.28, start: 0.000000, bitrate: 770 kb/s<br>
Stream #0:0: Video: av1 (libdav1d) (Main), yuv420p(tv,
bt470bg/unknown/unknown), 720x576, SAR 16:15 DAR 4:3, 25 fps, 25
tbr, 1k tbn<br>
Metadata:<br>
DURATION : 00:01:53.283000000<br>
Stream #0:1: Audio: vorbis, 48000 Hz, stereo, fltp<br>
Metadata:<br>
DURATION : 00:01:53.283000000<br>
<br>
<br>
</div>
</blockquote></div></div></div>