[Cin] You also can use fifo file and external encoder with cingg

Andrew Randrianasulu randrianasulu at gmail.com
Tue Jul 16 12:54:45 CEST 2024


Like this:

 mkfifo /dev/shm/renderfarm.y4m <-- random name from previous test

cin /home/admin/huawei_matepad_t/sdcard1/video/20200101_000443A.mp4

file has such params:

Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/home/admin/huawei_matepad_t/sdcard1/video/20200101_000443A.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
  Duration: 00:00:13.27, start: 0.000000, bitrate: 23664 kb/s
  Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661),
yuv420p(tv, bt470bg/bt470bg/smpte170m), 3840x2160, 23087 kb/s, 30.08
fps, 30 tbr, 1k tbn, 2k tbc (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz,
mono, fltp, 2 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]

fake (interpolated) 4k h264 mp4 from camera I do not have anymore

in cin I select render, ffmpeg-> y4m, there pixels y420p, then run render.

In another terminal:

ffmpeg -i   /dev/shm/renderfarm.y4m -c:v libx265 /dev/shm/renderfarm.mp4

it ended up encoding file at around 1.0 fps :)

bash-5.1$ ffmpeg -i   /dev/shm/renderfarm.y4m -c:v libx265
/dev/shm/renderfarm.mp4
ffmpeg version 4.4.4 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 11.2.0 (GCC)
  configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib
--docdir=/usr/doc/ffmpeg-4.4.4/html --mandir=/usr/man --disable-debug
--enable-shared --disable-static --enable-gpl --enable-version3
--enable-avresample --arch=i586 --enable-libfontconfig
--enable-libfreetype --enable-libfribidi --enable-gnutls
--enable-libass --enable-libbluray --enable-libcdio --enable-frei0r
--enable-libgsm --enable-openal --enable-libopus --enable-librtmp
--enable-libsnappy --enable-libspeex --enable-libssh
--enable-libtheora --enable-libtwolame --enable-libv4l2
--enable-libvidstab --enable-libvorbis --enable-libvpx
--enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid
--enable-libmp3lame --enable-opencl --enable-opengl
--enable-libopenjpeg --disable-libpulse --enable-libsmbclient
--enable-libsvtav1 --enable-libxml2 --enable-librsvg --enable-libdrm
--enable-libaom --enable-libdav1d --enable-libsoxr --enable-libzimg
--enable-vapoursynth
  libavutil      56. 70.100 / 56. 70.100
  libavcodec     58.134.100 / 58.134.100
  libavformat    58. 76.100 / 58. 76.100
  libavdevice    58. 13.100 / 58. 13.100
  libavfilter     7.110.100 /  7.110.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  9.100 /  5.  9.100
  libswresample   3.  9.100 /  3.  9.100
  libpostproc    55.  9.100 / 55.  9.100
Input #0, yuv4mpegpipe, from '/dev/shm/renderfarm.y4m':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p(tv,
progressive), 3840x2160, SAR 1:1 DAR 16:9, 30 fps, 30 tbr, 30 tbn, 30
tbc
File '/dev/shm/renderfarm.mp4' already exists. Overwrite? [y/N] y
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> hevc (libx265))
Press [q] to stop, [?] for help
x265 [info]: HEVC encoder version 3.5+1-f0c1022b6
x265 [info]: build info [Linux][GCC 11.2.0][32 bit] 8bit+10bit+12bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2
AVX XOP FMA4 FMA3 BMI1
x265 [info]: Main profile, Level-5 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: Slices                              : 1
x265 [info]: frame threads / pool features       : 2 / wpp(34 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=8 deblock sao
Output #0, mp4, to '/dev/shm/renderfarm.mp4':
  Metadata:
    encoder         : Lavf58.76.100
  Stream #0:0: Video: hevc (hev1 / 0x31766568), yuv420p(tv,
progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 30 fps, 15360 tbn
    Metadata:
      encoder         : Lavc58.134.100 libx265
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=   31 fps=4.8 q=34.4 size=       0kB time=00:00:00.00
bitrate=5415.4kbits/s speed=9.97e-0frame=   33 fps=4.0 q=31.6 size=
   0kB time=00:00:00.06 bitrate=   5.3kbits/s speed=0.00807frame=   34
fps=3.8 q=33.1 size=       0kB time=00:00:00.10 bitrate=   3.5kbits/s
speed=0.0112xframe=   35 fps=3.6 q=32.8 size=       0kB
time=00:00:00.13 bitrate=   2.6kbits/s speed=0.0139xframe=   36
fps=3.5 q=36.0 size=       0kB time=00:00:00.16 bitrate=   2.1kbits/s
speed=0.0163xframe=   37 fps=3.2 q=29.1 size=       0kB
time=00:00:00.20 bitrate=   1.8kbits/s speed=0.0173xframe=   40
fps=3.2 q=35.8 size=       0kB time=00:00:00.30 bitrate=   1.2kbits/s
speed=0.0243xframe=   42 fps=2.4 q=28.8 size=       0kB
time=00:00:00.36 bitrate=   1.0kbits/s speed=0.0209xframe=   44
fps=2.4 q=35.1 size=       0kB time=00:00:00.43 bitrate=   0.8kbits/s
speed=0.0239xframe=   46 fps=2.5 q=35.4 size=       0kB
time=00:00:00.50 bitrate=   0.7kbits/s speed=0.0268xframe=   47
fps=2.3 q=30.0 size=       0kB time=00:00:00.53 bitrate=   0.7kbits/s
speed=0.0266xframe=   49 fps=2.4 q=34.9 size=       0kB
time=00:00:00.60 bitrate=   0.6kbits/s speed=0.0291xframe=   51
fps=2.4 q=35.8 size=       0kB time=00:00:00.66 bitrate=   0.5kbits/s
speed=0.0312xframe=   52 fps=2.3 q=29.6 size=       0kB
time=00:00:00.70 bitrate=   0.5kbits/s speed=0.0305xframe=   54
fps=2.1 q=29.1 size=     256kB time=00:00:00.76 bitrate=2735.6kbits/s
speed=0.0298xframe=   56 fps=2.1 q=36.0 size=     256kB
time=00:00:00.83 bitrate=2516.8kbits/s speed=0.0309xframe=   58
fps=2.0 q=28.8 size=     256kB time=00:00:00.90 bitrate=2330.4kbits/s
speed=0.0308xframe=   60 fps=2.0 q=36.0 size=     256kB
time=00:00:00.96 bitrate=2169.7kbits/s speed=0.032x frame=   62
fps=2.0 q=28.9 size=     256kB time=00:00:01.03 bitrate=2029.7kbits/s
speed=0.0325xframe=   64 fps=2.0 q=35.7 size=     256kB
time=00:00:01.10 bitrate=1906.7kbits/s speed=0.0339xframe=   65
fps=1.9 q=28.6 size=     256kB time=00:00:01.13 bitrate=1850.6kbits/s
speed=0.0335xframe=   67 fps=1.9 q=36.0 size=     256kB
time=00:00:01.20 bitrate=1747.8kbits/s speed=0.0346xframe=   69
fps=1.9 q=29.1 size=     256kB time=00:00:01.26 bitrate=1655.8kbits/s
speed=0.0347xframe=   71 fps=1.9 q=35.9 size=     256kB
time=00:00:01.33 bitrate=1573.1kbits/s speed=0.0358xframe=   73
fps=1.9 q=29.2 size=     256kB time=00:00:01.40 bitrate=1498.1kbits/s
speed=0.0359xframe=   75 fps=1.9 q=35.8 size=     256kB
time=00:00:01.46 bitrate=1430.1kbits/s speed=0.037x frame=   77
fps=1.8 q=28.1 size=     256kB time=00:00:01.53 bitrate=1367.9kbits/s
speed=0.0368xframe=   79 fps=1.9 q=35.8 size=     512kB
time=00:00:01.60 bitrate=2621.6kbits/s speed=0.0376xframe=   81
fps=1.8 q=29.4 size=     512kB time=00:00:01.66 bitrate=2516.7kbits/s
speed=0.0373xframe=   83 fps=1.8 q=35.9 size=     512kB
time=00:00:01.73 bitrate=2419.9kbits/s speed=0.0382xframe=   85
fps=1.8 q=36.0 size=     512kB time=00:00:01.80 bitrate=2330.3kbits/s
speed=0.0389xframe=   87 fps=1.8 q=33.7 size=     512kB
time=00:00:01.86 bitrate=2247.1kbits/s speed=0.0393xframe=   88
fps=1.8 q=29.6 size=     512kB time=00:00:01.90 bitrate=2207.6kbits/s
speed=0.0386xframe=   90 fps=1.8 q=35.8 size=     512kB
time=00:00:01.96 bitrate=2132.8kbits/s speed=0.0391xframe=   92
fps=1.8 q=28.1 size=     512kB time=00:00:02.03 bitrate=2062.9kbits/s
speed=0.0387xframe=   94 fps=1.8 q=35.9 size=     512kB
time=00:00:02.10 bitrate=1997.4kbits/s speed=0.0393xframe=   96
fps=1.7 q=27.9 size=     512kB time=00:00:02.16 bitrate=1935.9kbits/s
speed=0.0386xframe=   98 fps=1.7 q=35.9 size=     512kB
time=00:00:02.23 bitrate=1878.1kbits/s speed=0.039x frame=  100
fps=1.7 q=29.8 size=     512kB time=00:00:02.30 bitrate=1823.7kbits/s
speed=0.0386xframe=  102 fps=1.7 q=36.0 size=     512kB
time=00:00:02.36 bitrate=1772.3kbits/s speed=0.039x frame=  104
fps=1.7 q=36.0 size=     512kB time=00:00:02.43 bitrate=1723.8kbits/s
speed=0.0395xframe=  106 fps=1.7 q=29.8 size=     512kB
time=00:00:02.50 bitrate=1677.8kbits/s speed=0.0395xframe=  107
fps=1.7 q=29.8 size=     512kB time=00:00:02.53 bitrate=1655.7kbits/s
speed=0.0394xframe=  108 fps=1.6 q=35.9 size=     512kB
time=00:00:02.56 bitrate=1634.2kbits/s speed=0.0387xframe=  110
fps=1.6 q=29.8 size=     768kB time=00:00:02.63 bitrate=2389.2kbits/s
speed=0.0385xframe=  111 fps=1.6 q=31.9 size=     768kB
time=00:00:02.66 bitrate=2359.4kbits/s speed=0.0382xframe=  112
fps=1.6 q=35.9 size=     768kB time=00:00:02.70 bitrate=2330.2kbits/s
speed=0.038x frame=  113 fps=1.5 q=29.9 size=     768kB
time=00:00:02.73 bitrate=2301.8kbits/s speed=0.0375xframe=  115
fps=1.5 q=33.2 size=     768kB time=00:00:02.80 bitrate=2247.0kbits/s
speed=0.0377xframe=  116 fps=1.5 q=35.9 size=     768kB
time=00:00:02.83 bitrate=2220.6kbits/s speed=0.0377xframe=  118
fps=1.5 q=30.2 size=     768kB time=00:00:02.90 bitrate=2169.5kbits/s
speed=0.0377xframe=  119 fps=1.5 q=35.9 size=     768kB
time=00:00:02.93 bitrate=2144.9kbits/s speed=0.0377xframe=  120
fps=1.5 q=29.6 size=     768kB time=00:00:02.96 bitrate=2120.8kbits/s
speed=0.0371xframe=  122 fps=1.5 q=29.9 size=     768kB
time=00:00:03.03 bitrate=2074.2kbits/s speed=0.0364xframe=  124
fps=1.5 q=33.1 size=    1024kB time=00:00:03.10 bitrate=2706.1kbits/s
speed=0.0367xframe=  125 fps=1.5 q=33.0 size=    1024kB
time=00:00:03.13 bitrate=2677.3kbits/s speed=0.0367xframe=  126
fps=1.5 q=35.6 size=    1024kB time=00:00:03.16 bitrate=2649.1kbits/s
speed=0.0365xframe=  128 fps=1.4 q=28.2 size=    1024kB
time=00:00:03.23 bitrate=2594.5kbits/s speed=0.0366xframe=  129
fps=1.4 q=33.1 size=    1024kB time=00:00:03.26 bitrate=2568.0kbits/s
speed=0.0363xframe=  130 fps=1.4 q=30.0 size=    1024kB
time=00:00:03.30 bitrate=2542.1kbits/s speed=0.0356xframe=  132
fps=1.4 q=29.8 size=    1024kB time=00:00:03.36 bitrate=2491.7kbits/s
speed=0.0354xframe=  134 fps=1.4 q=30.1 size=    1024kB
time=00:00:03.43 bitrate=2443.3kbits/s speed=0.0352xframe=  135
fps=1.4 q=36.0 size=    1024kB time=00:00:03.46 bitrate=2419.8kbits/s
speed=0.0351xframe=  136 fps=1.3 q=30.1 size=    1024kB
time=00:00:03.50 bitrate=2396.8kbits/s speed=0.0347xframe=  138
fps=1.3 q=31.9 size=    1280kB time=00:00:03.56 bitrate=2940.0kbits/s
speed=0.0346xframe=  139 fps=1.3 q=32.8 size=    1280kB
time=00:00:03.60 bitrate=2912.8kbits/s speed=0.0345xframe=  140
fps=1.3 q=32.9 size=    1280kB time=00:00:03.63 bitrate=2886.0kbits/s
speed=0.0345xframe=  141 fps=1.3 q=35.6 size=    1280kB
time=00:00:03.66 bitrate=2859.8kbits/s speed=0.0345xframe=  142
fps=1.3 q=29.8 size=    1280kB time=00:00:03.70 bitrate=2834.0kbits/s
speed=0.0342xframe=  144 fps=1.3 q=30.3 size=    1280kB
time=00:00:03.76 bitrate=2783.9kbits/s speed=0.034x frame=  146
fps=1.3 q=29.1 size=    1280kB time=00:00:03.83 bitrate=2735.5kbits/s
speed=0.034x frame=  148 fps=1.3 q=28.4 size=    1536kB
time=00:00:03.90 bitrate=3226.4kbits/s speed=0.0336xframe=  150
fps=1.3 q=33.7 size=    1536kB time=00:00:03.96 bitrate=3172.2kbits/s
speed=0.0338xframe=  151 fps=1.3 q=33.7 size=    1536kB
time=00:00:04.00 bitrate=3145.8kbits/s speed=0.0339xframe=  152
fps=1.3 q=33.7 size=    1536kB time=00:00:04.03 bitrate=3119.8kbits/s
speed=0.0338xframe=  155 fps=1.3 q=33.2 size=    1536kB
time=00:00:04.13 bitrate=3044.3kbits/s speed=0.034x frame=  156
fps=1.3 q=34.2 size=    1536kB time=00:00:04.16 bitrate=3019.9kbits/s
speed=0.0341xframe=  157 fps=1.3 q=35.8 size=    1536kB
time=00:00:04.20 bitrate=2996.0kbits/s speed=0.0338xframe=  158
fps=1.3 q=35.0 size=    1792kB time=00:00:04.23 bitrate=3467.8kbits/s
speed=0.0339xframe=  159 fps=1.3 q=29.4 size=    1792kB
time=00:00:04.26 bitrate=3440.7kbits/s speed=0.0337xframe=  161
fps=1.3 q=36.0 size=    1792kB time=00:00:04.33 bitrate=3387.7kbits/s
speed=0.0339xframe=  163 fps=1.3 q=28.3 size=    1792kB
time=00:00:04.40 bitrate=3336.4kbits/s speed=0.0338xframe=  165
fps=1.3 q=34.6 size=    1792kB time=00:00:04.46 bitrate=3286.6kbits/s
speed=0.0342xframe=  166 fps=1.3 q=34.6 size=    1792kB
time=00:00:04.50 bitrate=3262.3kbits/s speed=0.0343xframe=  167
fps=1.3 q=34.1 size=    1792kB time=00:00:04.53 bitrate=3238.3kbits/s
speed=0.0344xframe=  168 fps=1.3 q=28.8 size=    2048kB
time=00:00:04.56 bitrate=3673.9kbits/s speed=0.034x frame=  170
fps=1.3 q=29.6 size=    2048kB time=00:00:04.63 bitrate=3621.0kbits/s
speed=0.0342xframe=  172 fps=1.3 q=36.0 size=    2048kB
time=00:00:04.70 bitrate=3569.6kbits/s speed=0.0343xframe=  174
fps=1.2 q=29.8 size=    2048kB time=00:00:04.76 bitrate=3519.7kbits/s
speed=0.0341xframe=  176 fps=1.3 q=36.0 size=    2048kB
time=00:00:04.83 bitrate=3471.2kbits/s speed=0.0344xframe=  178
fps=1.2 q=30.0 size=    2048kB time=00:00:04.90 bitrate=3423.9kbits/s
speed=0.0342xframe=  180 fps=1.2 q=29.8 size=    2304kB
time=00:00:04.96 bitrate=3800.2kbits/s speed=0.0341xframe=  182
fps=1.2 q=29.8 size=    2304kB time=00:00:05.03 bitrate=3749.9kbits/s
speed=0.034x frame=  183 fps=1.2 q=36.0 size=    2304kB
time=00:00:05.06 bitrate=3725.2kbits/s speed=0.0339xframe=  184
fps=1.2 q=29.7 size=    2304kB time=00:00:05.10 bitrate=3700.9kbits/s
speed=0.0337xframe=  186 fps=1.2 q=31.6 size=    2304kB
time=00:00:05.16 bitrate=3653.1kbits/s speed=0.0336xframe=  187
fps=1.2 q=36.0 size=    2304kB time=00:00:05.20 bitrate=3629.7kbits/s
speed=0.0335xframe=  188 fps=1.2 q=29.0 size=    2304kB
time=00:00:05.23 bitrate=3606.6kbits/s speed=0.0331xframe=  191
fps=1.2 q=29.0 size=    2304kB time=00:00:05.33 bitrate=3539.0kbits/s
speed=0.0332xframe=  193 fps=1.2 q=30.0 size=    2304kB
time=00:00:05.40 bitrate=3495.3kbits/s speed=0.0332xframe=  195
fps=1.2 q=27.9 size=    2304kB time=00:00:05.46 bitrate=3452.7kbits/s
speed=0.033x frame=  197 fps=1.2 q=29.3 size=    2560kB
time=00:00:05.53 bitrate=3790.1kbits/s speed=0.0329xframe=  198
fps=1.2 q=32.7 size=    2560kB time=00:00:05.56 bitrate=3767.4kbits/s
speed=0.0328xframe=  199 fps=1.2 q=36.0 size=    2560kB
time=00:00:05.60 bitrate=3744.9kbits/s speed=0.0328xframe=  201
fps=1.2 q=29.8 size=    2560kB time=00:00:05.66 bitrate=3700.9kbits/s
speed=0.0329xframe=  202 fps=1.2 q=35.9 size=    2560kB
time=00:00:05.70 bitrate=3679.2kbits/s speed=0.0329xframe=  204
fps=1.2 q=29.3 size=    2560kB time=00:00:05.76 bitrate=3636.7kbits/s
speed=0.0328xframe=  206 fps=1.2 q=36.0 size=    2560kB
time=00:00:05.83 bitrate=3595.1kbits/s speed=0.0328xframe=  208
fps=1.2 q=29.4 size=    2560kB time=00:00:05.90 bitrate=3554.5kbits/s
speed=0.0328xframe=  210 fps=1.2 q=36.0 size=    2560kB
time=00:00:05.96 bitrate=3514.8kbits/s speed=0.0329xframe=  212
fps=1.2 q=29.8 size=    2560kB time=00:00:06.03 bitrate=3476.0kbits/s
speed=0.0328xframe=  214 fps=1.2 q=32.8 size=    2560kB
time=00:00:06.10 bitrate=3438.0kbits/s speed=0.033x frame=  215
fps=1.2 q=32.9 size=    2560kB time=00:00:06.13 bitrate=3419.3kbits/s
speed=0.0331xframe=  217 fps=1.2 q=29.8 size=    2560kB
time=00:00:06.20 bitrate=3382.5kbits/s speed=0.0331xframe=  219
fps=1.1 q=29.7 size=    2816kB time=00:00:06.26 bitrate=3681.2kbits/s
speed=0.032x frame=  221 fps=1.1 q=29.7 size=    2816kB
time=00:00:06.33 bitrate=3642.4kbits/s speed=0.0321xframe=  223
fps=1.1 q=29.4 size=    2816kB time=00:00:06.40 bitrate=3604.5kbits/s
speed=0.0319xframe=  225 fps=1.1 q=36.0 size=    2816kB
time=00:00:06.46 bitrate=3567.3kbits/s speed=0.032x frame=  227
fps=1.1 q=29.7 size=    2816kB time=00:00:06.53 bitrate=3530.9kbits/s
speed=0.0319xframe=  229 fps=1.1 q=28.1 size=    2816kB
time=00:00:06.60 bitrate=3495.3kbits/s speed=0.0319xframe=  231
fps=1.1 q=29.5 size=    2816kB time=00:00:06.66 bitrate=3460.3kbits/s
speed=0.0317xframe=  233 fps=1.1 q=29.6 size=    2816kB
time=00:00:06.73 bitrate=3426.1kbits/s speed=0.0316xframe=  236
fps=1.1 q=28.7 size=    2816kB time=00:00:06.83 bitrate=3375.9kbits/s
speed=0.0315xframe=  238 fps=1.1 q=34.7 size=    3072kB
time=00:00:06.90 bitrate=3647.2kbits/s speed=0.0314xframe=  240
fps=1.1 q=30.3 size=    3072kB time=00:00:06.96 bitrate=3612.3kbits/s
speed=0.0313xframe=  242 fps=1.1 q=34.9 size=    3072kB
time=00:00:07.03 bitrate=3578.1kbits/s speed=0.0313xframe=  244
fps=1.1 q=30.2 size=    3072kB time=00:00:07.10 bitrate=3544.5kbits/s
speed=0.031x frame=  247 fps=1.1 q=30.3 size=    3072kB
time=00:00:07.20 bitrate=3495.3kbits/s speed=0.0309xframe=  249
fps=1.1 q=30.2 size=    3328kB time=00:00:07.26 bitrate=3751.8kbits/s
speed=0.0309xframe=  250 fps=1.1 q=35.9 size=    3328kB
time=00:00:07.30 bitrate=3734.7kbits/s speed=0.0308xframe=  251
fps=1.1 q=30.0 size=    3328kB time=00:00:07.33 bitrate=3717.7kbits/s
speed=0.0307xframe=  253 fps=1.0 q=30.1 size=    3328kB
time=00:00:07.40 bitrate=3684.2kbits/s speed=0.0305xframe=  255
fps=1.0 q=36.0 size=    3584kB time=00:00:07.46 bitrate=3932.2kbits/s
speed=0.0305xframe=  257 fps=1.0 q=28.4 size=    3584kB
time=00:00:07.53 bitrate=3897.4kbits/s speed=0.0304xframe=  259
fps=1.0 q=36.0 size=    3584kB time=00:00:07.60 bitrate=3863.2kbits/s
speed=0.0304xframe=  261 fps=1.0 q=30.4 size=    3840kB
time=00:00:07.66 bitrate=4103.1kbits/s speed=0.0302xframe=  263
fps=1.0 q=36.0 size=    3840kB time=00:00:07.73 bitrate=4067.8kbits/s
speed=0.0303xframe=  265 fps=1.0 q=36.0 size=    3840kB
time=00:00:07.80 bitrate=4033.0kbits/s speed=0.0304xframe=  266
fps=1.0 q=29.7 size=    3840kB time=00:00:07.83 bitrate=4015.8kbits/s
speed=0.0303xframe=  268 fps=1.0 q=29.8 size=    4096kB
time=00:00:07.90 bitrate=4247.4kbits/s speed=0.0304xframe=  269
fps=1.0 q=30.5 size=    4096kB time=00:00:07.93 bitrate=4229.6kbits/s
speed=0.0303xframe=  270 fps=1.0 q=36.0 size=    4096kB
time=00:00:07.96 bitrate=4211.9kbits/s speed=0.0304xframe=  272
fps=1.0 q=29.7 size=    4096kB time=00:00:08.03 bitrate=4176.9kbits/s
speed=0.0303xframe=  274 fps=1.0 q=35.8 size=    4096kB
time=00:00:08.10 bitrate=4142.5kbits/s speed=0.0304xframe=  275
fps=1.0 q=29.1 size=    4352kB time=00:00:08.13 bitrate=4383.4kbits/s
speed=0.0303xframe=  277 fps=1.0 q=36.0 size=    4352kB
time=00:00:08.20 bitrate=4347.8kbits/s speed=0.0304xframe=  278
fps=1.0 q=29.4 size=    4352kB time=00:00:08.23 bitrate=4330.2kbits/s
speed=0.0303xframe=  280 fps=1.0 q=34.5 size=    4608kB
time=00:00:08.30 bitrate=4548.0kbits/s speed=0.0304xframe=  281
fps=1.0 q=35.8 size=    4608kB time=00:00:08.33 bitrate=4529.9kbits/s
speed=0.0305xframe=  283 fps=1.0 q=29.1 size=    4608kB
time=00:00:08.40 bitrate=4493.9kbits/s speed=0.0304xframe=  285
fps=1.0 q=34.6 size=    4608kB time=00:00:08.46 bitrate=4458.5kbits/s
speed=0.0306xframe=  286 fps=1.0 q=34.5 size=    4608kB
time=00:00:08.50 bitrate=4441.0kbits/s speed=0.0306xframe=  287
fps=1.0 q=36.0 size=    4608kB time=00:00:08.53 bitrate=4423.7kbits/s
speed=0.0307xframe=  288 fps=1.0 q=28.9 size=    4864kB
time=00:00:08.56 bitrate=4651.3kbits/s speed=0.0307xframe=  290
fps=1.0 q=33.6 size=    4864kB time=00:00:08.63 bitrate=4615.4kbits/s
speed=0.0308xframe=  291 fps=1.0 q=35.0 size=    4864kB
time=00:00:08.66 bitrate=4597.6kbits/s speed=0.0308xframe=  293
fps=1.0 q=35.1 size=    4864kB time=00:00:08.73 bitrate=4562.5kbits/s
speed=0.031x frame=  294 fps=1.0 q=28.0 size=    4864kB
time=00:00:08.76 bitrate=4545.2kbits/s speed=0.0309xframe=  296
fps=1.0 q=34.3 size=    5120kB time=00:00:08.83 bitrate=4748.3kbits/s
speed=0.031x frame=  297 fps=1.0 q=34.4 size=    5120kB
time=00:00:08.86 bitrate=4730.4kbits/s speed=0.031x frame=  298
fps=1.0 q=34.6 size=    5120kB time=00:00:08.90 bitrate=4712.7kbits/s
speed=0.0311xframe=  299 fps=1.0 q=33.5 size=    5120kB
time=00:00:08.93 bitrate=4695.1kbits/s speed=0.0311xframe=  301
fps=1.0 q=33.4 size=    5120kB time=00:00:09.00 bitrate=4660.3kbits/s
speed=0.0312xframe=  302 fps=1.0 q=34.5 size=    5120kB
time=00:00:09.03 bitrate=4643.1kbits/s speed=0.0312xframe=  303
fps=1.0 q=35.8 size=    5120kB time=00:00:09.06 bitrate=4626.1kbits/s
speed=0.0313xframe=  305 fps=1.0 q=30.5 size=    5376kB
time=00:00:09.13 bitrate=4821.9kbits/s speed=0.0312xframe=  307
fps=1.0 q=36.0 size=    5376kB time=00:00:09.20 bitrate=4787.0kbits/s
speed=0.0314xframe=  308 fps=1.0 q=34.5 size=    5376kB
time=00:00:09.23 bitrate=4769.7kbits/s speed=0.0314xframe=  309
fps=1.0 q=30.6 size=    5376kB time=00:00:09.26 bitrate=4752.5kbits/s
speed=0.0312xframe=  311 fps=1.0 q=36.0 size=    5376kB
time=00:00:09.33 bitrate=4718.6kbits/s speed=0.0313xframe=  312
fps=1.0 q=30.4 size=    5376kB time=00:00:09.36 bitrate=4701.8kbits/s
speed=0.0312xframe=  314 fps=1.0 q=36.0 size=    5376kB
time=00:00:09.43 bitrate=4668.6kbits/s speed=0.0312xframe=  315
fps=1.0 q=27.9 size=    5632kB time=00:00:09.46 bitrate=4873.7kbits/s
speed=0.031x frame=  317 fps=1.0 q=31.8 size=    5632kB
time=00:00:09.53 bitrate=4839.6kbits/s speed=0.031x frame=  318
fps=1.0 q=35.9 size=    5632kB time=00:00:09.56 bitrate=4822.7kbits/s
speed=0.0309xframe=  319 fps=1.0 q=29.9 size=    5632kB
time=00:00:09.60 bitrate=4806.0kbits/s speed=0.0308xframe=  321
fps=1.0 q=35.9 size=    5632kB time=00:00:09.66 bitrate=4772.8kbits/s
speed=0.0308xframe=  322 fps=1.0 q=29.7 size=    5632kB
time=00:00:09.70 bitrate=4756.4kbits/s speed=0.0307xframe=  324
fps=1.0 q=29.9 size=    5632kB time=00:00:09.76 bitrate=4724.0kbits/s
speed=0.0307xframe=  325 fps=1.0 q=36.0 size=    5632kB
time=00:00:09.80 bitrate=4707.9kbits/s speed=0.0307xframe=  326
fps=1.0 q=29.9 size=    5888kB time=00:00:09.83 bitrate=4905.2kbits/s
speed=0.0306xframe=  328 fps=1.0 q=30.0 size=    5888kB
time=00:00:09.90 bitrate=4872.2kbits/s speed=0.0307xframe=  329
fps=1.0 q=31.5 size=    5888kB time=00:00:09.93 bitrate=4855.8kbits/s
speed=0.0306xframe=  330 fps=1.0 q=32.8 size=    5888kB
time=00:00:09.96 bitrate=4839.6kbits/s speed=0.0305xframe=  331
fps=1.0 q=32.8 size=    5888kB time=00:00:10.00 bitrate=4823.5kbits/s
speed=0.0305xframe=  332 fps=1.0 q=35.9 size=    5888kB
time=00:00:10.03 bitrate=4807.4kbits/s speed=0.0306xframe=  333
fps=1.0 q=29.8 size=    5888kB time=00:00:10.06 bitrate=4791.5kbits/s
speed=0.0305xframe=  335 fps=1.0 q=28.6 size=    5888kB
time=00:00:10.13 bitrate=4760.0kbits/s speed=0.0304xframe=  336
fps=1.0 q=28.9 size=    5888kB time=00:00:10.16 bitrate=4744.4kbits/s
speed=0.0304xframe=  337 fps=1.0 q=36.0 size=    5888kB
time=00:00:10.20 bitrate=4728.9kbits/s speed=0.0303xframe=  339
fps=1.0 q=29.3 size=    5888kB time=00:00:10.26 bitrate=4698.2kbits/s
speed=0.0302xframe=  341 fps=1.0 q=36.0 size=    5888kB
time=00:00:10.33 bitrate=4667.9kbits/s speed=0.0302xframe=  343
fps=1.0 q=29.4 size=    5888kB time=00:00:10.40 bitrate=4637.9kbits/s
speed=0.0301xframe=  345 fps=1.0 q=32.1 size=    6144kB
time=00:00:10.46 bitrate=4808.8kbits/s speed=0.0302xframe=  346
fps=1.0 q=32.1 size=    6144kB time=00:00:10.50 bitrate=4793.5kbits/s
speed=0.0302xframe=  347 fps=1.0 q=36.0 size=    6144kB
time=00:00:10.53 bitrate=4778.3kbits/s speed=0.0303xframe=  349
fps=1.0 q=32.5 size=    6144kB time=00:00:10.60 bitrate=4748.3kbits/s
speed=0.0303xframe=  350 fps=1.0 q=29.5 size=    6144kB
time=00:00:10.63 bitrate=4733.4kbits/s speed=0.0303xframe=  352
fps=1.0 q=36.0 size=    6144kB time=00:00:10.70 bitrate=4703.9kbits/s
speed=0.0304xframe=  354 fps=1.0 q=29.9 size=    6144kB
time=00:00:10.76 bitrate=4674.8kbits/s speed=0.0304xframe=  356
fps=1.0 q=35.9 size=    6144kB time=00:00:10.83 bitrate=4646.0kbits/s
speed=0.0305xframe=  358 fps=1.0 q=28.0 size=    6144kB
time=00:00:10.90 bitrate=4617.6kbits/s speed=0.0304xframe=  360
fps=1.0 q=36.0 size=    6144kB time=00:00:10.96 bitrate=4589.5kbits/s
speed=0.0305xframe=  362 fps=1.0 q=29.3 size=    6144kB
time=00:00:11.03 bitrate=4561.8kbits/s speed=0.0305xframe=  364
fps=1.0 q=36.0 size=    6144kB time=00:00:11.10 bitrate=4534.4kbits/s
speed=0.0306xframe=  365 fps=1.0 q=29.4 size=    6144kB
time=00:00:11.13 bitrate=4520.8kbits/s speed=0.0305xframe=  367
fps=1.0 q=36.0 size=    6144kB time=00:00:11.20 bitrate=4493.9kbits/s
speed=0.0306xframe=  369 fps=1.0 q=29.2 size=    6144kB
time=00:00:11.26 bitrate=4467.3kbits/s speed=0.0305xframe=  371
fps=1.0 q=35.8 size=    6144kB time=00:00:11.33 bitrate=4441.0kbits/s
speed=0.0306xframe=  373 fps=1.0 q=27.9 size=    6144kB
time=00:00:11.40 bitrate=4415.1kbits/s speed=0.0306xframe=  375
fps=1.0 q=35.8 size=    6144kB time=00:00:11.46 bitrate=4389.4kbits/s
speed=0.0307xframe=  377 fps=1.0 q=29.4 size=    6400kB
time=00:00:11.53 bitrate=4545.9kbits/s speed=0.0307xframe=  379
fps=1.0 q=35.8 size=    6400kB time=00:00:11.60 bitrate=4519.7kbits/s
speed=0.0308xframe=  381 fps=1.0 q=35.8 size=    6400kB
time=00:00:11.66 bitrate=4493.9kbits/s speed=0.0309xframe=  382
fps=1.0 q=27.9 size=    6400kB time=00:00:11.70 bitrate=4481.1kbits/s
speed=0.0309xframe=  384 fps=1.0 q=32.9 size=    6400kB
time=00:00:11.76 bitrate=4455.7kbits/s speed=0.031x frame=  385
fps=1.0 q=28.9 size=    6400kB time=00:00:11.80 bitrate=4443.1kbits/s
speed=0.031x frame=  387 fps=1.0 q=35.9 size=    6400kB
time=00:00:11.86 bitrate=4418.2kbits/s speed=0.0311xframe=  388
fps=1.0 q=27.9 size=    6400kB time=00:00:11.90 bitrate=4405.8kbits/s
speed=0.0311xframe=  390 fps=1.0 q=35.7 size=    6400kB
time=00:00:11.96 bitrate=4381.2kbits/s speed=0.0312xframe=  392
fps=1.0 q=29.3 size=    6400kB time=00:00:12.03 bitrate=4357.0kbits/s
speed=0.0312xframe=  394 fps=1.0 q=35.9 size=    6400kB
time=00:00:12.10 bitrate=4333.0kbits/s speed=0.0313xframe=  397
fps=1.0 q=28.0 size=    6400kB time=00:00:12.20 bitrate=4297.4kbits/s
speed=0.0314xframe=  397 fps=1.0 q=31.8 Lsize=    6721kB
time=00:00:13.13 bitrate=4192.3kbits/s speed=0.0328x
video:6713kB audio:0kB subtitle:0kB other streams:0kB global
headers:2kB muxing overhead: 0.120292%
x265 [info]: frame I:      5, Avg QP:28.82  kb/s: 10029.94
x265 [info]: frame P:    131, Avg QP:29.48  kb/s: 7439.82
x265 [info]: frame B:    261, Avg QP:33.66  kb/s: 2393.26
x265 [info]: Weighted P-Frames: Y:1.5% UV:1.5%
x265 [info]: consecutive B-frames: 23.5% 22.1% 11.8% 24.3% 18.4%

encoded 397 frames in 400.09s (0.99 fps), 4154.67 kb/s, Avg QP:32.22

=====

Initially i set cingg cache to low value like 16 Mb and  render
aborted at around 8 sec, then I set cache to 256 Mb and it finished
for complete 13 seconds/ 397 frames....

So, you can use external ffmpeg (and its array of encoders), or x265
directly this way. (if you use normal file it will be 4.7 Gb per 13
seconds of 4k30 video ...)


More information about the Cin mailing list