OpenVisualCloud / SVT-HEVC

SVT HEVC encoder. Scalable Video Technology (SVT) is a software-based video coding technology that is highly optimized for Intel® Xeon® processors. Using the open source SVT-HEVC encoder, it is possible to spread video encoding processing across multiple Intel® Xeon® processors to achieve a real advantage of processing efficiency.
Other
519 stars 169 forks source link

signal SIGFPE would happen when setting VBV options under CQP rate control mode. #401

Closed Austin-Hu closed 5 years ago

Austin-Hu commented 5 years ago

When encoding with either "-vbv-maxrate" or "-vbv-bufsize" set under CQP rate control mode (-rc 0), we would get such encoding crash:

Thread 151 "SVT-HEVC" received signal SIGFPE, Arithmetic exception. [Switching to Thread 0x7ffaa7bf0700 (LWP 6560)] 0x00007ffff78a505a in predictBits (sequenceControlSetPtr=0x555556da6ad0, sequenceControlSetPtr=0x555556da6ad0, encodeContextPtr=0x555555768860, qp=32, hlRateControlHistogramPtrTemp=0x555555e3fe70) at /home/austin/VCD/SVT-HEVC/Source/Lib/Codec/EbRateControlProcess.c:2225 2225 totalBits = totalBits * (EB_U64)areaInPixel / (numOfFullLcus << 12); (gdb) bt

0 0x00007ffff78a505a in predictBits (sequenceControlSetPtr=0x555556da6ad0, sequenceControlSetPtr=0x555556da6ad0, encodeContextPtr=0x555555768860, qp=32, hlRateControlHistogramPtrTemp=0x555555e3fe70)

at /home/austin/VCD/SVT-HEVC/Source/Lib/Codec/EbRateControlProcess.c:2225

1 Vbv_Buf_Calc (pictureControlSetPtr=0x5556044ff640, pictureControlSetPtr=0x5556044ff640, encodeContextPtr=0x555555768860, sequenceControlSetPtr=0x555556da6ad0) at /home/austin/VCD/SVT-HEVC/Source/Lib/Codec/EbRateControlProcess.c:2264

2 RateControlKernel (inputPtr=) at /home/austin/VCD/SVT-HEVC/Source/Lib/Codec/EbRateControlProcess.c:2604

3 0x00007ffff76396db in start_thread (arg=0x7ffaa7bf0700) at pthread_create.c:463

4 0x00007ffff736288f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95