Skip to content

Crash in ISM 3 bitrate switching

Running

./IVAS_cod -ism 3 NULL NULL NULL -max_band fb scripts/switchPaths/sw_32k_384k.bin 48 ivas-pc-testfiles/ltv48_3ISM.wav bit

results in (abbreviated)

==================================================================================================
 IVAS Codec Baseline
 
 Based on EVS Codec (Floating Point) 3GPP TS26.443 Nov 04, 2021,
 Version 12.14.0 / 13.10.0 / 14.6.0 / 15.4.0 / 16.3.0
==================================================================================================

Object 1 input metadata: (null)
Object 2 input metadata: (null)
Object 3 input metadata: (null)
Input audio file:       /local/knj/ivas-pc-testfiles/ltv48_3ISM.wav
Output bitstream file:  /local/knj/ivas-codec2/out/enc/ltv48_3ISM_ISM3_ball_fb_rs.192

Bitrate switching file: /local/knj/ivas-codec2/scripts/switchPaths/sw_32k_384k.bin
Max. encoded bandwidth: FB
Input sampling rate:    48000 Hz
Bitrate:                48.00 kbps
IVAS format:            ISM (3 streams)

------ Running the encoder ------


Internal fatal error: Error: Too high bitrate (127350 bps) for ACELP@12k8 in frame 10. Exiting!


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


Internal fatal error: Error: Too high bitrate (127350 bps) for ACELP@12k8 in frame 10. Exiting!


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


Internal fatal error: Error: Too high bitrate (127300 bps) for ACELP@12k8 in frame 10. Exiting!


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

...


Internal fatal error: Indice ID = 22 with value 63207 exceeds the range of 15 bits (frame 251) !


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

fish: “/local/knj/ivas-codec2/IVAS_cod…” terminated by signal SIGSEGV (Address boundary error)