Opened 9 months ago
#1636 new defect
multilayer coding fails when coding layers with different number of frames
Reported by: | pmeinicke | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | VTM | Version: | VTM-23.0 |
Keywords: | Cc: | ksuehring, XiangLi, fbossen, jvet@… |
Description
Coding with profile multilayer_main_10 and 2 layers.
When using the same number of frames for every layer the coder works. For example, using an input file with 100 frames and setting --FramesToBeEncoded for every layer to 50.
When setting --FramesToBeEncoded to different values for every layer, for example, using an input file with 100 frames and setting the value of --FramesToBeEncoded to 40 and 60, the encoder breaks before printing the summary to the log-file and puts out following error:
terminate called after throwing an instance of 'Exception' what(): ERROR: In function "printOutSummary" in /[...]/VVCSoftware_VTM23.0/source/Lib/EncoderLib/EncGOP.cpp:4616: Unspecified error
Used following call for the encoder:
EncoderAppStatic --MultiLayerEnabledFlag=1 -c encoder_lowdelay_multilayer.cfg -c two_layers_independent.cfg -b [...].266 -o [...].yuv -l0 --InputFile="[...]" -l0 --InputBitDepth=10 -l0 --InputChromaFormat=420 -l0 --FrameRate=100 -l0 --FramesToBeEncoded=40 -l0 --SourceWidth=128 -l0 --SourceHeight=128 -l0 -q 2 -l1 --InputFile="[...]" -l1 --InputBitDepth=10 -l1 --InputChromaFormat=420 -l1 --FrameRate=100 -l1 --FramesToBeEncoded=60 -l1 --FrameSkip=40 -l1 --SourceWidth=128 -l1 --SourceHeight=128 -l1 -q 2 --Level=5.2
"encoder_lowdelay_multilayer.cfg" is a custom cfg-file for simple GOP structure with only first frame as Intra-coded and rest of the sequence as Inter-coded P-slices. "two_layers_independent.cfg" is the VTM standard cfg-file.
custom cfg-file for simple GOP structure with only first frame as intra-coded and rest of the sequence as inter-coded P-slices