[Cin] SVT-AV1 library upgraded to v2.2.1

Terje J. Hanssen terjejhanssen at gmail.com
Mon Aug 26 11:35:25 CEST 2024



Den 26.08.2024 06:30, skrev Andrew Randrianasulu:
> On Mon, Aug 26, 2024 at 6:03 AM Andrew Randrianasulu
> <randrianasulu at gmail.com> wrote:
>>
>>
>> пн, 26 авг. 2024 г., 05:53 Andrew Randrianasulu <randrianasulu at gmail.com>:
>>>
>>>
>>> пн, 26 авг. 2024 г., 01:48 Terje J. Hanssen via Cin <cin at lists.cinelerra-gg.org>:
>>>>
>>>>
>>>> Den 25.08.2024 22:56, skrev Terje J. Hanssen:
>>>>
>>>>
>>>>
>>>> Den 25.08.2024 22:04, skrev Phyllis Smith:
>>>>
>>>> Terje, sorry for my mistake.  I have created an AppImage at:
>>>>       https://cinelerra-gg.org/download/testing/cin-x86_64_newer.AppImage
>>>> If you have time later, to try it, I would appreciate that.
>>>> This AppImage should work just about on any system except for older ones like Ubuntu 16.
>>>
>>> strange, web git interface thinks that
>>>
>>> cinelerra-5.1/thirdparty/src/libsvtav1-v2.2.1.tar.xz [moved from cinelerra-5.1/thirdparty/src/ffmpeg-6.1.tar.xz with 55% similarity] diff | blob | history
>>>
>>> I think it should be just new file?
>>
>> but it looks ok on visual inspection (enter archive in midnight commander). So, probably git was just confused with binary file ..
> It seems to work on my end:
>
> bash-5.1$ cin ~/0005.avi
> Cinelerra Infinity - built: Aug 26 2024 06:26:42
> git://git.cinelerra-gg.org/goodguy/cinelerra.git
> (c) 2006-2019 Heroine Virtual Ltd. by Adam Williams
> 2007-2020 mods for Cinelerra-GG by W.P.Morrow aka goodguy
> 2003-2017 mods for Cinelerra-CV by CinelerraCV team
> 2015-2024 mods for Cinelerra-GG by Cinelerra-GG team
>
> Libav version: Lavc61.3.100
>
> Cinelerra is free software, covered by the GNU General Public License,
> and you are welcome to change it and/or distribute copies of it under
> certain conditions. There is absolutely no warranty for Cinelerra.
>
> build plugin index for: /usr/lib/cin/plugins
> build lv2 index for: /usr/share/cin/lv2
> LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_mono
> LOAD: http://lsp-plug.in/plugins/lv2/comp_delay_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/compressor_lr
> LOAD: http://lsp-plug.in/plugins/lv2/compressor_mono
> LOAD: http://lsp-plug.in/plugins/lv2/compressor_ms
> LOAD: http://lsp-plug.in/plugins/lv2/compressor_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_lr
> LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_mono
> LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_ms
> LOAD: http://lsp-plug.in/plugins/lv2/dyna_processor_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/expander_lr
> LOAD: http://lsp-plug.in/plugins/lv2/expander_mono
> LOAD: http://lsp-plug.in/plugins/lv2/expander_ms
> LOAD: http://lsp-plug.in/plugins/lv2/expander_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/gate_lr
> LOAD: http://lsp-plug.in/plugins/lv2/gate_mono
> LOAD: http://lsp-plug.in/plugins/lv2/gate_ms
> LOAD: http://lsp-plug.in/plugins/lv2/gate_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x16_mono
> LOAD: http://lsp-plug.in/plugins/lv2/graph_equalizer_x32_mono
> LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_mono
> LOAD: http://lsp-plug.in/plugins/lv2/impulse_responses_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_mono
> LOAD: http://lsp-plug.in/plugins/lv2/impulse_reverb_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/latency_meter
> LOAD: http://lsp-plug.in/plugins/lv2/limiter_mono
> LOAD: http://lsp-plug.in/plugins/lv2/limiter_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_mono
> LOAD: http://lsp-plug.in/plugins/lv2/loud_comp_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/mb_compressor_mono
> LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_lr
> LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_mono
> LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_ms
> LOAD: http://lsp-plug.in/plugins/lv2/mb_expander_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_lr
> LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_mono
> LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_ms
> LOAD: http://lsp-plug.in/plugins/lv2/mb_gate_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x12_do
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x24_do
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48
> LOAD: http://lsp-plug.in/plugins/lv2/multisampler_x48_do
> LOAD: http://lsp-plug.in/plugins/lv2/oscillator_mono
> LOAD: http://lsp-plug.in/plugins/lv2/phase_detector
> LOAD: http://lsp-plug.in/plugins/lv2/profiler_mono
> LOAD: http://lsp-plug.in/plugins/lv2/profiler_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/room_builder_mono
> LOAD: http://lsp-plug.in/plugins/lv2/room_builder_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sampler_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sampler_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_ms
> LOAD: http://lsp-plug.in/plugins/lv2/sc_compressor_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_lr
> LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_ms
> LOAD: http://lsp-plug.in/plugins/lv2/sc_expander_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_lr
> LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_ms
> LOAD: http://lsp-plug.in/plugins/lv2/sc_gate_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_limiter_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_lr
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_ms
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_expander_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_lr
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_mono
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_ms
> LOAD: http://lsp-plug.in/plugins/lv2/sc_mb_gate_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_mono
> LOAD: http://lsp-plug.in/plugins/lv2/slap_delay_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x1
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x12
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x16
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x2
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x4
> LOAD: http://lsp-plug.in/plugins/lv2/spectrum_analyzer_x8
> LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_mono
> LOAD: http://lsp-plug.in/plugins/lv2/surge_filter_stereo
> LOAD: http://lsp-plug.in/plugins/lv2/trigger_mono
> LOAD: http://lsp-plug.in/plugins/lv2/trigger_stereo
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> RenderFarmClient::main_loop: client started
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> Svt[info]: -------------------------------------------
> Svt[info]: SVT [version]:       SVT-AV1 Encoder Lib v2.2.0

I also got and noticed the output version

Svt[info]: SVT [version]:       SVT-AV1 Encoder Lib v2.2.0


Shouldn't it be SVT-AV1 Lib 2.2.1 as mentioned above

cinelerra-5.1/thirdparty/src/libsvtav1-v2.2.1.tar.xz

or possibly the 2.2.1 sub-version isn't shown in the Svt info?


> Svt[info]: SVT [build]  :       GCC 11.2.0       32 bit
> Svt[info]: LIB Build date: Aug 26 2024 06:14:47
> Svt[info]: -------------------------------------------
> Svt[info]: Number of logical cores available: 4
> Svt[info]: Number of PPCS 74
> Svt[info]: [asm level on system : up to c]
> Svt[info]: [asm level selected : up to c]
> Svt[info]: -------------------------------------------
> Svt[info]: SVT [config]: main profile   tier (auto)     level (auto)
> Svt[info]: SVT [config]: width / height / fps numerator / fps
> denominator               : 320 / 240 / 96153 / 10000
> Svt[info]: SVT [config]: bit-depth / color format
>                   : 8 / YUV420
> Svt[info]: SVT [config]: preset / tune / pred struct
>                   : 10 / PSNR / random access
> Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type
>                   : 161 / 32 / key frame
> Svt[info]: SVT [config]: BRC mode / rate factor
>                   : CRF / 35
> Svt[info]: SVT [config]: AQ mode / variance boost
>                   : 2 / 0
> Svt[info]: -------------------------------------------
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
> Render::render_single: Session finished.
> ** rendered 272 frames in 49.231 secs, 5.525 fps
> FFMPEG::open_decoder: some stream times estimated: /dev/shm/av1.webm
> FFMPEG::open_decoder: some stream times estimated: /dev/shm/av1.webm
> FFMPEG::open_decoder: some stream times estimated: /dev/shm/av1.webm
> FFMPEG::open_decoder: some stream times estimated: /home/guest/0005.avi
>
> ======
>
> may be compilefarm configure command line for new OSes need to be
> augmented with '--enable-libsvtav1" ?
>
>
>>
>> sorry
>>
>>>
>>>
>>>>
>>>> Phyllis, cin-x86_64_newer.AppImage tested OK on Slowroll.
>>>>
>>>> Below is a rendering speed comparison and enhancements between the previous SVT-AV1 v.1.8.0 and the new SVT-AV1 v.2.2.0:
>>>>
>>>> 1) HDV 1080i: 14.4% faster
>>>> --------------------------
>>>> hdv09_04.m2t --> hdv09_04_m2t_svt-av1_pr6+opus.webm
>>>> ** rendered 5972 frames in 38.960 secs, 153.285 fps
>>>>
>>>> hdv09_04.m2t --> hdv09_04_m2t_svt-av1-220_pr6+opus.webm
>>>> ** rendered 5972 frames in 34.052 secs, 175.379 fps
>>>>
>>>>
>>>> 2) DV 576i: 41.1% faster
>>>> ------------------------
>>>> dv01_07.dv --> dv01_07_dv_svt-av1_pr6+opus.webm
>>>> ** rendered 2832 frames in 14.018 secs, 202.026 fps
>>>>
>>>> dv01_07.dv --> dv01_07_dv_svt-av1-220_pr6+opus.webm
>>>> ** rendered 2832 frames in 9.929 secs, 285.225 fps
>>>>
>>>>
>>>>
>>>> Interestingly the newest version 2.2.0 file sizes also are some larger:  hdv: +12.5%:
>>>>
>>>> 112M hdv09_04_m2t_svt-av1_pr6+opus.webm
>>>> 126M hdv09_04_m2t_svt-av1-220_pr6+opus.webm
>>>>
>>>>   29M dv01_07_dv_svt-av1_pr6+opus.webm
>>>>   30M dv01_07_dv_svt-av1-220_pr6+opus.webm
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Aug 25, 2024 at 3:38 AM Terje J. Hanssen <terjejhanssen at gmail.com> wrote:
>>>>>
>>>>> On 24.08.2024 20:13, Phyllis Smith via Cin wrote:
>>>>>
>>>>> The SVT-AV1 library was at version 1.8.0 and finally I got it upgraded and checked into GIT.  At first I had to figure out what I was doing wrong in upgrading to 2.1.2, but by the time I figured that out, they released a new version on Aug. 24 (2.2.1).  Encoding seems to be somewhat faster.
>>>>>
>>>>> Previously on Aug. 16, GIT checkin was for the latest version of dcraw dated 2018, giflib 5.2.2, and flac 1.4.3 which may not have been recent updates but were the latest available -- might as well use the latest even if no significant changes.
>>>>>
>>>>> I am still checking to make sure we have the latest libraries in use for the other ones so do not plan on creating a release on Aug. 31 -- especially since SVT-AV1 version is so new and I only did a cursory test.  Hopefully, Terje can check using the SUSE package at:   https://github.com/einhander/cin-gg-packages/releases/ when it has been newly built.
>>>>>
>>>>>
>>>>> Thank you, Phyllis and Einhander.
>>>>> Yes, I rebooted from Slowroll to Leap 15.6 and installed the new rpm package the usual way
>>>>>
>>>>> zypper in https://github.com/einhander/cin-gg-packages/releases/download/20240825/cinelerra-5.1-20240825.suse15.x86_64.rpm
>>>>>
>>>>>
>>>>> I loaded previous HDV and DV test files respectively and tried to render to default AV1-SVT (and opus audio), but got Cinelerra error.
>>>>> Cingg output as follows:
>>>>>
>>>>> cin
>>>>> Cinelerra Infinity - built: Aug 25 2024 00:58:43
>>>>> git://git.cinelerra-gg.org/goodguy/cinelerra.git
>>>>>
>>>>> HDV:
>>>>> ----
>>>>> int FFMPEG::open_encoder(const char*, const char*):
>>>>> cant find codec libsvtav1:/run/media/terje/Videoklipp/AV1/hdv09_04_m2t_svt-av1_pr6+opus.webm
>>>>> Render::render_single: Session finished.
>>>>> Total excess of backups: -50
>>>>> Session time: 0:01:55
>>>>> Cpu time: user: 0:00:05.843 sys: 0:00:01.145
>>>>>
>>>>> DV:
>>>>> ---
>>>>> audio0 pad 32 0 (32)
>>>>> int FFMPEG::open_encoder(const char*, const char*):
>>>>> cant find codec libsvtav1:/run/media/terje/Videoklipp/AV1/dv01_07_dv_svt-av1_pr6+opus.webm
>>>>> Render::render_single: Session finished.
>>>>> Total excess of backups: -50
>>>>> Session time: 0:05:13
>>>>> Cpu time: user: 0:00:05.043 sys: 0:00:01.582
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> Cin mailing list
>>>> Cin at lists.cinelerra-gg.org
>>>> https://lists.cinelerra-gg.org/mailman/listinfo/cin



More information about the Cin mailing list