<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
First, a summary from another current post and thread:<br>
<a class="moz-txt-link-freetext" href="https://lists.cinelerra-gg.org/pipermail/cin/2023-December/007430.html">https://lists.cinelerra-gg.org/pipermail/cin/2023-December/007430.html</a><br>
<br>
<blockquote type="cite">I will add the re-encoded sample <b>SD DV </b>file
using ffmpeg SVT-AV1, as I was positive surprised how much faster
(preset 10 about 25 sec) it was than rendering AV1 with CinGG
(libaom?) . I've tested three presets: 8, 10 and 12. "Useable
visible quality" for all.<br>
<br>
ffmpeg -i dv01_07.dv -c:v libsvtav1 -preset 8 -crf 35 -c:a
libvorbis dv01_07_svt-av1_pr8.webm<br>
frame= 2832 fps= 66 q=35.0 Lsize= 28836kB time=00:01:53.26
bitrate=2085.6kbits/s speed=2.65x <br>
<br>
ffmpeg -i dv01_07.dv -c:v libsvtav1 -preset 10 -crf 35 -c:a
libvorbis dv01_07_svt-av1_pr10.webm<br>
frame= 2832 <b>fps=112</b> q=35.0 Lsize= 34419kB
time=00:01:53.26 bitrate=2489.4kbits/s speed=4.47x <br>
<br>
ffmpeg -i dv01_07.dv -c:v libsvtav1 -preset 12 -crf 35 -c:a
libvorbis dv01_07_svt-av1_pr12.webm<br>
frame= 2832 fps=262 q=35.0 Lsize= 35913kB time=00:01:53.26
bitrate=2597.5kbits/s speed=10.5x <br>
</blockquote>
<br>
<br>
The speed of SVT-AV1 encoding seems for me to be quite useable, at
least for personal use.<br>
<br>
Here I add my latest test results for a <b>HDV (fps=69)</b> and a <b>FHD
(fps=51)</b> video clip.<br>
<br>
<blockquote><font face="Courier New, Courier, monospace">2.0G
hdv01_04.m2t</font><br>
<font face="Courier New, Courier, monospace">383M
hdv01_04_m2t_svt-av1_pr10.webm</font><br>
<br>
<font face="Courier New, Courier, monospace">1.7G hd01.mov</font><br>
<font face="Courier New, Courier, monospace">20M
hd01_mov_svt-av1_pr10.webm</font><br>
</blockquote>
<br>
<b>HDV</b> (yuv420p)<br>
-------<br>
<blockquote><b><font face="monospace">ffprobe -hide_banner
hdv01_04.m2t</font></b><br>
<font face="monospace">[mpeg2video @ 0x560c32966340] Invalid frame
dimensions 0x0.</font><br>
<font face="monospace"> Last message repeated 7 times</font><br>
<font face="monospace">[mpegts @ 0x560c32960c00] PES packet size
mismatch</font><br>
<font face="monospace">[mpegts @ 0x560c32960c00] Packet corrupt
(stream = 1, dts = 295380000).</font><br>
<font face="monospace">[mpegts @ 0x560c32960c00] Could not find
codec parameters for stream 2 (Unknown: none ([160][0][0][0] /
0x00A0)): unknown codec</font><br>
<font face="monospace">Consider increasing the value for the
'analyzeduration' (0) and 'probesize' (5000000) options</font><br>
<font face="monospace">[mpegts @ 0x560c32960c00] Could not find
codec parameters for stream 3 (Unknown: none ([161][0][0][0] /
0x00A1)): unknown codec</font><br>
<font face="monospace">Consider increasing the value for the
'analyzeduration' (0) and 'probesize' (5000000) options</font><br>
<font face="monospace">Input #0, mpegts, from 'hdv01_04.m2t':</font><br>
<font face="monospace"> Duration: 00:10:57.34, start:
2624.856000, bitrate: 26134 kb/s</font><br>
<font face="monospace"> Program 100 </font><br>
<font face="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="monospace"> Side data:</font><br>
<font face="monospace"> cpb: bitrate max/min/avg:
25000000/0/0 buffer size: 7340032 vbv_delay: N/A</font><br>
<font face="monospace"> Stream #0:1[0x814]: Audio: mp2
([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384 kb/s</font><br>
<font face="monospace"> Stream #0:2[0x815]: Unknown: none
([160][0][0][0] / 0x00A0)</font><br>
<font face="monospace"> Stream #0:3[0x811]: Unknown: none
([161][0][0][0] / 0x00A1)</font><br>
<font face="monospace">Unsupported codec with id 0 for input
stream 2</font><br>
<font face="monospace">Unsupported codec with id 0 for input
stream 3</font><br>
--------------<br>
<br>
<font face="monospace"><b>ffmpeg -i hdv01_04.m2t -c:v libsvtav1
-preset 10 -crf 35 -c:a libvorbis
hdv01_04_m2t_svt-av1_pr10.webm</b><br>
frame=16420 <b>fps= 69</b> q=34.0 Lsize= 391289kB
time=00:10:57.36 bitrate=4876.2kbits/s speed=2.77x </font><br>
</blockquote>
<blockquote><font face="monospace"><br>
<b>ffprobe -hide_banner hdv01_04_m2t_svt-av1_pr10.webm</b></font><br>
<font face="monospace">[libdav1d @ 0x562b42305540] libdav1d 1.3.0</font><br>
<font face="monospace">Input #0, matroska,webm, from
'hdv01_04_m2t_svt-av1_pr10.webm':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavf60.3.100</font><br>
<font face="monospace"> Duration: 00:10:57.40, start: 0.000000,
bitrate: 4875 kb/s</font><br>
<font face="monospace"> Stream #0:0: Video: av1 (Main),
yuv420p(tv, bt709), 1440x1080, SAR 4:3 DAR 16:9, 25 fps, 25 tbr,
1k tbn</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavc60.3.100
libsvtav1</font><br>
<font face="monospace"> DURATION : 00:10:57.403000000</font><br>
<font face="monospace"> Stream #0:1: Audio: vorbis, 48000 Hz,
stereo, fltp</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavc60.3.100
libvorbis</font><br>
<font face="monospace"> DURATION : 00:10:57.171000000</font><br>
<font face="monospace">[libdav1d @ 0x562b42361540] libdav1d 1.3.0<br>
<br>
</font></blockquote>
<b>FHD</b> <b>(</b>yuv422p10le<b>)</b><br>
<font face="monospace">-----<br>
</font>
<blockquote><b><font face="monospace">ffprobe hd01.mov</font></b><br>
<font face="monospace">.....</font><br>
<font face="monospace">Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'hd01.mov':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> Duration: 00:01:11.28, start: 0.000000,
bitrate: 200496 kb/s</font><br>
<font face="monospace"> Stream #0:0[0x1](eng): Video: prores (HQ)
(apch / 0x68637061), <b>yuv422p10le(bt709</b>, top coded first
(swapped)), 1920x1080, 182130 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
tbr, 2500 tbn (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Video Media
Handler</font><br>
<font face="monospace"> vendor_id : appl</font><br>
<font face="monospace"> encoder : Apple ProRes 422
(HQ)</font><br>
<font face="monospace"> Stream #0:1[0x2](eng): <b>Audio</b>:
pcm_s24le (lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32 (24
bit), 18432 kb/s (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Sound Media
Handler</font><br>
<font face="monospace"> vendor_id : [0][0][0][0]</font><br>
</blockquote>
<blockquote><font face="monospace"><b><br>
ffmpeg -i hd01.mov -c:v libsvtav1 -preset 10 -crf 35 -c:a
libvorbis hd01_mov_svt-av1_pr10.webm</b></font><br>
<font face="monospace">frame= 1781 <b>fps= 51</b> q=35.0 Lsize=
19732kB time=00:01:11.26 bitrate=2268.3kbits/s speed=2.03x </font><br>
</blockquote>
<font face="monospace"><br>
</font>
<blockquote><font face="monospace"><b>ffprobe -hide_banner
hdv01_04_m2t_svt-av1_pr10.webm</b></font><br>
<font face="monospace">[libdav1d @ 0x562b42305540] libdav1d 1.3.0</font><br>
<font face="monospace">Input #0, matroska,webm, from
'hdv01_04_m2t_svt-av1_pr10.webm':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavf60.3.100</font><br>
<font face="monospace"> Duration: 00:10:57.40, start: 0.000000,
bitrate: 4875 kb/s</font><br>
<font face="monospace"> Stream #0:0: Video: av1 (Main),
yuv420p(tv, bt709), 1440x1080, SAR 4:3 DAR 16:9, 25 fps, 25 tbr,
1k tbn</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavc60.3.100
libsvtav1</font><br>
<font face="monospace"> DURATION : 00:10:57.403000000</font><br>
<font face="monospace"> Stream #0:1: Audio: vorbis, 48000 Hz,
stereo, fltp</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> ENCODER : Lavc60.3.100
libvorbis</font><br>
<font face="monospace"> DURATION : 00:10:57.171000000</font><br>
</blockquote>
<font face="monospace"><br>
</font>An issue is that the audio was lost during the conversion
from .mov to .webm, so I attach the full ffmpeg output below.<br>
(possibly a mis-match regarding the audio stream #numbers ?)<br>
<br>
<blockquote><b><font face="monospace">ffmpeg -i hd01.mov -c:v
libsvtav1 -preset 10 -crf 35 -c:a libvorbis
hd01_mov_svt-av1_pr10.webm</font></b><br>
<font face="monospace">...</font><br>
<font face="monospace">Guessed Channel Layout for Input Stream
#0.1 : hexadecagonal</font><br>
<font face="monospace">Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'hd01.mov':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> Duration: 00:01:11.28, start: 0.000000,
bitrate: 200496 kb/s</font><br>
<font face="monospace"> Stream #0:0[0x1](eng): Video: prores (HQ)
(apch / 0x68637061), yuv422p10le(bt709, top coded first
(swapped)), 1920x1080, 182130 kb/s, SAR 1:1 DAR 16:9, 25 fps, 25
tbr, 2500 tbn (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Video Media
Handler</font><br>
<font face="monospace"> vendor_id : appl</font><br>
<font face="monospace"> encoder : Apple ProRes 422
(HQ)</font><br>
<font face="monospace"> Stream #0:1[0x2](eng): Audio: pcm_s24le
(lpcm / 0x6D63706C), 48000 Hz, 16 channels, s32 (24 bit), 18432
kb/s (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Sound Media
Handler</font><br>
<font face="monospace"> vendor_id : [0][0][0][0]</font><br>
<font face="monospace">Stream mapping:</font><br>
<font face="monospace"> Stream #0:0 -> #0:0 (prores (native)
-> av1 (libsvtav1))</font><br>
<font face="monospace"> Stream #0:1 -> #0:1 (pcm_s24le
(native) -> vorbis (libvorbis))</font><br>
<font face="monospace">Press [q] to stop, [?] for help</font><br>
<font face="monospace">Svt[info]:
-------------------------------------------</font><br>
<font face="monospace">Svt[info]: SVT [version]: SVT-AV1
Encoder Lib v1.7.0</font><br>
<font face="monospace">Svt[info]: SVT [build] : GCC 13.2.1
20230912 [revision b96e66fd4ef3e36983969fb8cdd1956f551a074b]
64 bit</font><br>
<font face="monospace">Svt[info]: LIB Build date: Nov 3 2023
00:00:00</font><br>
<font face="monospace">Svt[info]:
-------------------------------------------</font><br>
<font face="monospace">Svt[info]: Number of logical cores
available: 8</font><br>
<font face="monospace">Svt[info]: Number of PPCS 59</font><br>
<font face="monospace">Svt[info]: [asm level on system : up to
avx2]</font><br>
<font face="monospace">Svt[info]: [asm level selected : up to
avx2]</font><br>
<font face="monospace">Svt[info]:
-------------------------------------------</font><br>
<font face="monospace">Svt[info]: SVT [config]: main profile
tier (auto) level (auto)</font><br>
<font face="monospace">Svt[info]: SVT [config]: width / height /
fps numerator / fps denominator : 1920 / 1080 / 25 / 1</font><br>
<font face="monospace">Svt[info]: SVT [config]: bit-depth / color
format : 10 / YUV420</font><br>
<font face="monospace">Svt[info]: SVT [config]: preset / tune /
pred struct : 10 / PSNR / random access</font><br>
<font face="monospace">Svt[info]: SVT [config]: gop size /
mini-gop size / key-frame type : 161 / 16 / key
frame</font><br>
<font face="monospace">Svt[info]: SVT [config]: BRC mode / rate
factor : CRF / 35 </font><br>
<font face="monospace">Svt[info]:
-------------------------------------------</font><br>
<font face="monospace">Output #0, webm, to
'hd01_mov_svt-av1_pr10.webm':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> encoder : Lavf60.3.100</font><br>
<font face="monospace"> Stream #0:0(eng): Video: av1,
yuv420p10le(tv, bt709, top coded first (swapped)), 1920x1080
[SAR 1:1 DAR 16:9], q=2-31, 25 fps, 1k tbn (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Video Media
Handler</font><br>
<font face="monospace"> vendor_id : appl</font><br>
<font face="monospace"> encoder : Lavc60.3.100
libsvtav1</font><br>
<font face="monospace"> Stream #0:1(eng): Audio: vorbis, 48000
Hz, hexadecagonal, fltp (default)</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> creation_time :
2016-02-23T23:49:21.000000Z</font><br>
<font face="monospace"> handler_name : Apple Sound Media
Handler</font><br>
<font face="monospace"> vendor_id : [0][0][0][0]</font><br>
<font face="monospace"> encoder : Lavc60.3.100
libvorbis</font><br>
<font face="monospace">frame= 1781 fps= 51 q=35.0 Lsize= 19732kB
time=00:01:11.26 bitrate=2268.3kbits/s speed=2.03x </font><br>
<font face="monospace">video:18635kB audio:1059kB subtitle:0kB
other streams:0kB global headers:3kB muxing overhead: 0.193378%</font><br>
<br>
</blockquote>
<blockquote><font face="monospace"> </font><br>
</blockquote>
</body>
</html>