Hi all ... Not much to report, just another recompile of CinelerraGG. I made typo in one of my patches, so compilation stopped in x265, but then I fixed it and tried resulted Cinelerra for encoding ..
cin Cinelerra Infinity - built: Aug 6 2020 08:57:33 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 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. RenderFarmClient::main_loop: client started x265 [info]: HEVC encoder version 3.4 x265 [info]: build info [Linux][clang 10.0.0][32 bit][noasm] 10bit x265 [info]: using cpu capabilities: none! x265 [info]: Main 4:2:2 10 profile, Level-4 (Main tier) x265 [info]: Thread pool created using 4 threads x265 [info]: Slices : 1 x265 [info]: frame threads / pool features : 2 / wpp(17 rows) x265 [info]: Coding QT: max CU size, min CU size : 64 / 8 x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 3 x265 [info]: Keyframe min / max / scenecut / bias : 25 / 250 / 40 / 5.00 x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2 x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0 x265 [info]: References / ref-limit cu / depth : 3 / off / on x265 [info]: AQ: mode / str / qg-size / cu-tree : 2 / 1.0 / 32 / 1 x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60 x265 [info]: tools: rd=3 psy-rd=2.00 early-skip rskip mode=1 signhide tmvp x265 [info]: tools: b-intra strong-intra-smoothing lslices=6 deblock sao FFStream::encode_frame: encode failed. file: /dev/shm/x265-10bit.m2ts err: Ресурс временно недоступен FFStream::flush failed :file:/dev/shm/x265-10bit.m2ts err: Операция не позволена FFStream::encode_frame: encode failed. file: /dev/shm/x265-10bit.m2ts err: Ресурс временно недоступен FFStream::flush failed :file:/dev/shm/x265-10bit.m2ts err: Операция не позволена x265 [info]: frame I: 10, Avg QP:27.41 kb/s: 3481.49 x265 [info]: frame P: 502, Avg QP:29.10 kb/s: 2210.02 x265 [info]: frame B: 1274, Avg QP:32.85 kb/s: 942.35 x265 [info]: Weighted P-Frames: Y:2.4% UV:0.4% x265 [info]: consecutive B-frames: 8.4% 7.8% 13.0% 67.7% 3.1% encoded 1786 frames in 3014.28s (0.59 fps), 1312.88 kb/s, Avg QP:31.76 Render::render_single: Session finished. ** rendered 1814 frames in 3014.337 secs, 0.602 fps Mesa: User error: GL_INVALID_OPERATION in glDeleteShader Session time: 3:08:33 Cpu time: user: 3:06:29.051 sys: 0:01:52.474 a bit strange, because resulted m2ts file still plays until end, just video stops a bit before audio (with mplayer). I also tried this new CineformHD encoder in ffmpeg, using attached options file: cat /usr/share/cin/ffmpeg/video/cfhdenc.qt mov cfhd It worked at around 7 fps for 1080p h264 source in RGBA-float project ... Decoding with mplayer was fine if I set CPU to on-demand performance, but just 4x 1.4Ghz of my AMD FX 4300 was not enough for single stream decode. This codec was rumored to be fast for both encode and decode, guess ffmpeg implementation not very fast yet ...
--- /dev/null 2020-03-14 06:02:18.586124011 +0300 +++ ./configure 2020-03-18 00:04:59.360807192 +0300 @@ -0,0 +1 @@ +/bin/true
--- /dev/null 2020-03-14 06:02:18.586124011 +0300 +++ ./Makefile 2020-03-18 00:04:59.388807329 +0300 @@ -0,0 +1,4 @@ +#$(shell cd build/linux ; ./multilib.sh) +.NOTPARALLEL: +all: + $(shell ./multilib.sh ; cp 8bit/libx265.a . ; cp 8bit/x265.pc . ; cp 8bit/x265_config.h .)
--- /dev/null 2020-07-19 09:07:01.788494015 +0300 +++ ./multilib.sh 2020-08-02 02:34:58.444933214 +0300 @@ -0,0 +1,54 @@ +#!/bin/sh + +mkdir -p 8bit 10bit 12bit + + +cd 12bit +if [ $(uname -m) == 'x86_64' ]; then + # 64-bit stuff here +cmake ../source -DHIGH_BIT_DEPTH=ON -DENABLE_ASSEMBLY=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON +else + # 32-bit stuff here +cmake ../source -DHIGH_BIT_DEPTH=ON -DENABLE_ASSEMBLY=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON +fi +make -j 1 + +cd ../10bit +if [ $(uname -m) == 'x86_64' ]; then + # 64-bit stuff here +cmake ../source -DHIGH_BIT_DEPTH=ON -DENABLE_ASSEMBLY=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF +else + # 32-bit stuff here +cmake ../source -DHIGH_BIT_DEPTH=ON -DENABLE_ASSEMBLY=OFF -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF +fi +make -j 1 + +cd ../8bit +ln -sf ../10bit/libx265.a libx265_main10.a +ln -sf ../12bit/libx265.a libx265_main12.a +cmake ../source -DEXTRA_LIB="x265_main10.a;x265_main12.a" -DENABLE_SHARED=OFF -DEXTRA_LINK_FLAGS=-L. -DLINKED_10BIT=ON -DLINKED_12BIT=ON +make -j 1 + +# rename the 8bit library, then combine all three into libx265.a +mv libx265.a libx265_main.a + +uname=`uname` +if [ "$uname" = "Linux" ] +then + +# On Linux, we use GNU ar to combine the static libraries together +ar -M <<EOF +CREATE libx265.a +ADDLIB libx265_main.a +ADDLIB libx265_main10.a +ADDLIB libx265_main12.a +SAVE +END +EOF + +else + +# Mac/BSD libtool +libtool -static -o libx265.a libx265_main.a libx265_main10.a libx265_main12.a 2>/dev/null + +fi
--- cinelerra-5.1/thirdparty/Makefile.orig 2020-04-12 03:42:53.636065402 +0300 +++ cinelerra-5.1/thirdparty/Makefile 2020-04-12 03:44:08.132065754 +0300 @@ -253,8 +253,9 @@ $(call if_npkg,libwebp,--disable-webp) twolame.cfg_params?=--enable-shared=no x264.cfg_params?= --enable-static --enable-pic -x265.cfg_vars?=$(call cmake_config,source) -x265.cfg_params?= -DENABLE_SHARED=no +x265.cfg_vars?=chmod +x ./configure; chmod +x ./multilib.sh; +#x265.cfg_vars?=$(call cmake_config,source) +#x265.cfg_params?= -DENABLE_SHARED=no libvpx.cfg_params?= --enable-pic --disable-avx512 --disable-unit-tests --disable-examples --disable-tools
cfhdenc.qt
Description: Binary data
-- Cin mailing list [email protected] https://lists.cinelerra-gg.org/mailman/listinfo/cin

