<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 2 янв. 2024 г., 06:30 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>
<br>
<div>Den 02.01.2024 03:46, skrev Andrew
Randrianasulu:<br>
</div>
<blockquote type="cite">
<div dir="auto">
<div><br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">вт, 2 янв. 2024 г., 05:27
Terje J. Hanssen via Cin <<a href="mailto:cin@lists.cinelerra-gg.org" target="_blank" rel="noreferrer">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> <br>
<br>
<div>Den 02.01.2024 02:06, skrev Phyllis Smith:<br>
</div>
<blockquote type="cite">
<div dir="ltr"><br>
<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">
<br>
</blockquote>
<div><span class="gmail_default" style="font-size:small">Am I the only one
getting errors when rendering using
av1-svt.webm (video only) as shown in bold
below? or am I doing something wrong?<br>
</span></div>
</div>
</div>
</blockquote>
<br>
No, you are not the only one. I get similar error
messages, see my output at the bottom here.<br>
<br>
CinGG rendering from hdv1080i25 8bit to respectively AV1
8bit yuv420p and 10bit yuvp10le and Opus.<br>
The difference in speed is 64.430 fps vs 56.568 fps,
that is only 13% lesser for 10bit.<br>
<br>
The Opus Audio listening seemingly is clean (not the
continuous sound sctrach as with Vorbis).<br>
(A third test with Opus_FFmpeg audio caused a lot more
error messages)<br>
<br>
IMO AV1 CPU rendering speed 2.5x and 2.2x Realtime
playback are pleasing default time vs quality (higher
quality for GPU rendering).<br>
<br>
Yet I wonder if Preset 6 and CRF 26 are really used?,
when the rendering output say (Preset 10 and CRF 35 are
defaults):<br>
</div>
</blockquote>
</div>
</div>
<div dir="auto"><br>
</div>
<div dir="auto">no, you need to delete # sign before those
lines, by default they commented out.</div>
</div>
</blockquote>
<br>
Thank you for the clarification. I thought the # were info-comments
to what was used.<br>
By the way, it make sense to use the default parameters by default.<br>
<a href="https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Parameters.md" target="_blank" rel="noreferrer">https://gitlab.com/AOMediaCodec/SVT-AV1/-/blob/master/Docs/Parameters.md</a><br>
<br>
<br>
Another thing I forgot to point out:<br>
When I render the same hdv input file with FFmpeg directly, FFmpeg
reports 10240 frames at the end while the CinGG output say 10452
frames.<br>
<br>
Maybe not so important, but I wonder why FFmpeg counts fewer frames?
(Are some lost or added?)<br>
If different count methods are used, CinGG seems to be equivalent to
querying Mediainfo;<br>
<blockquote>mediainfo --Output="Video;%FrameCount%" hdv07_05.m2t<br>
10441<br></blockquote></div></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Honestly, all three numbers are different!</div><div dir="auto"><br></div><div dir="auto">Not sure what going on, may be ffmpeg works with variable frame rate? You can try to add ' -r 25' to ffmpeg command line...</div><div dir="auto"><br></div><div dir="auto">if problem persist may be ask on ffmpeg-users ?</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>
</blockquote>
<blockquote type="cite">
<div dir="auto"><br>
<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>
<ul>
<li>Svt[info]: SVT [config]: preset / tune / pred
struct : 10 /
PSNR / random
access </li>
<li>Svt[info]: SVT [config]: BRC mode / rate
factor : CRF / 35 </li>
</ul>
<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_quote">
<div><span class="gmail_default" style="font-size:small"><br>
</span></div>
<div><span class="gmail_default" style="font-size:small"></span> <span style="font-family:monospace">Cinelerra is
free software, covered by the GNU General
Public License, <br>
and you are welcome to change it and/or
distribute copies of it under
<br>
certain conditions. There is absolutely no
warranty for Cinelerra.
<br>
<br>
Svt[info]:
-------------------------------------------
<br>
Svt[info]: SVT [version]: SVT-AV1
Encoder Lib v1.8.0
<br>
Svt[info]: SVT [build] : GCC 10.3.1
20210422 (Red Hat 10.3.1-1) 64 bit
<br>
Svt[info]: LIB Build date: Jan 1 2024
16:24:53
<br>
Svt[info]:
-------------------------------------------
<br>
Svt[info]: Number of logical cores available:
16 <br>
Svt[info]: Number of PPCS 76
<br>
Svt[info]: [asm level on system : up to avx2]
<br>
Svt[info]: [asm level selected : up to avx2]
<br>
Svt[info]:
-------------------------------------------
<br>
Svt[info]: SVT [config]: main profile tier
(auto) level (auto) <br>
Svt[info]: SVT [config]: width / height / fps
numerator / fps denominator :
1440 / 1080 / 30000 / 1001
<br>
Svt[info]: SVT [config]: bit-depth / color
format :
8 / YUV420
<br>
Svt[info]: SVT [config]: preset / tune / pred
struct :
10 / PSNR / random access
<br>
Svt[info]: SVT [config]: gop size / mini-gop
size / key-frame type :
161 / 16 / key frame<br>
Svt[info]: SVT [config]: BRC mode / rate
factor : CRF /
35 <br>
Svt[info]:
-------------------------------------------<br>
<b>Svt[warn]: Failed to set thread priority:
Invalid argument<br>
FFStream::encode_frame: encode failed.</b><br>
file: /tmp/svt8.webm<br>
<b>err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not
permitted<br>
FFStream::encode_frame: encode failed.<br>
</b>file: /tmp/svt8.webm<br>
<b> err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not
permitted</b><br>
Render::render_single: Session finished.<br>
** rendered 1656 frames in 25.363 secs, 65.292
fps<br>
FFMPEG::open_decoder: some stream times
estimated: /tmp/svt8.webm<br>
FFMPEG::open_decoder: some stream times
estimated: /tmp/svt8.webm</span><br>
</div>
</div>
</div>
</blockquote>
<br>
<font face="monospace">Rendering to yuv420p and Opus<br>
.............................<br>
<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib
v1.8.0<br>
Svt[info]: SVT [build] : GCC 13.2.1 20230801
64 bit<br>
Svt[info]: LIB Build date: Dec 29 2023 10:28:50<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: Number of logical cores available: 8<br>
Svt[info]: Number of PPCS 59<br>
Svt[info]: [asm level on system : up to avx2]<br>
Svt[info]: [asm level selected : up to avx2]<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [config]: main profile tier
(auto) level (auto)<br>
Svt[info]: SVT [config]: width / height / fps
numerator / fps denominator : 1440 / 1080 / 25
/ 1<br>
Svt[info]: SVT [config]: bit-depth / color format
: 8 / YUV420<br>
Svt[info]: SVT [config]: preset / tune / pred struct
: 10 / PSNR / random access<br>
Svt[info]: SVT [config]: gop size / mini-gop size /
key-frame type : 161 / 16 / key frame<br>
Svt[info]: SVT [config]: BRC mode / rate factor
: CRF / 35 <br>
Svt[info]: -------------------------------------------<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
Render::render_single: Session finished.<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
** rendered 10452 frames in 162.222 secs, 64.430 fps<br>
<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
audio0 pad 128 -335 (463)<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p+opus.webm<br>
<br>
##############################################<br>
<br>
Rendering to yuv420p10le and Opus<br>
...................................<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib
v1.8.0<br>
Svt[info]: SVT [build] : GCC 13.2.1 20230801
64 bit<br>
Svt[info]: LIB Build date: Dec 29 2023 10:28:50<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: Number of logical cores available: 8<br>
Svt[info]: Number of PPCS 59<br>
Svt[info]: [asm level on system : up to avx2]<br>
Svt[info]: [asm level selected : up to avx2]<br>
Svt[info]: -------------------------------------------<br>
Svt[info]: SVT [config]: main profile tier
(auto) level (auto)<br>
Svt[info]: SVT [config]: width / height / fps
numerator / fps denominator : 1440 / 1080 / 25
/ 1<br>
Svt[info]: SVT [config]: bit-depth / color format
: 10 / YUV420<br>
Svt[info]: SVT [config]: preset / tune / pred struct
: 10 / PSNR / random access<br>
Svt[info]: SVT [config]: gop size / mini-gop size /
key-frame type : 161 / 16 / key frame<br>
Svt[info]: SVT [config]: BRC mode / rate factor
: CRF / 35 <br>
Svt[info]: -------------------------------------------<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
FFStream::encode_frame: encode failed.<br>
file:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
err: Resource temporarily unavailable<br>
FFMPEG::mux_video err: Operation not permitted<br>
Render::render_single: Session finished.<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
** rendered 10452 frames in 184.768 secs, 56.568 fps<br>
<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
audio0 pad 128 -335 (463)<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
FFMPEG::open_decoder: some stream times estimated:
/run/media/terje/home_lp15/terje/Videoklipp/AV1/hdv07_05_m2t_cingg_svt-av1_pr6_yuv420p10le+opus.webm<br>
<br>
..............<br>
</font><br>
</div>
-- <br>
Cin mailing list<br>
<a href="mailto:Cin@lists.cinelerra-gg.org" rel="noreferrer noreferrer" target="_blank">Cin@lists.cinelerra-gg.org</a><br>
<a href="https://lists.cinelerra-gg.org/mailman/listinfo/cin" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.cinelerra-gg.org/mailman/listinfo/cin</a><br>
</blockquote>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div></div></div>