<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 19 июн. 2024 г., 03:30 Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org">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"><u></u>
<div>
<font face="Courier New, Courier, monospace">Late last year I posted
a thread "[Cin] Prepping HW upgrade options for AV1 de-/encoding"<br>
<a href="https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg06626.html" target="_blank" rel="noreferrer">https://www.mail-archive.com/cin@lists.cinelerra-gg.org/msg06626.html</a><br>
<br>
and there have also been other threads about hardware acceleration<br>
<br>
So here again, I also wanted to give it a first try with ffmpeg
-hwaccel AV1 QSV encoding.<br>
First some system specifications:<br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">inxi -CGS</font><br>
<font face="Courier New, Courier, monospace">System:</font><br>
<font face="Courier New, Courier, monospace"> Host:
localhost.localdomain Kernel: 6.9.4-1-default arch: x86_64 bits:
64</font><br>
<font face="Courier New, Courier, monospace"> Desktop: GNOME v:
46.2 Distro: openSUSE Tumbleweed-Slowroll 20240605</font><br>
<font face="Courier New, Courier, monospace">CPU:</font><br>
<font face="Courier New, Courier, monospace"> Info: 12-core
(8-mt/4-st) model: 12th Gen Intel Core i7-12700KF bits: 64</font><br>
<font face="Courier New, Courier, monospace"> type: MST AMCP
cache: L2: 12 MiB</font><br>
<font face="Courier New, Courier, monospace"> Speed (MHz): avg:
800 min/max: 800/4900:5000:3800 cores: 1: 800 2: 800</font><br>
<font face="Courier New, Courier, monospace"> 3: 800 4: 800 5:
800 6: 800 7: 800 8: 800 9: 800 10: 800 11: 800 12: 800</font><br>
<font face="Courier New, Courier, monospace"> 13: 800 14: 800
15: 800 16: 800 17: 800 18: 800 19: 800 20: 800</font><br>
<font face="Courier New, Courier, monospace">Graphics:</font><br>
<font face="Courier New, Courier, monospace"> Device-1: Intel DG2
[Arc A750] driver: i915 v: kernel</font><br>
<font face="Courier New, Courier, monospace"> Device-2: Microdia
Camera driver: snd-usb-audio,uvcvideo type: USB</font><br>
<font face="Courier New, Courier, monospace"> Display: wayland
server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.0</font><br>
<font face="Courier New, Courier, monospace"> compositor:
gnome-shell driver: gpu: i915 resolution: 2560x1440~60Hz</font><br>
<font face="Courier New, Courier, monospace"> API: OpenGL v: 4.6
vendor: intel mesa v: 24.0.8 renderer: Mesa Intel Arc</font><br>
<font face="Courier New, Courier, monospace"> A750 Graphics
(DG2)</font><br>
<font face="Courier New, Courier, monospace"> API: EGL Message:
EGL data requires eglinfo. Check --recommends.<br>
<br>
</font></blockquote>
<blockquote><font face="Courier New, Courier, monospace">ls /dev/dri</font><br>
<font face="Courier New, Courier, monospace">by-path card1
renderD128</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -hwaccels</font><br>
<font face="Courier New, Courier, monospace">Hardware acceleration
methods:</font><br>
<font face="Courier New, Courier, monospace">vdpau</font><br>
<font face="Courier New, Courier, monospace">cuda</font><br>
<font face="Courier New, Courier, monospace">vaapi</font><br>
<font face="Courier New, Courier, monospace">qsv</font><br>
<font face="Courier New, Courier, monospace">drm</font><br>
<font face="Courier New, Courier, monospace">vulkan</font><br>
<font face="Courier New, Courier, monospace"><br>
</font></blockquote>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -h encoder=av1_qsv </font><br>
<font face="Courier New, Courier, monospace">Encoder av1_qsv [AV1
(Intel Quick Sync Video acceleration)]:</font><br>
<font face="Courier New, Courier, monospace"> General
capabilities: delay hybrid </font><br>
<font face="Courier New, Courier, monospace"> Threading
capabilities: none</font><br>
<font face="Courier New, Courier, monospace"> Supported
hardware devices: qsv qsv qsv </font><br>
<font face="Courier New, Courier, monospace"> Supported pixel
formats: nv12 p010le qsv</font><br>
<font face="Courier New, Courier, monospace">av1_qsv encoder
AVOptions:</font><br>
<font face="Courier New, Courier, monospace"> -async_depth
<int> E..V....... Maximum processing parallelism
(from 1 to INT_MAX) (default 4)</font><br>
<font face="Courier New, Courier, monospace"> -preset
<int> E..V....... (from 0 to 7) (default 0)</font><br>
<font face="Courier New, Courier, monospace"> veryfast
7 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> faster
6 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> fast
5 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> medium
4 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> slow
3 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> slower
2 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> veryslow
1 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> -forced_idr
<boolean> E..V....... Forcing I frames as IDR frames
(default false)</font><br>
<font face="Courier New, Courier, monospace"> -low_power
<boolean> E..V....... enable low power
mode(experimental: many limitations by mfx version, BRC modes,
etc.) (default auto)</font><br>
<font face="Courier New, Courier, monospace"> -b_strategy
<int> E..V....... Strategy to choose between
I/P/B-frames (from -1 to 1) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -adaptive_i
<int> E..V....... Adaptive I-frame placement (from
-1 to 1) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -adaptive_b
<int> E..V....... Adaptive B-frame placement (from
-1 to 1) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -extbrc
<int> E..V....... Extended bitrate control (from -1
to 1) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -low_delay_brc
<boolean> E..V....... Allow to strictly obey avg frame
size (default auto)</font><br>
<font face="Courier New, Courier, monospace"> -max_frame_size
<int> E..V....... Maximum encoded frame size in
bytes (from -1 to INT_MAX) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -max_frame_size_i
<int> E..V....... Maximum encoded I frame size in
bytes (from -1 to INT_MAX) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -max_frame_size_p
<int> E..V....... Maximum encoded P frame size in
bytes (from -1 to INT_MAX) (default -1)</font><br>
<font face="Courier New, Courier, monospace"> -profile
<int> E..V....... (from 0 to INT_MAX) (default
unknown)</font><br>
<font face="Courier New, Courier, monospace"> unknown
0 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> main
1 E..V.......</font><br>
<font face="Courier New, Courier, monospace"> -tile_cols
<int> E..V....... Number of columns for tiled
encoding (from 0 to 65535) (default 0)</font><br>
<font face="Courier New, Courier, monospace"> -tile_rows
<int> E..V....... Number of rows for tiled encoding
(from 0 to 65535) (default 0)</font><br>
<font face="Courier New, Courier, monospace"> -look_ahead_depth
<int> E..V....... Depth of look ahead in number
frames, available when extbrc option is enabled (from 0 to 100)
(default 0)</font><br>
</blockquote>
<font face="Courier New, Courier, monospace">--------------<br>
<br>
</font><font face="Courier New, Courier, monospace">So far I have
not found any detailed user guide for this, so suggestions are
welcome.<br>
<br>
I have tried to apply a sample command line from the FFmpeg
wiki:Hardware/QuickSync<br>
<a href="https://trac.ffmpeg.org/wiki/Hardware/QuickSync#Transcode" target="_blank" rel="noreferrer">https://trac.ffmpeg.org/wiki/Hardware/QuickSync#Transcode</a> <br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hwaccel qsv -qsv_device /dev/dri/renderD128 -c:v h264_qsv -i
input.mp4 -c:v h264_qsv output.mp4</font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
I added -preset 4 (medium) from above (which gives much more
compression and smaller file size than with -preset 4 for
av1_svt). <br>
This didn't seem to change the file size compression compared with
the defaults (without setting preset)<br>
Some visible artifacts (mosaic and stuttering ) is seen during
zoom and pan in the hdv file; probably due to hard compression
and/or the memory allocation error messages, I would guess. <br>
<br>
-------------<br>
<br>
In short, I have tested the same SD-DV 576i and HDV 1080i video
files as with SVT-AV1 (CPU based) in another resent post.<br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -hwaccel qsv -qsv_device /dev/dri/renderD128 -i
dv01_07.dv -c:v av1_qsv -preset 4 dv01_07_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">frame= 2832 fps=2106
q=-0.0 Lsize= 10554KiB time=00:01:53.24 bitrate= 763.5kbits/s
speed=84.2x </font><br>
<br>
<font face="Courier New, Courier, monospace">fmpeg -hide_banner
-hwaccel qsv -qsv_device /dev/dri/renderD128 -i hdv09_04.m2t
-c:v av1_qsv -preset 4 hdv09_04.m2t_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">frame= 5913 fps=700
q=-0.0 Lsize= 48022KiB time=00:03:58.77 bitrate=1647.6kbits/s
dup=0 drop=4 speed=28.3x </font><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
</font>
<blockquote><font face="Courier New, Courier, monospace">du -sh
dv01_07*</font><br>
<font face="Courier New, Courier, monospace">389M dv01_07.dv</font><br>
<font face="Courier New, Courier, monospace">11M
dv01_07_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">24M
dv01_07_svt-av1_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">27M
dv01_07_svt-av1_pr6.webm</font><br>
<font face="Courier New, Courier, monospace">28M
dv01_07_svt-av1_pr8.webm</font><br>
<font face="Courier New, Courier, monospace">31M
dv01_07_svt-av1_pr10.webm</font><br>
<font face="Courier New, Courier, monospace">33M
dv01_07_svt-av1_pr12.webm</font><br>
<br>
<font face="Courier New, Courier, monospace">du -sh hdv09_04*</font><br>
<font face="Courier New, Courier, monospace">745M hdv09_04.m2t</font><br>
<font face="Courier New, Courier, monospace">47M
hdv09_04.m2t_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">111M
hdv09_04_m2t_svt-av1_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">119M
hdv09_04_m2t_svt-av1_pr6.webm</font><br>
<font face="Courier New, Courier, monospace">118M
hdv09_04_m2t_svt-av1_pr8.webm</font><br>
<font face="Courier New, Courier, monospace">125M
hdv09_04_m2t_svt-av1_pr10.webm</font><br>
<font face="Courier New, Courier, monospace">134M
hdv09_04_m2t_svt-av1_pr12.webm<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace"><br>
A warning output in both command lines is:<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">[vist#0:0/dvvideo
@ 0x556a3f679100] WARNING: defaulting hwaccel_output_format to
qsv for compatibility with old commandlines. This behaviour is
DEPRECATED and will be removed in the future. Please explicitly
set "-hwaccel_output_format qsv".</font><br>
</blockquote>
<font face="Courier New, Courier, monospace">I tried to add this
without success, so suggestion is welcome !?<br>
<br>
<br>
And possibly suggestions regarding the more seriously errors
"Cannot allocate memory" that arised from the second command
transcoding the hdv file?<br></font></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">well, you tried to add -<font face="courier new, courier, monospace">extra_hw_frames 16 for example to your ffmpeg line? I think mpeg2 is not most popular input codec nowadays ....</font></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><font face="Courier New, Courier, monospace">
</font>
<blockquote><font face="Courier New, Courier, monospace">[mpeg2_qsv
@ 0x5596ba3d1500] Failed to allocate a qsv/nv12 frame from a
fixed pool of hardware frames.</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] Consider setting extra_hw_frames to a larger
value (currently set to 8, giving a pool size of 32).</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Error
submitting packet to decoder: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Error
submitting packet to decoder: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">....... skip</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] PES packet size mismatch0:03:46.20
bitrate=1650.3kbits/s speed=28.3x </font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] Packet corrupt (stream = 1, dts = 258142320).</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">.......... skip</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] Too many errors when draining, this is a bug.
Stop draining and force EOF.</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Internal bug, should not have happened<br>
<br>
</font></blockquote>
<font face="Courier New, Courier, monospace">I attach also the
"complete" ffmpeg output FWIW for both files, though skipping
repeated error lines:<br>
<br>
</font>
<blockquote><font face="Courier New, Courier, monospace">ffmpeg
-hide_banner -hwaccel qsv -qsv_device /dev/dri/renderD128 -i
dv01_07.dv -c:v av1_qsv -preset 4 dv01_07_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">libva info: VA-API
version 1.21.0</font><br>
<font face="Courier New, Courier, monospace">libva info: Trying to
open /usr/lib64/dri/iHD_drv_video.so</font><br>
<font face="Courier New, Courier, monospace">libva info: Found
init function __vaDriverInit_1_20</font><br>
<font face="Courier New, Courier, monospace">libva info:
va_openDriver() returns 0</font><br>
<font face="Courier New, Courier, monospace">libva info: VA-API
version 1.21.0</font><br>
<font face="Courier New, Courier, monospace">libva info: Trying to
open /usr/lib64/dri/iHD_drv_video.so</font><br>
<font face="Courier New, Courier, monospace">libva info: Found
init function __vaDriverInit_1_20</font><br>
<font face="Courier New, Courier, monospace">libva info:
va_openDriver() returns 0</font><br>
<font face="Courier New, Courier, monospace">[dv @ 0x556a3f643000]
Estimating duration from bitrate, this may be inaccurate</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/dvvideo @
0x556a3f679100] WARNING: defaulting hwaccel_output_format to qsv
for compatibility with old commandlines. This behaviour is
DEPRECATED and will be removed in the future. Please explicitly
set "-hwaccel_output_format qsv".</font><br>
<font face="Courier New, Courier, monospace">Input #0, dv, from
'dv01_07.dv':</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace"> timecode :
01:09:35:09</font><br>
<font face="Courier New, Courier, monospace"> Duration:
00:01:53.28, start: 0.000000, bitrate: 28800 kb/s</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0: Video:
dvvideo, yuv420p, 720x576 [SAR 16:15 DAR 4:3], 28800 kb/s, 60k
fps, 25 tbr, 60k tbn</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1: Audio:
pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s</font><br>
<font face="Courier New, Courier, monospace">Stream mapping:</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0 ->
#0:0 (dvvideo (native) -> av1 (av1_qsv))</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1 ->
#0:1 (pcm_s16le (native) -> opus (libopus))</font><br>
<font face="Courier New, Courier, monospace">Press [q] to stop,
[?] for help</font><br>
<font face="Courier New, Courier, monospace">[libopus @
0x556a3f656580] No bit rate set. Defaulting to 96000 bps.</font><br>
<font face="Courier New, Courier, monospace">[av1_qsv @
0x556a3f653040] 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.</font><br>
<font face="Courier New, Courier, monospace">Output #0, webm, to
'dv01_07_av1_qsv_pr4.webm':</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace"> timecode :
01:09:35:09</font><br>
<font face="Courier New, Courier, monospace"> encoder :
Lavf61.1.100</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0: Video:
av1, nv12(bottom coded first (swapped)), 720x576 [SAR 16:15 DAR
4:3], q=2-31, 25 fps, 1k tbn</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace">
encoder : Lavc61.3.100 av1_qsv</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1: Audio:
opus, 48000 Hz, stereo, s16, 96 kb/s</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace">
encoder : Lavc61.3.100 libopus</font><br>
<font face="Courier New, Courier, monospace">[out#0/webm @
0x556a3f4da5c0] video:9315KiB audio:1186KiB subtitle:0KiB other
streams:0KiB global headers:0KiB muxing overhead: 0.505196%</font><br>
<font face="Courier New, Courier, monospace">frame= 2832 fps=2106
q=-0.0 Lsize= 10554KiB time=00:01:53.24 bitrate= 763.5kbits/s
speed=84.2x </font></blockquote></div></blockquote></div></div><div dir="auto"><span style="font-family:"courier new",courier,monospace">bitrate= 763.5kbits/s</span><br></div><div dir="auto"><span style="font-family:"courier new",courier,monospace"><br></span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace">sounds a bit low even for av1, so may be try to set -b to some higher value as suggested?</span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace"><br></span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace">====</span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace"><br></span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace">av1_qsv @ 0x556a3f653040] 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.</span><span style="font-family:"courier new",courier,monospace"><br></span></div><div dir="auto"><span style="font-family:"courier new",courier,monospace">====</span></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><blockquote><br>
<br>
<font face="Courier New, Courier, monospace">------------------</font><br>
<br>
<font face="Courier New, Courier, monospace">ffmpeg -hide_banner
-hwaccel qsv -qsv_device /dev/dri/renderD128 -i hdv09_04.m2t
-c:v av1_qsv -preset 4 hdv09_04.m2t_av1_qsv_pr4.webm</font><br>
<font face="Courier New, Courier, monospace">libva info: VA-API
version 1.21.0</font><br>
<font face="Courier New, Courier, monospace">libva info: Trying to
open /usr/lib64/dri/iHD_drv_video.so</font><br>
<font face="Courier New, Courier, monospace">libva info: Found
init function __vaDriverInit_1_20</font><br>
<font face="Courier New, Courier, monospace">libva info:
va_openDriver() returns 0</font><br>
<font face="Courier New, Courier, monospace">libva info: VA-API
version 1.21.0</font><br>
<font face="Courier New, Courier, monospace">libva info: Trying to
open /usr/lib64/dri/iHD_drv_video.so</font><br>
<font face="Courier New, Courier, monospace">libva info: Found
init function __vaDriverInit_1_20</font><br>
<font face="Courier New, Courier, monospace">libva info:
va_openDriver() returns 0</font><br>
<font face="Courier New, Courier, monospace">[mpeg2video @
0x5596ba391500] Invalid frame dimensions 0x0.</font><br>
<font face="Courier New, Courier, monospace"> Last message
repeated 3 times</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] PES packet size mismatch</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] Packet corrupt (stream = 1, dts = 258142320).</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] Could not find codec parameters for stream 2
(Unknown: none ([160][0][0][0] / 0x00A0)): unknown codec</font><br>
<font face="Courier New, Courier, monospace">Consider increasing
the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] Could not find codec parameters for stream 3
(Unknown: none ([161][0][0][0] / 0x00A1)): unknown codec</font><br>
<font face="Courier New, Courier, monospace">Consider increasing
the value for the 'analyzeduration' (0) and 'probesize'
(5000000) options</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] WARNING: defaulting hwaccel_output_format to
qsv for compatibility with old commandlines. This behaviour is
DEPRECATED and will be removed in the future. Please explicitly
set "-hwaccel_output_format qsv".</font><br>
<font face="Courier New, Courier, monospace">Input #0, mpegts,
from 'hdv09_04.m2t':</font><br>
<font face="Courier New, Courier, monospace"> Duration:
00:03:59.06, start: 2629.496000, bitrate: 26110 kb/s</font><br>
<font face="Courier New, Courier, monospace"> Program 100 </font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0[0x810]:
Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv,
bt709, top first), 1440x1080 [SAR 4:3 DAR 16:9], 25000 kb/s, 25
fps, 25 tbr, 90k tbn</font><br>
<font face="Courier New, Courier, monospace"> Side data:</font><br>
<font face="Courier New, Courier, monospace"> cpb: bitrate
max/min/avg: 25000000/0/0 buffer size: 7340032 vbv_delay: N/A</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1[0x814]:
Audio: mp2 (mp3float) ([3][0][0][0] / 0x0003), 48000 Hz, stereo,
fltp, 384 kb/s</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:2[0x815]:
Unknown: none ([160][0][0][0] / 0x00A0)</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:3[0x811]:
Unknown: none ([161][0][0][0] / 0x00A1)</font><br>
<font face="Courier New, Courier, monospace">Stream mapping:</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0 ->
#0:0 (mpeg2video (mpeg2_qsv) -> av1 (av1_qsv))</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1 ->
#0:1 (mp2 (native) -> opus (libopus))</font><br>
<font face="Courier New, Courier, monospace">Press [q] to stop,
[?] for help</font><br>
<font face="Courier New, Courier, monospace">[libopus @
0x5596ba448cc0] No bit rate set. Defaulting to 96000 bps.</font><br>
<font face="Courier New, Courier, monospace">[av1_qsv @
0x5596ba39f1c0] 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.</font><br>
<font face="Courier New, Courier, monospace">Output #0, webm, to
'hdv09_04.m2t_av1_qsv_pr4.webm':</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace"> encoder :
Lavf61.1.100</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:0: Video:
av1, qsv(tv, bt709, top coded first (swapped)), 1440x1080 [SAR
4:3 DAR 16:9], q=2-31, 25 fps, 1k tbn</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace">
encoder : Lavc61.3.100 av1_qsv</font><br>
<font face="Courier New, Courier, monospace"> Stream #0:1: Audio:
opus, 48000 Hz, stereo, s16, 96 kb/s</font><br>
<font face="Courier New, Courier, monospace"> Metadata:</font><br>
<font face="Courier New, Courier, monospace">
encoder : Lavc61.3.100 libopus</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] Failed to allocate a qsv/nv12 frame from a fixed
pool of hardware frames.</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] Consider setting extra_hw_frames to a larger
value (currently set to 8, giving a pool size of 32).</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Error
submitting packet to decoder: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Error
submitting packet to decoder: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">............skip</font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] PES packet size mismatch0:03:46.20
bitrate=1650.3kbits/s speed=28.3x </font><br>
<font face="Courier New, Courier, monospace">[mpegts @
0x5596ba48c000] Packet corrupt (stream = 1, dts = 258142320).</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">.......skip</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Cannot allocate memory</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] get_buffer() failed</font><br>
<font face="Courier New, Courier, monospace">[mpeg2_qsv @
0x5596ba3d1500] Too many errors when draining, this is a bug.
Stop draining and force EOF.</font><br>
<font face="Courier New, Courier, monospace">[vist#0:0/mpeg2video
@ 0x5596ba394d00] [dec:mpeg2_qsv @ 0x5596ba3921c0] Decoding
error: Internal bug, should not have happened</font><br>
<font face="Courier New, Courier, monospace">[out#0/webm @
0x5596ba3cc400] video:45422KiB audio:2490KiB subtitle:0KiB other
streams:0KiB global headers:0KiB muxing overhead: 0.230717%</font><br>
<font face="Courier New, Courier, monospace">frame= 5913 fps=700
q=-0.0 Lsize= 48022KiB time=00:03:58.77 bitrate=1647.6kbits/s
dup=0 drop=4 speed=28.3x </font><br>
<font face="Courier New, Courier, monospace"> </font><br>
<br>
<br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
<br>
<br>
<br>
</font><br>
<font face="Courier New, Courier, monospace"><br>
<br>
</font>
<blockquote><br>
</blockquote>
<font face="Courier New, Courier, monospace"><br>
<br>
<br>
</font>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote></div></div></div>