Skip to content

Crash in OSBA encoder with ltv signal

Running

./IVAS_cod -ism_sba 1 2 scripts/testv/ltvISM1.csv 24400 48 ltv48_OSBA_1ISM_HOA2.wav bit

results in (clipped):

Internal fatal error: Error: Too low bitrate (13200 bps) for ACELP@16k in frame 860. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Error: Too low bitrate (13200 bps) for ACELP@16k in frame 860. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Bitstream write size mismatch! Actual bitrate: 24300 vs. Reference bitrate: 24400


In function: write_indices_ivas(), lib_com/bitstream.c:1752

Warning: The maximum number of indices 200 has been exceeded in frame 861! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().

Internal fatal error: Error: Too low bitrate (7300 bps) for ACELP@16k in frame 861. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Indice ID = 1089 with value 65535 exceeds the range of 8 bits (frame 861) !


In function: push_indice(), lib_com/bitstream.c:929


Internal fatal error: Bitstream write size mismatch! Actual bitrate: 36700 vs. Reference bitrate: 24400


In function: write_indices_ivas(), lib_com/bitstream.c:1752

Warning: The maximum number of indices 300 has been exceeded in frame 862! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().

Internal fatal error: Error: Too low bitrate (50 bps) for ACELP@16k in frame 862. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Indice ID = 1089 with value 65535 exceeds the range of 8 bits (frame 862) !


In function: push_indice(), lib_com/bitstream.c:929


Internal fatal error: Bitstream write size mismatch! Actual bitrate: 48600 vs. Reference bitrate: 24400


In function: write_indices_ivas(), lib_com/bitstream.c:1752

Warning: The maximum number of indices 400 has been exceeded in frame 863! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().
Warning: The maximum number of indices 500 has been exceeded in frame 863! Increase the limits in get_ivas_max_num_indices() or get_max_num_indices_metadata().

Internal fatal error: Error: Too low bitrate (-6900 bps) for ACELP@16k in frame 863. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Indice ID = 1089 with value 65535 exceeds the range of 8 bits (frame 863) !


In function: push_indice(), lib_com/bitstream.c:929


Internal fatal error: Bitstream write size mismatch! Actual bitrate: 60200 vs. Reference bitrate: 24400


In function: write_indices_ivas(), lib_com/bitstream.c:1752


Internal fatal error: Error: Too low bitrate (-14500 bps) for ACELP@16k in frame 864. Exiting!


In function: config_acelp1(), lib_com/bits_alloc.c:610


Internal fatal error: Indice ID = 1089 with value 65535 exceeds the range of 8 bits (frame 864) !


In function: push_indice(), lib_com/bitstream.c:929


Internal fatal error: Bitstream write size mismatch! Actual bitrate: 72450 vs. Reference bitrate: 24400

Get the input file from https://forge.3gpp.org/rep/ivas-codec-pc/ivas-pc-testfiles/-/tree/longer-testv-on-runners?ref_type=heads.