ECM-11.0 decoding mismatch when DualITree is off
Decoding mismatch was observed for ECM-11.0 software when DualITree is off by command line. The issue could be reproduced by command: ./EncoderAppStatic -c encoder_intra_ecm.cfg -c RaceHorses.cfg -i RaceHorses_416x240_30.yuv -fs 0 -f 40 -q 37 -ip 1 --DualITree=0 --PrintHexPSNR=1 -dph 1 -v 6
Encoding log:
VVCSoftware: ECM Encoder Version 11.0 (VTM-10.0) [Windows][VS 1936][64 bit] [SIMD=AVX2]
GPM-TM mode is forcefully disabled since GPM is disabled.
CIIP-TM mode is forcefully disabled since CIIP is disabled.
CIIP-TIMD mode is forcefully disabled since CIIP is disabled.
Input File : RaceHorses_416x240_30.yuv
Bitstream File : str.bin
Reconstruction File : rec.yuv
Real Format : 416x240 3.75Hz
Internal Format : 416x240 3.75Hz
Sequence PSNR output : Linear average only
Hexadecimal PSNR output : Enabled
Sequence MSE output : Disabled
Frame MSE output : Disabled
MS-SSIM output : Disabled
Cabac-zero-word-padding : Disabled
Frame/Field : Frame based coding
Frame index : 0 - 4 (5 frames)
Profile : main_10
CTU size / min CU size : 128 / 4
Max MTT Hierarchy Depth in B-slices by temporal ID: 333333
subpicture info present flag : Disabled
subpicture ID present flag : Disabled
Max TB size : 128
Motion search range : 64
Intra period : 1
Decoding refresh type : 1
DRAP period : 0
QP : 37
Max dQP signaling subdiv : 0
Cb QP Offset (dual tree) : 0 (0)
Cr QP Offset (dual tree) : 0 (0)
QP adaptation : 0 (range=0)
GOP size : 1
Input bit depth : (Y:8, C:8)
MSB-extended bit depth : (Y:8, C:8)
Internal bit depth : (Y:10, C:10)
Intra reference smoothing : Enabled
cu_chroma_qp_offset_subdiv : -1
extended_precision_processing_flag : Disabled
transform_skip_rotation_enabled_flag : Disabled
transform_skip_context_enabled_flag : Disabled
high_precision_offsets_enabled_flag : Disabled
persistent_rice_adaptation_enabled_flag: Disabled
cabac_bypass_alignment_enabled_flag : Disabled
Cost function: : Lossy coding (default)
RateControl : 0
WeightedPredMethod : 0
GDREnabled : 0
Intra TMP: 1
Fast Intra TMP: 1
Max CU size of TMP: 64
dynamic search range with fixed comparison per pixel:
searchRangeWidth = 5*Width
searchRangeHeight = 5*Heigh
Max Num Merge Candidates : 10
Max Num BM Merge Candidates : 4
Max Num Affine Merge Candidates : 16
Max Num Geo Merge Candidates : 10
Max Num MHP Merge Candidates : 10
Max Num IBC Merge Candidates : 6
TOOL CFG: IBD:1 HAD:1 RDQ:1 RDQTS:1 RDpenalty:0 LQP:0 SQP:0 ASR:0 MinSearchWindow:8 RestrictMESampling:0 FEN:1 ECU:0 FDM:1 CFM:0 ESD:0 TransformSkip:1 TransformSkipFast:1 TransformSkipLog2MaxSize:5 ChromaTS:1 BDPCM:0 Tiles: 1x1 Slices: 1 MCTS:0 SAO:1 ALF:1 CCALF:1 WPP:0 WPB:0 PME:2 WaveFrontSynchro:0 WaveFrontSubstreams:1 ScalingList:0 TMVPMode:1 SignBitHidingFlag:0 RecalQP:0
TOOL CFG: GOP:1 LFNST:1 MMVD:1 Affine:1 AffineType:1 PROF:0 SbTMVP:1 DualITree:0 IMV:1 BIO:0 LMChroma:1 HorCollocatedChroma:1 VerCollocatedChroma:0 MTS: 1(intra) 0(inter) SBT:1 ISP:1 SMVD:0 CompositeLTReference:0 Bcw:0 BcwFast:0 LADF:0 CIIP:0 CIIPTIMD:0 Geo:0 AllowDisFracMMVD:1 AffineAmvr:0 AffineAmvrEncOpt:0 AffineAmvp:1 AffineTM:1 DMVR:0 AffineParameterRefinement:1 MmvdDisNum:6 JointCbCr:1 ACT:0 PLT:0 IBC:1 IBCMBVD:1 IBCMBVDAdaptive:0 IBCFrac:1 RRIBC:0 IBCMerge:1 IBCCIIP:0 IBCGPM:0 IBCLIC:1 IBCFilter:0 IBCBiPred:1 IBCNonAdjCand:0 HashME:0 WrapAround:0 VirtualBoundariesEnabledFlag:0 VirtualBoundariesPresentInSPSFlag:1 vertical virtual boundaries:[ ] horizontal virtual boundaries:[ ] Reshape:1 (Signal:SDR Opt:0 CSoffset:2) MRL:1 MIP:1 EncDbOpt:0
FAST TOOL CFG: LCTUFast:1 FastMrg:1 PBIntraFast:1 IMV4PelFast:1 MTSMaxCand: 4(intra) 4(inter) ISPFast:1 FastLFNST:1 AMaxBT:1 E0023FastEnc:1 ContentBasedFastQtbt:0 UseNonLinearAlfLuma:1 UseNonLinearAlfChroma:1 MaxNumAlfAlternativesChroma:8 FastMIP:1 NumSplitThreads:1 NumWppThreads:1+0 EnsureWppBitEqual:0 RPR:0 TemporalFilter:4/4
ECM TOOL CFG: DIMD:1 CCCM:2 BvgCCCM:1 EnableTMnoninterTools:1 ( BvdPred:1 DBV:1 BvpCluster:0 IntraTMP:1 IntraTmpMaxSize:64 FastIntraTMP:1 TIMD:1 SGPM:1 SGPMnoBlend:0 TMRL:1 MPMsorting:1 TM-IBC:0 CCPmerge:1 ) AffineMMVD:1 OBMC:1 AdditionalInterHyps:2 (2 weights,4 ref frames,1 try) LIC:1 FastPicLevelLIC:1 InterCCCM:1 InterCcpMerge:1 DMVD:1 EnableTMTools:1 ( TMAmvp:1 TMMrg:1 GPMTM:0 OBMCTM:1 CIIPTM:0 TmvpNmvpAML:1 TMMMVD:1 AML:1 ArmcRefinedMotion:1 ARL:1 MvdPred:1 AltGPMSplitModeCode:1 ) DQ:2 SignPred:8 Log2SignPredArea:2 CCSAO:1 BIF:1 BIFStrength:1 BIFQPOffset:0 ChromaBIF:1 ChromaBIFStrength:1 ChromaBIFQPOffset:0 TempCABAC:1
ECM ENC CFG: CTU:128 MaxTU:128 MaxNumTUs:1 TTFastSkip:31 TTFastSkipThr:1.075 NumFullRDMrg:4 BIM:0
Input ChromaFormatIDC = 4:2:0
Output (internal) ChromaFormatIDC = 4:2:0
Non-environment-variable-controlled macros set as follows:
RExt__DECODER_DEBUG_BIT_STATISTICS = 0
RExt__HIGH_BIT_DEPTH_SUPPORT = 0
RExt__HIGH_PRECISION_FORWARD_TRANSFORM = 0
ME_ENABLE_ROUNDING_OF_MVS = 1
started @ Fri Jan 5 16:50:51 2024
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 37 ) 30728 bits [Y 31.9038 dB U 35.7114 dB V 35.9278 dB] [xY 403fe75f0b4ee3f8 xU 4041db0e663e1259 xV 4041f6c0938603a7] [ET 156 ] [L0] [L1] [MD5:72ddc7b7e727590b57a52c5e63876e56,367a952d47a7a7043551ee1ab497eb67,869a0d60d94dc9d73770aafcda0e8543]
POC 1 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) 29176 bits [Y 32.0262 dB U 35.4752 dB V 35.8309 dB] [xY 4040035a1384944a xU 4041bcd44f2006e5 xV 4041ea5bb18307dd] [ET 149 ] [L0] [L1] [MD5:9aad745698aca89d801a58c83b0e6794,466c9a6fe3afb3f2b8cdcf3c99c323a7,85f144a65cb95b1175257c05315f20ab]
POC 2 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) 29376 bits [Y 32.2450 dB U 35.4359 dB V 35.7223 dB] [xY 40401f5d73e17f16 xU 4041b7cc94f2864c xV 4041dc7441a0b5c1] [ET 149 ] [L0] [L1] [MD5:3b2bb1f10c61a521d6e693ca39fbea3b,bac63f3e136f808f3d4f995fb09cbe70,5d565bda356baa57bd47cf91395d5ee8]
POC 3 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) 28240 bits [Y 31.9392 dB U 36.1215 dB V 36.0025 dB] [xY 403ff06ca46f42aa xU 40420f8e58b963cc xV 404200517d726e93] [ET 146 ] [L0] [L1] [MD5:2bc4a6d7dabe1baf6c55ba5eddbc8981,ddbcd455e207bcf1c384253a15b2f5b7,5e4ad0bcf0c9a850e1125a83307a7046]
POC 4 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) 25800 bits [Y 31.7657 dB U 36.2759 dB V 36.2165 dB] [xY 403fc40753849bb8 xU 4042234f266fb83e xV 40421bb60c7f99cb] [ET 142 ] [L0] [L1] [MD5:8932172972a657f8b597f2d78b5e4d98,9f42decc170099e0408b899cebf78b2f,ef06ca96d48cc2f37a3c1d23fec3c2bd]
LayerId 0
SUMMARY --------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR xY-PSNR xU-PSNR xV-PSNR
5 a 107.4900 31.9760 35.8040 35.9400 32.9272 403ff9da039c9505 4041e6e8f51858b8 4041f8519cebf521
I Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR xY-PSNR xU-PSNR xV-PSNR
5 i 107.4900 31.9760 35.8040 35.9400 32.9272 403ff9da039c9505 4041e6e8f51858b8 4041f8519cebf521
P Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR xY-PSNR xU-PSNR xV-PSNR
0 p -nan(ind) -nan(ind) -nan(ind) -nan(ind) -nan(ind) fff8000000000000 fff8000000000000 fff8000000000000
B Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR xY-PSNR xU-PSNR xV-PSNR
0 b -nan(ind) -nan(ind) -nan(ind) -nan(ind) -nan(ind) fff8000000000000 fff8000000000000 fff8000000000000
RVM: 0.000
Bytes written to file: 18200 (109.200 kbps)
finished @ Fri Jan 5 17:03:15 2024
Total Time: 743.914 sec. [user] 743.914 sec. [elapsed]
Decoding log:
VVCSoftware: ECM Decoder Version 11.0 (VTM-10.0) [Windows][VS 1936][64 bit] [SIMD=AVX2]
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 37 ) [DT 0.041] [L0] [L1] [MD5:72ddc7b7e727590b57a52c5e63876e56,367a952d47a7a7043551ee1ab497eb67,869a0d60d94dc9d73770aafcda0e8543,(OK)]
POC 1 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) [DT 0.037] [L0] [L1] [MD5:9aad745698aca89d801a58c83b0e6794,466c9a6fe3afb3f2b8cdcf3c99c323a7,85f144a65cb95b1175257c05315f20ab,(OK)]
POC 2 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) [DT 0.044] [L0] [L1] [MD5:3b2bb1f10c61a521d6e693ca39fbea3b,bac63f3e136f808f3d4f995fb09cbe70,5d565bda356baa57bd47cf91395d5ee8,(OK)]
POC 3 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) [DT 0.032] [L0] [L1] [MD5:2bc4a6d7dabe1baf6c55ba5eddbc8981,ddbcd455e207bcf1c384253a15b2f5b7,5e4ad0bcf0c9a850e1125a83307a7046,(OK)]
POC 4 LId: 0 TId: 0 ( CRA, I-SLICE, QP 37 ) [DT 0.031] [L0] [L1] [MD5:8932172972a657f8b597f2d78b5e4d98,d0f1d1d50db6e6fd16cad88c8e61fcbc,d45563dfc8bc28460bf605e54e16ad01,(***ERROR***)] [rxMD5:8932172972a657f8b597f2d78b5e4d98,9f42decc170099e0408b899cebf78b2f,ef06ca96d48cc2f37a3c1d23fec3c2bd]
***ERROR*** A decoding mismatch occured: signalled md5sum does not match
Total Time: 0.229 sec.