VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert Blu-ray and DVDs! :)
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. English is not my mother tongue; please excuse any errors on my part

    I have some questions I can't find a good answer on the internet

    first for AVC JM Reference software :

    1- why there is no other rate control beside CBR, I can't find any 2pass or crt option? did I forget something?

    Code:
    ########################################################################################
    #Rate control
    ########################################################################################
    
    RateControlEnable       = 0     # 0 Disable, 1 Enable
    Bitrate                 = 1000000 # Bitrate(bps)
    InitialQP               = 0     # Initial Quantization Parameter for the first I frame
                                    # InitialQp depends on two values: Bits Per Picture,
                                    # and the GOP length
    BasicUnit               = 0     # Number of MBs in the basic unit
                                    # should be a fraction of the total number
                                    # of MBs in a frame ("0" sets a BU equal to a frame)
    ChannelType             = 0     # type of channel( 1=time varying channel; 0=Constant channel)
    RCUpdateMode            = 2     # Rate Control type. Modes supported :
                                    # 0 = original JM rate control,
                                    # 1 = rate control that is applied to all frames regardless of the slice type,
                                    # 2 = original plus intelligent QP selection for I and B slices (including Hierarchical),
                                    # 3 = original + hybrid quadratic rate control for I and B slice using bit rate statistics
                                    #
    RCISliceBitRatio        = 1.0   # target ratio of bits for I-coded pictures compared to P-coded Pictures (for RCUpdateMode=3)
    RCBSliceBitRatio0       = 0.5   # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 0 (for RCUpdateMode=3)
    RCBSliceBitRatio1       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 1 (for RCUpdateMode=3)
    RCBSliceBitRatio2       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 2 (for RCUpdateMode=3)
    RCBSliceBitRatio3       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 3 (for RCUpdateMode=3)
    RCBSliceBitRatio4       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 4 (for RCUpdateMode=3)
    RCBoverPRatio           = 0.45  # ratio of bit rate usage of a B-coded picture over a P-coded picture for the SAME QP (for RCUpdateMode=3)
    RCIoverPRatio           = 3.80  # ratio of bit rate usage of an I-coded picture over a P-coded picture for the SAME QP (for RCUpdateMode=3)
    RCMinQPPSlice           =  8    # minimum P Slice QP value for rate control
    RCMaxQPPSlice           = 42    # maximum P Slice QP value for rate control
    RCMinQPBSlice           =  8    # minimum B Slice QP value for rate control
    RCMaxQPBSlice           = 42    # maximum B Slice QP value for rate control
    RCMinQPISlice           =  8    # minimum I Slice QP value for rate control
    RCMaxQPISlice           = 42    # maximum I Slice QP value for rate control
    RCMinQPSPSlice          =  8    # minimum SP Slice QP value for rate control
    RCMaxQPSPSlice          = 40    # maximum SP Slice QP value for rate control
    RCMinQPSISlice          =  8    # minimum SI Slice QP value for rate control
    RCMaxQPSISlice          = 42    # maximum SI Slice QP value for rate control
    RCMaxQPChange           =  4    # maximum QP change for frames of the base layer
    2- is there any way to increase the speed of the encoder?

    for x264 encoder :

    1- I found that on the encoder help section is the QP range from 0 to 81? why it's not to 51 like hm,x265, jm?

    Code:
    Ratecontrol:
    
      -q, --qp <integer>          Force constant QP (0-81, 0=lossless)
      -B, --bitrate <integer>     Set bitrate (kbit/s)
          --crf <float>           Quality-based VBR (-12-51) [23.0]
          --rc-lookahead <integer> Number of frames for frametype lookahead [40]
          --vbv-maxrate <integer> Max local bitrate (kbit/s) [0]
          --vbv-bufsize <integer> Set size of the VBV buffer (kbit) [0]
          --vbv-init <float>      Initial VBV buffer occupancy [0.9]
          --crf-max <float>       With CRF+VBV, limit RF to this value
                                      May cause VBV underflows!
          --qpmin <integer>       Set min QP [0]
          --qpmax <integer>       Set max QP [2147483647]
          --qpstep <integer>      Set max QP step [4]
          --ratetol <float>       Tolerance of ABR ratecontrol and VBV [1.0]
          --ipratio <float>       QP factor between I and P [1.40]
          --pbratio <float>       QP factor between P and B [1.30]
          --chroma-qp-offset <integer>  QP difference between chroma and luma [0]
          --aq-mode <integer>     AQ method [1]
                                      - 0: Disabled
                                      - 1: Variance AQ (complexity mask)
                                      - 2: Auto-variance AQ
                                      - 3: Auto-variance AQ with bias to dark scenes
          --aq-strength <float>   Reduces blocking and blurring in flat and
                                  textured areas. [1.0]
    2- when I set the rate control to contact qp why it's not constant I mean when I set qp to 40 why its range from 37 to 44 not constant like other encoders? same for HEVC HM Reference software

    Code:
    siraj@RouterX:~/Desktop/Project/Samples/1080p$ x264 --profile main --preset placebo --input-csp i420  --output-csp i420  --input-depth 8  --output-depth 8 --input-res 1920x1080 --fps 50 --verbose /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp 40 --frames 100 --pass 1 -o NUL --stats 264.stats
    yuv [info]: 1920x1080p 0:0 @ 50/1 fps (cfr)
    x264 [debug]: using mv_range_thread = 40
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile Main, level 5.1
    x264 [debug]: frame=   0 QP=37.00 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=55240 bytes
    x264 [debug]: frame=   1 QP=40.00 NAL=2 Slice:P Poc:12  I:156  P:2476 SKIP:5528 size=6763 bytes
    x264 [debug]: frame=   2 QP=41.00 NAL=2 Slice:B Poc:6   I:22   P:1626 SKIP:6456 size=2804 bytes
    x264 [debug]: frame=   3 QP=42.00 NAL=0 Slice:B Poc:2   I:4    P:2103 SKIP:6046 size=1834 bytes
    x264 [debug]: frame=   4 QP=42.00 NAL=0 Slice:B Poc:4   I:3    P:1833 SKIP:6317 size=1797 bytes
    x264 [debug]: frame=   5 QP=42.00 NAL=0 Slice:B Poc:8   I:9    P:1652 SKIP:6489 size=1961 bytes
    x264 [debug]: frame=   6 QP=42.00 NAL=0 Slice:B Poc:10  I:18   P:1735 SKIP:6383 size=2038 bytes
    x264 [debug]: frame=   7 QP=40.00 NAL=2 Slice:P Poc:22  I:228  P:3658 SKIP:4274 size=8173 bytes
    x264 [debug]: frame=   8 QP=41.00 NAL=2 Slice:B Poc:16  I:28   P:2933 SKIP:5141 size=3325 bytes
    x264 [debug]: frame=   9 QP=42.00 NAL=0 Slice:B Poc:14  I:11   P:3354 SKIP:4781 size=2451 bytes
    x264 [debug]: frame=  10 QP=42.00 NAL=0 Slice:B Poc:18  I:12   P:1682 SKIP:6452 size=2096 bytes
    x264 [debug]: frame=  11 QP=42.00 NAL=0 Slice:B Poc:20  I:9    P:1636 SKIP:6492 size=1954 bytes
    x264 [debug]: frame=  12 QP=40.00 NAL=2 Slice:P Poc:34  I:303  P:3332 SKIP:4525 size=8584 bytes
    x264 [debug]: frame=  13 QP=41.00 NAL=2 Slice:B Poc:28  I:33   P:4244 SKIP:3835 size=5325 bytes
    x264 [debug]: frame=  14 QP=42.00 NAL=0 Slice:B Poc:24  I:13   P:3630 SKIP:4504 size=3209 bytes
    x264 [debug]: frame=  15 QP=42.00 NAL=0 Slice:B Poc:26  I:11   P:2299 SKIP:5831 size=2659 bytes
    x264 [debug]: frame=  16 QP=42.00 NAL=0 Slice:B Poc:30  I:7    P:2429 SKIP:5697 size=2780 bytes
    x264 [debug]: frame=  17 QP=42.00 NAL=0 Slice:B Poc:32  I:6    P:2006 SKIP:6115 size=2461 bytes
    x264 [debug]: frame=  18 QP=40.00 NAL=2 Slice:P Poc:42  I:264  P:3049 SKIP:4847 size=8273 bytes
    x264 [debug]: frame=  19 QP=41.00 NAL=2 Slice:B Poc:38  I:16   P:2578 SKIP:5521 size=4142 bytes
    x264 [debug]: frame=  20 QP=42.00 NAL=0 Slice:B Poc:36  I:8    P:2155 SKIP:5971 size=2633 bytes
    x264 [debug]: frame=  21 QP=42.00 NAL=0 Slice:B Poc:40  I:7    P:2440 SKIP:5671 size=2777 bytes
    x264 [debug]: frame=  22 QP=40.00 NAL=2 Slice:P Poc:50  I:293  P:3280 SKIP:4587 size=8355 bytes
    x264 [debug]: frame=  23 QP=41.00 NAL=2 Slice:B Poc:46  I:31   P:2432 SKIP:5648 size=4531 bytes
    x264 [debug]: frame=  24 QP=42.00 NAL=0 Slice:B Poc:44  I:6    P:2289 SKIP:5832 size=2970 bytes
    x264 [debug]: frame=  25 QP=42.00 NAL=0 Slice:B Poc:48  I:8    P:2296 SKIP:5819 size=2761 bytes
    x264 [debug]: frame=  26 QP=40.00 NAL=2 Slice:P Poc:60  I:332  P:3267 SKIP:4561 size=8522 bytes
    x264 [debug]: frame=  27 QP=41.00 NAL=2 Slice:B Poc:54  I:26   P:2282 SKIP:5803 size=4238 bytes
    x264 [debug]: frame=  28 QP=42.00 NAL=0 Slice:B Poc:52  I:0    P:1998 SKIP:6133 size=2511 bytes
    x264 [debug]: frame=  29 QP=42.00 NAL=0 Slice:B Poc:56  I:5    P:1937 SKIP:6190 size=2733 bytes
    x264 [debug]: frame=  30 QP=42.00 NAL=0 Slice:B Poc:58  I:4    P:2118 SKIP:6005 size=2614 bytes
    x264 [debug]: frame=  31 QP=40.00 NAL=2 Slice:P Poc:68  I:167  P:3755 SKIP:4238 size=8179 bytes
    x264 [debug]: frame=  32 QP=41.00 NAL=2 Slice:B Poc:64  I:23   P:2509 SKIP:5585 size=3794 bytes
    x264 [debug]: frame=  33 QP=42.00 NAL=0 Slice:B Poc:62  I:6    P:2253 SKIP:5890 size=2337 bytes
    x264 [debug]: frame=  34 QP=42.00 NAL=0 Slice:B Poc:66  I:6    P:2247 SKIP:5889 size=2234 bytes
    x264 [debug]: frame=  35 QP=40.00 NAL=2 Slice:P Poc:76  I:111  P:3200 SKIP:4849 size=7406 bytes
    x264 [debug]: frame=  36 QP=41.00 NAL=2 Slice:B Poc:72  I:3    P:2482 SKIP:5628 size=3359 bytes
    x264 [debug]: frame=  37 QP=42.00 NAL=0 Slice:B Poc:70  I:1    P:2165 SKIP:5985 size=2100 bytes
    x264 [debug]: frame=  38 QP=42.00 NAL=0 Slice:B Poc:74  I:0    P:1916 SKIP:6226 size=1899 bytes
    x264 [debug]: frame=  39 QP=40.00 NAL=2 Slice:P Poc:84  I:167  P:3380 SKIP:4613 size=7891 bytes
    x264 [debug]: frame=  40 QP=41.00 NAL=2 Slice:B Poc:80  I:6    P:2133 SKIP:5986 size=3420 bytes
    x264 [debug]: frame=  41 QP=42.00 NAL=0 Slice:B Poc:78  I:1    P:1932 SKIP:6216 size=2038 bytes
    x264 [debug]: frame=  42 QP=42.00 NAL=0 Slice:B Poc:82  I:1    P:2180 SKIP:5967 size=2229 bytes
    x264 [debug]: frame=  43 QP=40.00 NAL=2 Slice:P Poc:92  I:140  P:4057 SKIP:3963 size=8420 bytes
    x264 [debug]: frame=  44 QP=41.00 NAL=2 Slice:B Poc:88  I:6    P:2439 SKIP:5677 size=3456 bytes
    x264 [debug]: frame=  45 QP=42.00 NAL=0 Slice:B Poc:86  I:1    P:2103 SKIP:6047 size=2268 bytes
    x264 [debug]: frame=  46 QP=42.00 NAL=0 Slice:B Poc:90  I:1    P:2121 SKIP:6026 size=2315 bytes
    x264 [debug]: frame=  47 QP=40.00 NAL=2 Slice:P Poc:102 I:186  P:3458 SKIP:4516 size=8263 bytes
    x264 [debug]: frame=  48 QP=41.00 NAL=2 Slice:B Poc:96  I:8    P:2533 SKIP:5581 size=3676 bytes
    x264 [debug]: frame=  49 QP=42.00 NAL=0 Slice:B Poc:94  I:3    P:1982 SKIP:6163 size=2143 bytes
    x264 [debug]: frame=  50 QP=42.00 NAL=0 Slice:B Poc:98  I:2    P:2064 SKIP:6081 size=2555 bytes
    x264 [debug]: frame=  51 QP=42.00 NAL=0 Slice:B Poc:100 I:2    P:1860 SKIP:6279 size=2145 bytes
    x264 [debug]: frame=  52 QP=40.00 NAL=2 Slice:P Poc:108 I:159  P:3178 SKIP:4823 size=6957 bytes
    x264 [debug]: frame=  53 QP=41.00 NAL=2 Slice:B Poc:104 I:2    P:2063 SKIP:6070 size=2715 bytes
    x264 [debug]: frame=  54 QP=42.00 NAL=0 Slice:B Poc:106 I:0    P:2072 SKIP:6059 size=2136 bytes
    x264 [debug]: frame=  55 QP=40.00 NAL=2 Slice:P Poc:116 I:212  P:3494 SKIP:4454 size=8087 bytes
    x264 [debug]: frame=  56 QP=41.00 NAL=2 Slice:B Poc:112 I:7    P:2411 SKIP:5708 size=3193 bytes
    x264 [debug]: frame=  57 QP=42.00 NAL=0 Slice:B Poc:110 I:1    P:2124 SKIP:6020 size=2286 bytes
    x264 [debug]: frame=  58 QP=42.00 NAL=0 Slice:B Poc:114 I:0    P:2244 SKIP:5902 size=2114 bytes
    x264 [debug]: frame=  59 QP=40.00 NAL=2 Slice:P Poc:124 I:178  P:3406 SKIP:4576 size=7681 bytes
    x264 [debug]: frame=  60 QP=41.00 NAL=2 Slice:B Poc:120 I:3    P:2072 SKIP:6060 size=3058 bytes
    x264 [debug]: frame=  61 QP=42.00 NAL=0 Slice:B Poc:118 I:1    P:1999 SKIP:6144 size=2133 bytes
    x264 [debug]: frame=  62 QP=42.00 NAL=0 Slice:B Poc:122 I:0    P:2127 SKIP:6014 size=2140 bytes
    x264 [debug]: frame=  63 QP=40.00 NAL=2 Slice:P Poc:132 I:143  P:3376 SKIP:4641 size=7814 bytes
    x264 [debug]: frame=  64 QP=41.00 NAL=2 Slice:B Poc:128 I:3    P:2524 SKIP:5601 size=3221 bytes
    x264 [debug]: frame=  65 QP=42.00 NAL=0 Slice:B Poc:126 I:2    P:2100 SKIP:6046 size=2195 bytes
    x264 [debug]: frame=  66 QP=42.00 NAL=0 Slice:B Poc:130 I:2    P:1955 SKIP:6185 size=2107 bytes
    x264 [debug]: frame=  67 QP=40.00 NAL=2 Slice:P Poc:138 I:155  P:3048 SKIP:4957 size=6920 bytes
    x264 [debug]: frame=  68 QP=41.00 NAL=2 Slice:B Poc:134 I:6    P:2056 SKIP:6064 size=2813 bytes
    x264 [debug]: frame=  69 QP=42.00 NAL=0 Slice:B Poc:136 I:0    P:1849 SKIP:6286 size=2112 bytes
    x264 [debug]: frame=  70 QP=40.00 NAL=2 Slice:P Poc:144 I:139  P:2810 SKIP:5211 size=6871 bytes
    x264 [debug]: frame=  71 QP=41.00 NAL=2 Slice:B Poc:140 I:4    P:1781 SKIP:6348 size=2816 bytes
    x264 [debug]: frame=  72 QP=42.00 NAL=0 Slice:B Poc:142 I:5    P:1559 SKIP:6575 size=2321 bytes
    x264 [debug]: frame=  73 QP=40.00 NAL=2 Slice:P Poc:152 I:196  P:3021 SKIP:4943 size=8035 bytes
    x264 [debug]: frame=  74 QP=41.00 NAL=2 Slice:B Poc:148 I:13   P:2004 SKIP:6100 size=3562 bytes
    x264 [debug]: frame=  75 QP=42.00 NAL=0 Slice:B Poc:146 I:2    P:1949 SKIP:6185 size=2523 bytes
    x264 [debug]: frame=  76 QP=42.00 NAL=0 Slice:B Poc:150 I:3    P:1711 SKIP:6401 size=2444 bytes
    x264 [debug]: frame=  77 QP=40.00 NAL=2 Slice:P Poc:158 I:156  P:2816 SKIP:5188 size=7362 bytes
    x264 [debug]: frame=  78 QP=41.00 NAL=2 Slice:B Poc:154 I:7    P:2112 SKIP:6013 size=3345 bytes
    x264 [debug]: frame=  79 QP=42.00 NAL=0 Slice:B Poc:156 I:5    P:1838 SKIP:6289 size=2636 bytes
    x264 [debug]: frame=  80 QP=40.00 NAL=2 Slice:P Poc:166 I:243  P:3101 SKIP:4816 size=8288 bytes
    x264 [debug]: frame=  81 QP=41.00 NAL=2 Slice:B Poc:162 I:4    P:2107 SKIP:6008 size=3810 bytes
    x264 [debug]: frame=  82 QP=42.00 NAL=0 Slice:B Poc:160 I:1    P:1973 SKIP:6153 size=2664 bytes
    x264 [debug]: frame=  83 QP=42.00 NAL=0 Slice:B Poc:164 I:0    P:1944 SKIP:6191 size=2563 bytes
    x264 [debug]: frame=  84 QP=40.00 NAL=2 Slice:P Poc:176 I:259  P:3083 SKIP:4818 size=8284 bytes
    x264 [debug]: frame=  85 QP=41.00 NAL=2 Slice:B Poc:170 I:6    P:2120 SKIP:5998 size=4038 bytes
    x264 [debug]: frame=  86 QP=42.00 NAL=0 Slice:B Poc:168 I:3    P:1910 SKIP:6225 size=2623 bytes
    x264 [debug]: frame=  87 QP=42.00 NAL=0 Slice:B Poc:172 I:5    P:2029 SKIP:6103 size=2976 bytes
    x264 [debug]: frame=  88 QP=42.00 NAL=0 Slice:B Poc:174 I:3    P:1761 SKIP:6373 size=2731 bytes
    x264 [debug]: frame=  89 QP=40.00 NAL=2 Slice:P Poc:184 I:231  P:3270 SKIP:4659 size=8258 bytes
    x264 [debug]: frame=  90 QP=41.00 NAL=2 Slice:B Poc:180 I:9    P:2565 SKIP:5539 size=3883 bytes
    x264 [debug]: frame=  91 QP=42.00 NAL=0 Slice:B Poc:178 I:5    P:2167 SKIP:5971 size=2655 bytes
    x264 [debug]: frame=  92 QP=42.00 NAL=0 Slice:B Poc:182 I:0    P:2075 SKIP:6059 size=2490 bytes
    x264 [debug]: frame=  93 QP=40.00 NAL=2 Slice:P Poc:190 I:194  P:3114 SKIP:4852 size=8055 bytes
    x264 [debug]: frame=  94 QP=41.00 NAL=2 Slice:B Poc:186 I:3    P:2249 SKIP:5869 size=3451 bytes
    x264 [debug]: frame=  95 QP=42.00 NAL=0 Slice:B Poc:188 I:1    P:1877 SKIP:6253 size=2586 bytes
    x264 [debug]: frame=  96 QP=40.00 NAL=2 Slice:P Poc:198 I:271  P:3223 SKIP:4666 size=9019 bytes
    x264 [debug]: frame=  97 QP=41.00 NAL=2 Slice:B Poc:194 I:17   P:2305 SKIP:5804 size=4289 bytes
    x264 [debug]: frame=  98 QP=42.00 NAL=0 Slice:B Poc:192 I:1    P:2079 SKIP:6058 size=2827 bytes
    x264 [debug]: frame=  99 QP=42.00 NAL=0 Slice:B Poc:196 I:1    P:1999 SKIP:6136 size=2725 bytes
    x264 [info]: frame I:1     Avg QP:37.00  size: 55240
    x264 [info]: frame P:24    Avg QP:40.00  size:  7936
    x264 [info]: frame B:75    Avg QP:41.68  size:  2783
    x264 [info]: consecutive B-frames:  1.0%  0.0% 15.0% 52.0% 20.0% 12.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
    x264 [info]: mb I  I16..4: 53.5%  0.0% 46.5%
    x264 [info]: mb P  I16..4:  1.7%  0.0%  0.8%  P16..4: 32.9%  2.5%  4.2%  0.0%  0.0%    skip:57.8%
    x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 24.9%  1.4%  0.2%  direct: 0.3%  skip:73.1%  L0:37.3% L1:61.9% BI: 0.8%
    x264 [info]: direct mvs  spatial:90.7% temporal:9.3%
    x264 [info]: coded y,uvDC,uvAC intra: 42.9% 39.3% 13.0% inter: 1.2% 1.3% 0.0%
    x264 [info]: i16 v,h,dc,p: 62% 25%  5%  9%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30%  7% 15%  6%  8%  9%  7%  7% 10%
    x264 [info]: i8c dc,h,v,p: 42% 27% 23%  8%
    x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    x264 [info]: ref P L0: 50.2% 24.3% 12.8%  2.5%  2.7%  1.8%  1.8%  0.5%  0.7%  0.5%  0.6%  0.4%  0.4%  0.3%  0.3%  0.2%
    x264 [info]: ref B L0: 94.6%  2.8%  1.0%  0.4%  0.3%  0.3%  0.2%  0.1%  0.1%  0.1%  0.1%  0.1%  0.0%  0.0%  0.0%
    x264 [info]: ref B L1: 99.1%  0.9%
    x264 [info]: kb/s:1817.81
    
    encoded 100 frames, 2.48 fps, 1817.81 kb/s
    siraj@RouterX:~/Desktop/Project/Samples/1080p$  x264 --profile main --preset placebo -o avc_20.264 --input-csp i420  --output-csp i420  --input-depth 8  --output-depth 8 --input-res 1920x1080 --fps 50 --verbose /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp 40  --pass 2  --stats 264.stats --frames 100 --dump-yuv x264_40.yuv
    yuv [info]: 1920x1080p 0:0 @ 50/1 fps (cfr)
    x264 [debug]: using mv_range_thread = 40
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile Main, level 5.1
    x264 [debug]: frame=   0 QP=37.00 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=55240 bytes
    x264 [debug]: frame=   1 QP=40.00 NAL=2 Slice:P Poc:12  I:164  P:2511 SKIP:5485 size=6834 bytes
    x264 [debug]: frame=   2 QP=41.00 NAL=2 Slice:B Poc:6   I:20   P:1662 SKIP:6428 size=2846 bytes
    x264 [debug]: frame=   3 QP=42.00 NAL=0 Slice:B Poc:2   I:3    P:1745 SKIP:6403 size=1757 bytes
    x264 [debug]: frame=   4 QP=42.00 NAL=0 Slice:B Poc:4   I:3    P:1800 SKIP:6344 size=1806 bytes
    x264 [debug]: frame=   5 QP=42.00 NAL=0 Slice:B Poc:8   I:11   P:1565 SKIP:6573 size=1948 bytes
    x264 [debug]: frame=   6 QP=42.00 NAL=0 Slice:B Poc:10  I:17   P:1691 SKIP:6435 size=1977 bytes
    x264 [debug]: frame=   7 QP=40.00 NAL=2 Slice:P Poc:22  I:221  P:3639 SKIP:4300 size=8217 bytes
    x264 [debug]: frame=   8 QP=41.00 NAL=2 Slice:B Poc:16  I:21   P:2769 SKIP:5324 size=3673 bytes
    x264 [debug]: frame=   9 QP=42.00 NAL=0 Slice:B Poc:14  I:6    P:1838 SKIP:6297 size=1992 bytes
    x264 [debug]: frame=  10 QP=42.00 NAL=0 Slice:B Poc:18  I:10   P:1680 SKIP:6449 size=2139 bytes
    .
    .
    .
    x264 [debug]: frame=  96 QP=40.00 NAL=2 Slice:P Poc:198 I:229  P:3258 SKIP:4673 size=9081 bytes
    x264 [debug]: frame=  97 QP=41.00 NAL=2 Slice:B Poc:194 I:16   P:2470 SKIP:5619 size=4312 bytes
    x264 [debug]: frame=  98 QP=42.00 NAL=0 Slice:B Poc:192 I:1    P:2174 SKIP:5962 size=2805 bytes
    x264 [debug]: frame=  99 QP=42.00 NAL=0 Slice:B Poc:196 I:1    P:2101 SKIP:6030 size=2887 bytes
    x264 [info]: frame I:1     Avg QP:37.00  size: 55240
    x264 [info]: frame P:24    Avg QP:40.00  size:  7961
    x264 [info]: frame B:75    Avg QP:41.68  size:  2757
    x264 [info]: consecutive B-frames:  1.0%  0.0% 15.0% 52.0% 20.0% 12.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
    x264 [info]: mb I  I16..4: 53.5%  0.0% 46.5%
    x264 [info]: mb P  I16..4:  1.7%  0.0%  0.8%  P16..4: 33.2%  2.6%  4.1%  0.0%  0.0%    skip:57.7%
    x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 23.8%  1.4%  0.2%  direct: 0.4%  skip:74.2%  L0:38.2% L1:61.0% BI: 0.8%
    x264 [info]: direct mvs  spatial:96.0% temporal:4.0%
    x264 [info]: coded y,uvDC,uvAC intra: 43.4% 39.7% 13.0% inter: 1.2% 1.3% 0.0%
    x264 [info]: i16 v,h,dc,p: 62% 24%  5%  9%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30%  7% 16%  6%  8%  9%  7%  7% 10%
    x264 [info]: i8c dc,h,v,p: 42% 27% 23%  8%
    x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    x264 [info]: ref P L0: 50.0% 23.4% 14.2%  3.0%  2.0%  2.4%  1.4%  0.6%  0.5%  0.4%  0.4%  0.4%  0.3%  0.3%  0.3%  0.1%
    x264 [info]: ref B L0: 94.8%  2.6%  1.0%  0.4%  0.3%  0.2%  0.2%  0.1%  0.1%  0.1%  0.1%  0.1%  0.0%  0.0%  0.0%
    x264 [info]: ref B L1: 99.3%  0.7%
    x264 [info]: kb/s:1812.22
    
    encoded 100 frames, 2.88 fps, 1812.22 kb/s
    for vp9 :

    1- is it good to use multithreading option, is there any drop of quality?



    for av1 :

    1- is there any way I can increase the speed of the encoder?

    2- I cant build the re1v encoder, after making command this error appears:

    Code:
    siraj@RouterX:~/Desktop/Project/Samples/1080p$ x264 --profile main --preset placebo --input-csp i420  --output-csp i420  --input-depth 8  --output-depth 8 --input-res 1920x1080 --fps 50 --verbose /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp 40 --frames 100 --pass 1 -o NUL --stats 264.stats
    yuv [info]: 1920x1080p 0:0 @ 50/1 fps (cfr)
    x264 [debug]: using mv_range_thread = 40
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile Main, level 5.1
    x264 [debug]: frame=   0 QP=37.00 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=55240 bytes
    x264 [debug]: frame=   1 QP=40.00 NAL=2 Slice:P Poc:12  I:156  P:2476 SKIP:5528 size=6763 bytes
    x264 [debug]: frame=   2 QP=41.00 NAL=2 Slice:B Poc:6   I:22   P:1626 SKIP:6456 size=2804 bytes
    x264 [debug]: frame=   3 QP=42.00 NAL=0 Slice:B Poc:2   I:4    P:2103 SKIP:6046 size=1834 bytes
    x264 [debug]: frame=   4 QP=42.00 NAL=0 Slice:B Poc:4   I:3    P:1833 SKIP:6317 size=1797 bytes
    .
    .
    x264 [debug]: frame=  96 QP=40.00 NAL=2 Slice:P Poc:198 I:271  P:3223 SKIP:4666 size=9019 bytes
    x264 [debug]: frame=  97 QP=41.00 NAL=2 Slice:B Poc:194 I:17   P:2305 SKIP:5804 size=4289 bytes
    x264 [debug]: frame=  98 QP=42.00 NAL=0 Slice:B Poc:192 I:1    P:2079 SKIP:6058 size=2827 bytes
    x264 [debug]: frame=  99 QP=42.00 NAL=0 Slice:B Poc:196 I:1    P:1999 SKIP:6136 size=2725 bytes
    x264 [info]: frame I:1     Avg QP:37.00  size: 55240
    x264 [info]: frame P:24    Avg QP:40.00  size:  7936
    x264 [info]: frame B:75    Avg QP:41.68  size:  2783
    x264 [info]: consecutive B-frames:  1.0%  0.0% 15.0% 52.0% 20.0% 12.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
    x264 [info]: mb I  I16..4: 53.5%  0.0% 46.5%
    x264 [info]: mb P  I16..4:  1.7%  0.0%  0.8%  P16..4: 32.9%  2.5%  4.2%  0.0%  0.0%    skip:57.8%
    x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 24.9%  1.4%  0.2%  direct: 0.3%  skip:73.1%  L0:37.3% L1:61.9% BI: 0.8%
    x264 [info]: direct mvs  spatial:90.7% temporal:9.3%
    x264 [info]: coded y,uvDC,uvAC intra: 42.9% 39.3% 13.0% inter: 1.2% 1.3% 0.0%
    x264 [info]: i16 v,h,dc,p: 62% 25%  5%  9%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30%  7% 15%  6%  8%  9%  7%  7% 10%
    x264 [info]: i8c dc,h,v,p: 42% 27% 23%  8%
    x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    x264 [info]: ref P L0: 50.2% 24.3% 12.8%  2.5%  2.7%  1.8%  1.8%  0.5%  0.7%  0.5%  0.6%  0.4%  0.4%  0.3%  0.3%  0.2%
    x264 [info]: ref B L0: 94.6%  2.8%  1.0%  0.4%  0.3%  0.3%  0.2%  0.1%  0.1%  0.1%  0.1%  0.1%  0.0%  0.0%  0.0%
    x264 [info]: ref B L1: 99.1%  0.9%
    x264 [info]: kb/s:1817.81
    
    encoded 100 frames, 2.48 fps, 1817.81 kb/s
    siraj@RouterX:~/Desktop/Project/Samples/1080p$  x264 --profile main --preset placebo -o avc_20.264 --input-csp i420  --output-csp i420  --input-depth 8  --output-depth 8 --input-res 1920x1080 --fps 50 --verbose /home/siraj/Desktop/Project/Samples/1080p/ReadySteadyGo_1920x1080_120fps_420_8bit_YUV.yuv --qp 40  --pass 2  --stats 264.stats --frames 100 --dump-yuv x264_40.yuv
    yuv [info]: 1920x1080p 0:0 @ 50/1 fps (cfr)
    x264 [debug]: using mv_range_thread = 40
    x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    x264 [info]: profile Main, level 5.1
    x264 [debug]: frame=   0 QP=37.00 NAL=3 Slice:I Poc:0   I:8160 P:0    SKIP:0    size=55240 bytes
    x264 [debug]: frame=   1 QP=40.00 NAL=2 Slice:P Poc:12  I:164  P:2511 SKIP:5485 size=6834 bytes
    x264 [debug]: frame=   2 QP=41.00 NAL=2 Slice:B Poc:6   I:20   P:1662 SKIP:6428 size=2846 bytes
    x264 [debug]: frame=   3 QP=42.00 NAL=0 Slice:B Poc:2   I:3    P:1745 SKIP:6403 size=1757 bytes
    x264 [debug]: frame=   4 QP=42.00 NAL=0 Slice:B Poc:4   I:3    P:1800 SKIP:6344 size=1806 bytes
    x264 [debug]: frame=   5 QP=42.00 NAL=0 Slice:B Poc:8   I:11   P:1565 SKIP:6573 size=1948 bytes
    x264 [debug]: frame=   6 QP=42.00 NAL=0 Slice:B Poc:10  I:17   P:1691 SKIP:6435 size=1977 bytes
    x264 [debug]: frame=   7 QP=40.00 NAL=2 Slice:P Poc:22  I:221  P:3639 SKIP:4300 size=8217 bytes
    x264 [debug]: frame=   8 QP=41.00 NAL=2 Slice:B Poc:16  I:21   P:2769 SKIP:5324 size=3673 bytes
    x264 [debug]: frame=   9 QP=42.00 NAL=0 Slice:B Poc:14  I:6    P:1838 SKIP:6297 size=1992 bytes
    x264 [debug]: frame=  10 QP=42.00 NAL=0 Slice:B Poc:18  I:10   P:1680 SKIP:6449 size=2139 bytes
    x264 [debug]: frame=  11 QP=42.00 NAL=0 Slice:B Poc:20  I:8    P:1701 SKIP:6427 size=1981 bytes
    x264 [debug]: frame=  12 QP=40.00 NAL=2 Slice:P Poc:34  I:278  P:3462 SKIP:4420 size=8643 bytes
    x264 [debug]: frame=  13 QP=41.00 NAL=2 Slice:B Poc:28  I:32   P:2596 SKIP:5488 size=4358 bytes
    x264 [debug]: frame=  14 QP=42.00 NAL=0 Slice:B Poc:24  I:1    P:2161 SKIP:5973 size=2612 bytes
    x264 [debug]: frame=  15 QP=42.00 NAL=0 Slice:B Poc:26  I:8    P:2098 SKIP:6031 size=2567 bytes
    x264 [debug]: frame=  16 QP=42.00 NAL=0 Slice:B Poc:30  I:11   P:2070 SKIP:6057 size=2636 bytes
    x264 [debug]: frame=  17 QP=42.00 NAL=0 Slice:B Poc:32  I:7    P:2062 SKIP:6048 size=2503 bytes
    x264 [debug]: frame=  18 QP=40.00 NAL=2 Slice:P Poc:42  I:278  P:3228 SKIP:4654 size=8517 bytes
    x264 [debug]: frame=  19 QP=41.00 NAL=2 Slice:B Poc:38  I:11   P:2695 SKIP:5412 size=4209 bytes
    x264 [debug]: frame=  20 QP=42.00 NAL=0 Slice:B Poc:36  I:7    P:2230 SKIP:5898 size=2695 bytes
    x264 [debug]: frame=  21 QP=42.00 NAL=0 Slice:B Poc:40  I:7    P:2085 SKIP:6044 size=2698 bytes
    x264 [debug]: frame=  22 QP=40.00 NAL=2 Slice:P Poc:50  I:279  P:3282 SKIP:4599 size=8429 bytes
    x264 [debug]: frame=  23 QP=41.00 NAL=2 Slice:B Poc:46  I:38   P:2507 SKIP:5562 size=4557 bytes
    x264 [debug]: frame=  24 QP=42.00 NAL=0 Slice:B Poc:44  I:11   P:2224 SKIP:5883 size=2984 bytes
    x264 [debug]: frame=  25 QP=42.00 NAL=0 Slice:B Poc:48  I:12   P:2403 SKIP:5706 size=2859 bytes
    x264 [debug]: frame=  26 QP=40.00 NAL=2 Slice:P Poc:60  I:340  P:3353 SKIP:4467 size=8557 bytes
    x264 [debug]: frame=  27 QP=41.00 NAL=2 Slice:B Poc:54  I:37   P:1994 SKIP:6076 size=4166 bytes
    x264 [debug]: frame=  28 QP=42.00 NAL=0 Slice:B Poc:52  I:2    P:2043 SKIP:6078 size=2486 bytes
    x264 [debug]: frame=  29 QP=42.00 NAL=0 Slice:B Poc:56  I:13   P:1540 SKIP:6575 size=2696 bytes
    x264 [debug]: frame=  30 QP=42.00 NAL=0 Slice:B Poc:58  I:6    P:2013 SKIP:6109 size=2578 bytes
    x264 [debug]: frame=  31 QP=40.00 NAL=2 Slice:P Poc:68  I:184  P:3254 SKIP:4722 size=7997 bytes
    x264 [debug]: frame=  32 QP=41.00 NAL=2 Slice:B Poc:64  I:22   P:2353 SKIP:5746 size=3674 bytes
    x264 [debug]: frame=  33 QP=42.00 NAL=0 Slice:B Poc:62  I:1    P:2207 SKIP:5931 size=2314 bytes
    x264 [debug]: frame=  34 QP=42.00 NAL=0 Slice:B Poc:66  I:3    P:2149 SKIP:5984 size=2225 bytes
    x264 [debug]: frame=  35 QP=40.00 NAL=2 Slice:P Poc:76  I:111  P:3124 SKIP:4925 size=7407 bytes
    x264 [debug]: frame=  36 QP=41.00 NAL=2 Slice:B Poc:72  I:7    P:2445 SKIP:5672 size=3301 bytes
    x264 [debug]: frame=  37 QP=42.00 NAL=0 Slice:B Poc:70  I:1    P:2199 SKIP:5946 size=2126 bytes
    x264 [debug]: frame=  38 QP=42.00 NAL=0 Slice:B Poc:74  I:0    P:2061 SKIP:6087 size=1969 bytes
    x264 [debug]: frame=  39 QP=40.00 NAL=2 Slice:P Poc:84  I:173  P:3771 SKIP:4216 size=8038 bytes
    x264 [debug]: frame=  40 QP=41.00 NAL=2 Slice:B Poc:80  I:9    P:2167 SKIP:5931 size=3432 bytes
    x264 [debug]: frame=  41 QP=42.00 NAL=0 Slice:B Poc:78  I:2    P:2086 SKIP:6050 size=2193 bytes
    x264 [debug]: frame=  42 QP=42.00 NAL=0 Slice:B Poc:82  I:2    P:1837 SKIP:6305 size=2121 bytes
    x264 [debug]: frame=  43 QP=40.00 NAL=2 Slice:P Poc:92  I:141  P:3961 SKIP:4058 size=8350 bytes
    x264 [debug]: frame=  44 QP=41.00 NAL=2 Slice:B Poc:88  I:8    P:2481 SKIP:5627 size=3417 bytes
    x264 [debug]: frame=  45 QP=42.00 NAL=0 Slice:B Poc:86  I:0    P:2309 SKIP:5834 size=2364 bytes
    x264 [debug]: frame=  46 QP=42.00 NAL=0 Slice:B Poc:90  I:3    P:2094 SKIP:6044 size=2267 bytes
    x264 [debug]: frame=  47 QP=40.00 NAL=2 Slice:P Poc:102 I:212  P:3541 SKIP:4407 size=8390 bytes
    x264 [debug]: frame=  48 QP=41.00 NAL=2 Slice:B Poc:96  I:5    P:2092 SKIP:6028 size=3479 bytes
    x264 [debug]: frame=  49 QP=42.00 NAL=0 Slice:B Poc:94  I:0    P:2045 SKIP:6100 size=2165 bytes
    x264 [debug]: frame=  50 QP=42.00 NAL=0 Slice:B Poc:98  I:4    P:2062 SKIP:6086 size=2397 bytes
    x264 [debug]: frame=  51 QP=42.00 NAL=0 Slice:B Poc:100 I:3    P:1764 SKIP:6380 size=2170 bytes
    x264 [debug]: frame=  52 QP=40.00 NAL=2 Slice:P Poc:108 I:158  P:3180 SKIP:4822 size=6982 bytes
    x264 [debug]: frame=  53 QP=41.00 NAL=2 Slice:B Poc:104 I:2    P:2170 SKIP:5968 size=2697 bytes
    x264 [debug]: frame=  54 QP=42.00 NAL=0 Slice:B Poc:106 I:2    P:2145 SKIP:5997 size=2179 bytes
    x264 [debug]: frame=  55 QP=40.00 NAL=2 Slice:P Poc:116 I:207  P:3471 SKIP:4482 size=8054 bytes
    x264 [debug]: frame=  56 QP=41.00 NAL=2 Slice:B Poc:112 I:5    P:2276 SKIP:5837 size=3246 bytes
    x264 [debug]: frame=  57 QP=42.00 NAL=0 Slice:B Poc:110 I:0    P:1968 SKIP:6180 size=2285 bytes
    x264 [debug]: frame=  58 QP=42.00 NAL=0 Slice:B Poc:114 I:0    P:1973 SKIP:6166 size=2030 bytes
    x264 [debug]: frame=  59 QP=40.00 NAL=2 Slice:P Poc:124 I:158  P:3304 SKIP:4698 size=7476 bytes
    x264 [debug]: frame=  60 QP=41.00 NAL=2 Slice:B Poc:120 I:4    P:1890 SKIP:6237 size=3003 bytes
    x264 [debug]: frame=  61 QP=42.00 NAL=0 Slice:B Poc:118 I:1    P:1783 SKIP:6363 size=2087 bytes
    x264 [debug]: frame=  62 QP=42.00 NAL=0 Slice:B Poc:122 I:0    P:1970 SKIP:6165 size=2050 bytes
    x264 [debug]: frame=  63 QP=40.00 NAL=2 Slice:P Poc:132 I:171  P:3457 SKIP:4532 size=7917 bytes
    x264 [debug]: frame=  64 QP=41.00 NAL=2 Slice:B Poc:128 I:3    P:2637 SKIP:5484 size=3356 bytes
    x264 [debug]: frame=  65 QP=42.00 NAL=0 Slice:B Poc:126 I:0    P:2305 SKIP:5842 size=2362 bytes
    x264 [debug]: frame=  66 QP=42.00 NAL=0 Slice:B Poc:130 I:3    P:2119 SKIP:6020 size=2196 bytes
    x264 [debug]: frame=  67 QP=40.00 NAL=2 Slice:P Poc:138 I:119  P:2967 SKIP:5074 size=6911 bytes
    x264 [debug]: frame=  68 QP=41.00 NAL=2 Slice:B Poc:134 I:4    P:2002 SKIP:6123 size=2728 bytes
    x264 [debug]: frame=  69 QP=42.00 NAL=0 Slice:B Poc:136 I:0    P:1983 SKIP:6162 size=2207 bytes
    x264 [debug]: frame=  70 QP=40.00 NAL=2 Slice:P Poc:144 I:146  P:2857 SKIP:5157 size=6921 bytes
    x264 [debug]: frame=  71 QP=41.00 NAL=2 Slice:B Poc:140 I:4    P:1941 SKIP:6185 size=2697 bytes
    x264 [debug]: frame=  72 QP=42.00 NAL=0 Slice:B Poc:142 I:3    P:1582 SKIP:6558 size=2297 bytes
    x264 [debug]: frame=  73 QP=40.00 NAL=2 Slice:P Poc:152 I:189  P:3007 SKIP:4964 size=7969 bytes
    x264 [debug]: frame=  74 QP=41.00 NAL=2 Slice:B Poc:148 I:8    P:2124 SKIP:5964 size=3373 bytes
    x264 [debug]: frame=  75 QP=42.00 NAL=0 Slice:B Poc:146 I:1    P:1704 SKIP:6435 size=2424 bytes
    x264 [debug]: frame=  76 QP=42.00 NAL=0 Slice:B Poc:150 I:3    P:1647 SKIP:6483 size=2407 bytes
    x264 [debug]: frame=  77 QP=40.00 NAL=2 Slice:P Poc:158 I:175  P:2843 SKIP:5142 size=7385 bytes
    x264 [debug]: frame=  78 QP=41.00 NAL=2 Slice:B Poc:154 I:11   P:1908 SKIP:6204 size=3318 bytes
    x264 [debug]: frame=  79 QP=42.00 NAL=0 Slice:B Poc:156 I:1    P:1836 SKIP:6283 size=2593 bytes
    x264 [debug]: frame=  80 QP=40.00 NAL=2 Slice:P Poc:166 I:217  P:3025 SKIP:4918 size=8223 bytes
    x264 [debug]: frame=  81 QP=41.00 NAL=2 Slice:B Poc:162 I:6    P:2411 SKIP:5692 size=3899 bytes
    x264 [debug]: frame=  82 QP=42.00 NAL=0 Slice:B Poc:160 I:3    P:1651 SKIP:6476 size=2543 bytes
    x264 [debug]: frame=  83 QP=42.00 NAL=0 Slice:B Poc:164 I:0    P:1836 SKIP:6302 size=2616 bytes
    x264 [debug]: frame=  84 QP=40.00 NAL=2 Slice:P Poc:176 I:234  P:3234 SKIP:4692 size=8509 bytes
    x264 [debug]: frame=  85 QP=41.00 NAL=2 Slice:B Poc:170 I:8    P:2166 SKIP:5937 size=4132 bytes
    x264 [debug]: frame=  86 QP=42.00 NAL=0 Slice:B Poc:168 I:2    P:1913 SKIP:6216 size=2660 bytes
    x264 [debug]: frame=  87 QP=42.00 NAL=0 Slice:B Poc:172 I:2    P:2145 SKIP:5989 size=3052 bytes
    x264 [debug]: frame=  88 QP=42.00 NAL=0 Slice:B Poc:174 I:2    P:1672 SKIP:6453 size=2712 bytes
    x264 [debug]: frame=  89 QP=40.00 NAL=2 Slice:P Poc:184 I:225  P:3254 SKIP:4681 size=8169 bytes
    x264 [debug]: frame=  90 QP=41.00 NAL=2 Slice:B Poc:180 I:12   P:2533 SKIP:5581 size=3852 bytes
    x264 [debug]: frame=  91 QP=42.00 NAL=0 Slice:B Poc:178 I:1    P:2129 SKIP:6016 size=2735 bytes
    x264 [debug]: frame=  92 QP=42.00 NAL=0 Slice:B Poc:182 I:1    P:2171 SKIP:5963 size=2587 bytes
    x264 [debug]: frame=  93 QP=40.00 NAL=2 Slice:P Poc:190 I:192  P:3118 SKIP:4850 size=8099 bytes
    x264 [debug]: frame=  94 QP=41.00 NAL=2 Slice:B Poc:186 I:4    P:2132 SKIP:5998 size=3378 bytes
    x264 [debug]: frame=  95 QP=42.00 NAL=0 Slice:B Poc:188 I:3    P:2193 SKIP:5941 size=2698 bytes
    x264 [debug]: frame=  96 QP=40.00 NAL=2 Slice:P Poc:198 I:229  P:3258 SKIP:4673 size=9081 bytes
    x264 [debug]: frame=  97 QP=41.00 NAL=2 Slice:B Poc:194 I:16   P:2470 SKIP:5619 size=4312 bytes
    x264 [debug]: frame=  98 QP=42.00 NAL=0 Slice:B Poc:192 I:1    P:2174 SKIP:5962 size=2805 bytes
    x264 [debug]: frame=  99 QP=42.00 NAL=0 Slice:B Poc:196 I:1    P:2101 SKIP:6030 size=2887 bytes
    x264 [info]: frame I:1     Avg QP:37.00  size: 55240
    x264 [info]: frame P:24    Avg QP:40.00  size:  7961
    x264 [info]: frame B:75    Avg QP:41.68  size:  2757
    x264 [info]: consecutive B-frames:  1.0%  0.0% 15.0% 52.0% 20.0% 12.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%
    x264 [info]: mb I  I16..4: 53.5%  0.0% 46.5%
    x264 [info]: mb P  I16..4:  1.7%  0.0%  0.8%  P16..4: 33.2%  2.6%  4.1%  0.0%  0.0%    skip:57.7%
    x264 [info]: mb B  I16..4:  0.1%  0.0%  0.0%  B16..8: 23.8%  1.4%  0.2%  direct: 0.4%  skip:74.2%  L0:38.2% L1:61.0% BI: 0.8%
    x264 [info]: direct mvs  spatial:96.0% temporal:4.0%
    x264 [info]: coded y,uvDC,uvAC intra: 43.4% 39.7% 13.0% inter: 1.2% 1.3% 0.0%
    x264 [info]: i16 v,h,dc,p: 62% 24%  5%  9%
    x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30%  7% 16%  6%  8%  9%  7%  7% 10%
    x264 [info]: i8c dc,h,v,p: 42% 27% 23%  8%
    x264 [info]: Weighted P-Frames: Y:0.0% UV:0.0%
    x264 [info]: ref P L0: 50.0% 23.4% 14.2%  3.0%  2.0%  2.4%  1.4%  0.6%  0.5%  0.4%  0.4%  0.4%  0.3%  0.3%  0.3%  0.1%
    x264 [info]: ref B L0: 94.8%  2.6%  1.0%  0.4%  0.3%  0.2%  0.2%  0.1%  0.1%  0.1%  0.1%  0.1%  0.0%  0.0%  0.0%
    x264 [info]: ref B L1: 99.3%  0.7%
    x264 [info]: kb/s:1812.22
    
    encoded 100 frames, 2.88 fps, 1812.22 kb/s
    general questions :

    1- I notice when I use constant bitrate option, the output bitrate it's not the same value I chose, its close to it but not exactly, is this normal?

    2- what is the good ways to compare different encoders?


    right now I'm comparing between encoders by doing this :

    first using the slowest speed option for all encoders because the hm and jm encoders are really slow , so I'm using x 264 with placebo option and vp9 without any multithreading To make the process fair, then measure the output yuv file with vqmt tool to measure psnr,msse.... and other objective measurements, I know this measurement compare between frames so I use different tools like vmaf from Netflix to compare yuv file then record the vmat mean score for each encoder, also I'm using subjective measurement to compare between output files, also compare between the output bitrate for each bitstream .

    the secont method i use the constant bitrate , trying to get the same bitrate for all encoder then using the same method above to measure

    I know this comparing is not fair and the idea is weird to you, but I'm trying to comparing between encoders here if you know any good method I can try tell me
    Quote Quote  
  2. Member
    Join Date
    Aug 2013
    Location
    Central Germany
    Search PM
    It amazes me over and over again why people with so little base knowledge of video encoding in general want to impress the world with comparisons... but well, a few remarks.
    _

    Most important factor: "Reference software" is not meant to be used for production; it is meant to be used as template to create optimized implementations from.

    An efficient and smart bitrate control is not in the focus of a reference encoder. Its only focus is demonstrating (to developers of better encoders) how the encoding works correctly, and how a correct result is created. Not an optimal result. Not an efficient kind of encoding. These are the tasks of 3rd-party encoders.
    _

    x264:

    Why different quantizer ranges? Well, x264 creates AVC, x265 creates HEVC. Different formats, different specifications. Read the specifications why.

    Why quantizers differ between different frame types (I, P, B)? Because it makes sense, due to the different nature of these frame types. Because most humans will hardly notice a slightly coarser quantization of predicted frames, but it improves the efficiency.
    _

    VPx:

    Multithreading may reduce the quality, depending on the method used, depending on whether splitting the encoder in parallel units results in limiting the scope of each unit. But after all, you may not notice the loss, especially not compared to the speed-up.
    _

    AV1:

    You quoted the wrong report (an x264 log instead of a compile log). But you can find current builds, e.g. in the AOM thread in the doom9 forum. Also you can use the media-autobuild_suite to build it yourself.

    Maybe I should attach them here just as well as my x265 builds.
    _

    General:

    Of course it is normal that the result of a "Constant Bitrate" encode is not exact: Because video encoding hardly ever produces a really constant bitrate from frame to frame (excecpt when the video is completely uncompressed). Different frame types (I, P, B) will require severely different sizes, as you can see in the logs. Bitrate control algorithms can estimate and regulate the bitrate distribution, but some difference to the target is unavoidable, because it can only tune the bitrate of coming frames after measuring the difference of previous frames; the control will always be a bit too late.

    The only valid way to compare different codecs is: Try to make them all produce results with as similar size as possible. And then look at them. Make ABX comparisons with the original and an encoded video, and rate how annoying the loss of quality appears to you.

    And if you want to know not only your own opinion, then ask hundreds of people to tell you their opinion. Like Roberto J. Amorim once did with audio encoders.
    Last edited by LigH.de; 4th Nov 2018 at 18:30.
    Quote Quote  



Similar Threads