Open jijiwawa opened 3 days ago
堆栈信息如下,初步分析是uiBitSize传入为0 导致
b8x=b8x@entry=28, b8y=b8y@entry=0, idir=idir@entry=0, flag=flag@entry=3)
at uavs3e/uAVS3lib/loopfilter.c:123
uiPositionInPic=<optimized out>) at uavs3e/uAVS3lib/loopfilter.c:178
uiPositionInPic=<optimized out>) at uavs3e/uAVS3lib/loopfilter.c:172
uiPositionInPic=<optimized out>) at uavs3e/uAVS3lib/loopfilter.c:172
uiPositionInPic=<optimized out>) at uavs3e/uAVS3lib/loopfilter.c:172
uiPositionInPic=<optimized out>) at uavs3e/uAVS3lib/loopfilter.c:172
uiPositionInPic=uiPositionInPic@entry=28) at uavs3e/uAVS3lib/loopfilter.c:172
at uavs3e/uAVS3lib/slice.c:198
at uavs3e/uAVS3lib/tools/threadpool.c:188
待测试后修复
问题现象
[root@localhost build]# ./uAVS3_gop -f ../bin/encoder_ra.cfg -p InputFile=/home/video_files/720x480_420p_10bit.yuv -p SourceWidth=720 -p SourceHeight=480 -p slice_sao_enable_Y=0 -p slice_sao_enable_Cb=0 -p slice_sao_enable_Cr=0 -p WQuant=0 -p SpeedLevel=5 -p RateControl=0 -p OutputFile=/home/test_files/out1.avs3 -p SampleBitDepth=10 -p CodingBitDepth=10 -p threads-gop=1 Parsing Configfile ../bin/encoder_ra.cfg...................................... Parsing command line string 'InputFile = /home/video_files/720x480_420p_10bit.yuv '. Parsing command line string 'SourceWidth = 720 '. Parsing command line string 'SourceHeight = 480 '. Parsing command line string 'slice_sao_enable_Y = 0 '. Parsing command line string 'slice_sao_enable_Cb = 0 '. Parsing command line string 'slice_sao_enable_Cr = 0 '. Parsing command line string 'WQuant = 0 '. Parsing command line string 'SpeedLevel = 5 '. Parsing command line string 'RateControl = 0 '. Parsing command line string 'OutputFile = /home/test_files/out1.avs3 '. Parsing command line string 'SampleBitDepth = 10 '. Parsing command line string 'CodingBitDepth = 10 '. Parsing command line string 'threads-gop = 1 '.
WPP threads of one frame: 1 (allowed 1-15) FRM threads of one frame: 1 (allowed 1-33)
Version: 1.1.9_release, SHA-1: ea36d7bcc514adbc3411625818805a9b9496f663 Total Memory: 241.93
Input YUV file : /home/video_files/720x480_420p_10bit.yuv Output AVS bitstream : /home/test_files/out1.avs3 Output YUV file :
========== Frame Info Log Start ========== Num POC T QP Bits PSNR(y,u,v) Time
Segmentation fault (core dumped)
环境信息
CPU:Kunpeng-920 OS:openEuler release 22.03 LTS gcc:gcc version 10.3.1 (GCC)
复现步骤