[Cin] Fixed typo in my x265-8/10/12 bit patchset, tried CineformHD encoder in ffmpeg.git

Andrew Randrianasulu randrianasulu at gmail.com
Thu Aug 6 16:21:33 CEST 2020


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 ...



-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_3.4.patch1
Type: text/x-diff
Size: 127 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200806/58134283/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_3.4.patch2
Type: text/x-diff
Size: 273 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200806/58134283/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_3.4.patch3
Type: text/x-diff
Size: 1597 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200806/58134283/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x265_makefile-3.patch
Type: text/x-diff
Size: 641 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200806/58134283/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cfhdenc.qt
Type: application/octet-stream
Size: 9 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20200806/58134283/attachment.obj>


More information about the Cin mailing list