<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<div class="moz-cite-prefix">Den 27.08.2024 05:50, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite"
cite="mid:CA+rFky6uXy_Qze+72ch_+-dBop10PnVZdyy6zVgd_RvHuXCFZQ@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">вт, 27 авг. 2024 г., 00:28
Terje J. Hanssen <<a
href="mailto:terjejhanssen@gmail.com" target="_blank"
rel="noreferrer" moz-do-not-send="true"
class="moz-txt-link-freetext">terjejhanssen@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div> <br>
<br>
<div>Den 26.08.2024 17:49, skrev Phyllis Smith:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><b>Terje,</b></div>
<div class="gmail_default" style="font-size:small">Not
sure why it reports it as<span> SVT-AV1 Encoder
Lib v2.2.0<b> </b>because I downloaded what
is reported as v2.2.1 here:<br>
</span></div>
<div class="gmail_default" style="font-size:small"><span></span>
<a
href="https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases"
rel="noreferrer noreferrer" target="_blank"
moz-do-not-send="true"
class="moz-txt-link-freetext">https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases</a></div>
<div class="gmail_default" style="font-size:small">and
the downloaded tar file was shown as:
SVT-AV1-v2.2.1.tar</div>
<div class="gmail_default" style="font-size:small">Maybe
whoever added the mods to create v2.2.1 forgot
to update the version line. But at any rate, to
prevent future confusion for me, I need to leave
the tar file named 2.2.1.<br>
</div>
</div>
</div>
</blockquote>
<br>
Seemingly this is a minor bug somewhere in this version.<br>
I upgraded my system SVT-AV1 and lib to v. 2.2.1 and got
the same result: 2.2.0<br>
<br>
What confuse me more, is that Cingg rendering seems <span><a
rel="noreferrer noreferrer" moz-do-not-send="true">out
of proportion</a></span> 2.5x faster than
corresponding transcoding the same hdv file using ffmpeg
directly. Possibly Cingg calculates the speed after
loading the input file, and ffmpeg not(?)<br>
<br>
hdv09_04.m2t -->
hdv09_04_m2t_svt-av1-220_pr6+opus.webm<br>
<blockquote><font face="monospace">CinGG: **rendered
5972 frames in 34.052 secs, 175.379 fps </font><br>
<font face="monospace">FFmpeg: frame= 5963 fps= 69
q=35.0 Lsize= 121908KiB time=00:03:58.77
bitrate=4182.4kbits/s speed=2.77x </font><br>
</blockquote>
Here is the FFmpeg command line I use, which also out
some mpeg2 errors:<br>
<blockquote><font face="monospace">ffmpeg -hide_banner
-i hdv09_04.m2t -c:v libsvtav1 -preset 6 -crf 35
-c:a libopus
hdv09_04_m2t_ffmpeg-7_svt-av1-221_pr6+opus.webm<br>
</font></blockquote>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">you can try to add same parameters to av1
profile?</div>
<div dir="auto"><br>
</div>
<div dir="auto"><span
style="font-family:monospace;font-size:10.4px">-preset 6
-crf 35</span><br>
</div>
<div dir="auto"><span
style="font-family:monospace;font-size:10.4px"><br>
</span></div>
<div dir="auto"><span
style="font-family:monospace;font-size:10.4px">just without
"-" and as two lines ...? (commented-out params use preset
6/crf 25 - you probably can uncomment and edit second param
too)</span></div>
</div>
</blockquote>
<br>
Thank you. Yes, with parameters "preset 6" and "crf 35" the
Cingg/FFmpeg rendering speed matched:<br>
<blockquote><font face="monospace">Cingg: ** rendered 5972 frames in
84.437 secs, 70.727 fps<br>
</font></blockquote>
At first I wondered if perhaps different CPU core utilization had
been used above. I verified now with top that Cingg used CPU
1400-1500% on a 12-core (8-mt/4-st) model: 12th Gen Intel Core
i7-12700KF.<br>
<br>
I also had a look back into our January conversation about SVT-AV1
parameters. As already seen above, Cingg output what I think are
SVT-AV1 defaults<br>
<blockquote><font face="Courier New, Courier, monospace">Svt[info]:
SVT [config]: BRC mode / rate factor : CRF / 35
</font><br>
</blockquote>
Therefore I suggest that the Cingg preset make use of the same
SVT-AV1 defaults, to avoid confusing.<br>
<br>
Another suggestion from the Simple SVT-AV1 Beginner guide, is to
always use 10-bit encoding:<br>
<a class="moz-txt-link-freetext" href="https://gist.github.com/BlueSwordM/86dfcb6ab38a93a524472a0cbe4c4100">https://gist.github.com/BlueSwordM/86dfcb6ab38a93a524472a0cbe4c4100</a><br>
<ul>
<li><font face="Times New Roman, Times, serif">I always recommend
to use 10-bit (<code>-pix_fmt yuv420p10le</code>) no matter
what. It provides a good quality boost in all cases,
particularly in darker shades and noisy stuff.</font></li>
</ul>
I tested this yuv420p10le pixel format with Cingg too (no yuv42210le
pix_fmt supported by SVT-AV1 yet): <br>
Result: 10-bit a bit slower rendering and smaller file size, both my
samples looks good in my eyes.<br>
<blockquote><font face="monospace">Svt[info]: SVT [config]:
bit-depth / color format : 10 / YUV420<br>
** rendered 5972 frames in 97.816 secs, 61.053 fps</font><font
face="Courier New, Courier, monospace"><br>
<br>
</font><font face="monospace">119M
hdv09_04_m2t_svt-av1-221_cf35_pr6+opus.webm<br>
117M hdv09_04_m2t_svt-av1-221_cf35_pr6_yuv420p10le+opus.webm</font><font
face="Courier New, Courier, monospace"><br>
</font></blockquote>
<br>
<blockquote type="cite"
cite="mid:CA+rFky6uXy_Qze+72ch_+-dBop10PnVZdyy6zVgd_RvHuXCFZQ@mail.gmail.com">
<div dir="auto">
<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><font face="monospace"> [mpeg2video @
0x562aa8f5b4c0] Invalid frame dimensions 0x0.<br>
Last message repeated 3 times<br>
[mpegts @ 0x562aa8f55e00] PES packet size mismatch<br>
[mpegts @ 0x562aa8f55e00] Packet corrupt (stream =
1, dts = 258142320).<br>
[mpegts @ 0x562aa8f55e00] Could not find codec
parameters for stream 2 (Unknown: none
([160][0][0][0] / 0x00A0)): unknown codec<br>
Consider increasing the value for the
'analyzeduration' (0) and 'probesize' (5000000)
options<br>
[mpegts @ 0x562aa8f55e00] Could not find codec
parameters for stream 3 (Unknown: none
([161][0][0][0] / 0x00A1)): unknown codec<br>
Consider increasing the value for the
'analyzeduration' (0) and 'probesize' (5000000)
options<br>
Input #0, mpegts, from 'hdv09_04.m2t':<br>
Duration: 00:03:59.06, start: 2629.496000,
bitrate: 26110 kb/s<br>
Program 100 <br>
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<br>
Side data:<br>
cpb: bitrate max/min/avg: 25000000/0/0
buffer size: 7340032 vbv_delay: N/A<br>
Stream #0:1[0x814]: Audio: mp2 (mp3float)
([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 384
kb/s<br>
Stream #0:2[0x815]: Unknown: none ([160][0][0][0]
/ 0x00A0)<br>
Stream #0:3[0x811]: Unknown: none ([161][0][0][0]
/ 0x00A1)<br>
Stream mapping:<br>
Stream #0:0 -> #0:0 (mpeg2video (native) ->
av1 (libsvtav1))<br>
Stream #0:1 -> #0:1 (mp2 (native) -> opus
(libopus))<br>
Press [q] to stop, [?] for help<br>
[libopus @ 0x562aa8f8b940] No bit rate set.
Defaulting to 96000 bps.<br>
Svt[info]:
-------------------------------------------<br>
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib
v2.2.0<br>
</font><font face="monospace">.........snip</font><br>
<font face="monospace">Output #0, webm, to
'hdv09_04_m2t_ffmpeg-7_svt-av1-221_pr6+opus.webm':</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> encoder :
Lavf61.1.100</font><br>
<font face="monospace"> Stream #0:0: Video: av1,
yuv420p(tv, bt709, top coded first (swapped)),
1440x1080 [SAR 4:3 DAR 16:9], q=2-31, 25 fps, 1k tbn</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> encoder :
Lavc61.3.100 libsvtav1</font><br>
<font face="monospace"> Stream #0:1: Audio: opus,
48000 Hz, stereo, s16, 96 kb/s</font><br>
<font face="monospace"> Metadata:</font><br>
<font face="monospace"> encoder :
Lavc61.3.100 libopus</font><br>
<font face="monospace">[mpegts @ 0x562aa8f55e00] PES
packet size mismatch0:03:50.00 bitrate=4148.7kbits/s
speed=2.75x </font><br>
<font face="monospace">[mpegts @ 0x562aa8f55e00]
Packet corrupt (stream = 1, dts = 258142320).</font><br>
<font face="monospace">[mpeg2video @ 0x562aa8f86800]
ac-tex damaged at 10 61</font><br>
<font face="monospace">[mpeg2video @ 0x562aa8f86800]
Warning MVs not available</font><br>
<font face="monospace">[mpeg2video @ 0x562aa8f86800]
concealing 630 DC, 630 AC, 630 MV errors in P frame</font><br>
<font face="monospace">[vist#0:0/mpeg2video @
0x562aa8f5de80] [dec:mpeg2video @ 0x562aa90fa840]
corrupt decoded frame</font><br>
<font face="monospace">[out#0/webm @ 0x562aa8f8d380]
video:119306KiB audio:2490KiB subtitle:0KiB other
streams:0KiB global headers:0KiB muxing overhead:
0.091528%</font><br>
<br>
</blockquote>
<br>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span
class="gmail_default" style="font-size:small"></span>
> RenderFarmClient::main_loop: client started<br>
> FFMPEG::open_decoder: some stream times
estimated: /home/guest/0005.avi<br>
> Svt[info]:
-------------------------------------------<br>
> Svt[info]: SVT [version]: SVT-AV1
Encoder Lib v2.2.0<br>
<br>
I also got and noticed the output version<br>
<br>
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib
v2.2.0<br>
<br>
<br>
Shouldn't it be SVT-AV1 Lib 2.2.1 as mentioned
above<br>
<br>
cinelerra-5.1/thirdparty/src/libsvtav1-v2.2.1.tar.xz<br>
<br>
or possibly the 2.2.1 sub-version isn't shown in
the Svt info?<br>
<br>
</blockquote>
<div> <br>
<span class="gmail_default"
style="font-size:small"><font size="4"><b>Andrey</b>,</font>
if you see this, Andrew has suggested</span><span
class="gmail_default" style="font-size:small">
"</span>maybe compilefarm configure command
line for new OSes need to be<br>
augmented with '--enable-libsvtav1" ?<span
class="gmail_default" style="font-size:small">".</span></div>
<div><span class="gmail_default"
style="font-size:small">libsvtav1 requires
cmake to be at 3.16 (or so far has been
working at 3.12) so we did not want to have
failures by making it compile by default in
order to not impact older operating systems
where it would always fail.<br>
</span></div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</body>
</html>