ECM-9.1 commit 419571ad decoding mismatch when AML is off
Decoding mismatch was observed for ECM-9.1 commit 419571ad when AML is off by command line. The issue could be reproduced by command: ./EncoderAppStatic -c ../cfg/encoder_randomaccess_ecm.cfg -c ../cfg/per-class/classD_randomaccess.cfg -i ../../../sequences/BasketballPass_416x240_50.y4m -v 6 -dph 1 -q 37 -f 2 --AML=0
Encoding log
VVCSoftware: ECM Encoder Version 9.1 (VTM-10.0) [Linux][GCC 12.2.0][64 bit] [SIMD=AVX2]
Warning: Y4M file info is different from input setting. Using the info from Y4M file
***************************************************************************
** WARNING: For conforming bitstreams a valid Level value must be set! **
***************************************************************************
DMVR is forcefully disabled since it has been disabled by the macro MULTI_PASS_DMVR.
Forcefully disable reordering for TMVP and non-adjacent MVP since ARMC is disabled.
Forcefully disable refined motion for ARMC since ARMC is disabled.
Forcefully disable diversity criterion for ARMC since ARMC is disabled.
Input File : ../../../sequences/BasketballPass_416x240_50.y4m
Bitstream File : str.bin
Reconstruction File : rec.yuv
Real Format : 416x240 50Hz
Internal Format : 416x240 50Hz
Sequence PSNR output : Linear average only
Hexadecimal PSNR output : Disabled
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 - 1 (2 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 : 384
Intra period : 32
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 : 32
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 : 15
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:1 MinSearchWindow:96 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:32 LFNST:1 MMVD:1 Affine:1 AffineType:1 PROF:1 SbTMVP:1 DualITree:1 IMV:1 BIO:1 LMChroma:1 HorCollocatedChroma:1 VerCollocatedChroma:0 MTS: 1(intra) 1(inter) InterMTSMaxSize: 16 SBT:1 ISP:1 SMVD:1 CompositeLTReference:0 Bcw:1 BcwFast:1 LADF:0 CIIP:1 CIIPTIMD:1 Geo:1 AllowDisFracMMVD:1 AffineAmvr:1 AffineAmvrEncOpt:1 AffineAmvp: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:6) MRL:1 MIP:1 EncDbOpt:1
FAST TOOL CFG: LCTUFast:1 FastMrg:1 PBIntraFast:1 IMV4PelFast:1 MTSMaxCand: 4(intra) 4(inter) ISPFast:0 FastLFNST:0 AMaxBT:1 E0023FastEnc:1 ContentBasedFastQtbt:0 UseNonLinearAlfLuma:1 UseNonLinearAlfChroma:1 MaxNumAlfAlternativesChroma:8 FastMIP:0 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 DMVD:1 EnableTMTools:1 ( TMAmvp:1 TMMrg:1 GPMTM:1 OBMCTM:1 CIIPTM:2 TmvpNmvpAML:0 TMMMVD:1 AML:0 ArmcRefinedMotion:0 ARL:1 MvdPred:1 AltGPMSplitModeCode:1 ) DQ:2 SignPred:8 Log2SignPredArea:4 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 @ Sun Aug 6 05:12:24 2023
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 34 ) 28072 bits [Y 36.0116 dB U 39.7233 dB V 39.7165 dB] [ET 206 ] [L0] [L1] [MD5:34fc2f6ab60f3a5a06a7a786ae7c5ed9,32bb8e213f6d60611b8d71aa7528940f,dec96f0af9140f7ae123be1b7dfc2b00]
POC 1 LId: 0 TId: 5 ( STSA, B-SLICE, QP 46 ) 560 bits [Y 34.0691 dB U 39.5577 dB V 38.5467 dB] [ET 18 ] [L0 0c] [L1 0] [MD5:9e6ce4fda2a61673a7d50d750756d560,07af056368eb72678d746f0c0947eca1,98c0c96182c4f7e348fa5e999e7a6783]
Memory Usage: VmPeak= 4355780 KB ( 4.2 GiB ), VmHWM= 2915308 KB ( 2.8 GiB )
LayerId 0
SUMMARY --------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
2 a 715.8000 35.0403 39.6405 39.1316 35.9728
I Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
1 i 1403.6000 36.0116 39.7233 39.7165 36.9343
P Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
0 p -nan -nan -nan -nan -nan
B Slices--------------------------------------------------------
Total Frames | Bitrate Y-PSNR U-PSNR V-PSNR YUV-PSNR
1 b 28.0000 34.0691 39.5577 38.5467 35.1861
RVM: 0.000
Bytes written to file: 3693 (738.600 kbps)
finished @ Sun Aug 6 05:16:09 2023
Total Time: 224.978 sec. [user] 225.008 sec. [elapsed]
Decoding log
VVCSoftware: ECM Decoder Version 9.1 (VTM-10.0) [Linux][GCC 12.2.0][64 bit] [SIMD=AVX2]
Warning: Level set to none, invalid or unknown value
POC 0 LId: 0 TId: 0 ( IDR_N_LP, I-SLICE, QP 34 ) [DT 0.062] [L0] [L1] [MD5:34fc2f6ab60f3a5a06a7a786ae7c5ed9,32bb8e213f6d60611b8d71aa7528940f,dec96f0af9140f7ae123be1b7dfc2b00,(OK)]
Warning: Level set to none, invalid or unknown value
POC 1 LId: 0 TId: 5 ( STSA, B-SLICE, QP 46 ) [DT 0.004] [L0 0c] [L1 0] [MD5:555d3753652f5f0bac40c1c41fe594d4,1f6de782c7f80b2e5f6e07147dc08e5b,7505dea4aef9321dc8a401485b096725,(***ERROR***)] [rxMD5:9e6ce4fda2a61673a7d50d750756d560,07af056368eb72678d746f0c0947eca1,98c0c96182c4f7e348fa5e999e7a6783]
***ERROR*** A decoding mismatch occured: signalled md5sum does not match
Total Time: 0.098 sec.
Edited by Xiang Li