uavs3 / uavs3e

AVS3 encoder which supports AVS3-P2 baseline profile.
Other
135 stars 61 forks source link

RealTime分支使用7682X4320片源,参数设置thread_wpp>=1&&lcurowsinslice>0时多次运行结果不一致。 #55

Open yushan107 opened 4 days ago

yushan107 commented 4 days ago

问题现象

[root@localhost 10bit]#./uAVS3_gop -f /data/uavs3e/encoder_ra.cfg -p InputFile=/home/video_files/7680X4320_10bit.yuv -p SourceWidth=7680 -p SourceHeight=4320 -p threads-wpp=16 -p LcuRowInSlice=16 -p FramesToBeEncoded=16 -p SpeedLevel=7 -p RateControl=0 -p OutputFile=/home/test_files/out2.avs3 运行第一次

Freq. for encoded bitstream : 24 Image format : 7680x4320 Total encoding time for the seq. : 15.059 sec ( 1.06 fps) ------------------ Average data all frames --------------------------------- SNR Y(dB) : 18.99405 SNR U(dB) : 27.53642 SNR V(dB) : 28.17861 Total bits : 937847720 Bit rate (kbit/s) @ 24.00 Hz : 1406771.58

运行第二次

Freq. for encoded bitstream : 24 Image format : 7680x4320 Total encoding time for the seq. : 15.055 sec ( 1.06 fps) ------------------ Average data all frames --------------------------------- SNR Y(dB) : 19.01501 SNR U(dB) : 27.53377 SNR V(dB) : 28.17981 Total bits : 938203072 Bit rate (kbit/s) @ 24.00 Hz : 1407304.61

运行第三次

Freq. for encoded bitstream : 24 Image format : 7680x4320 Total encoding time for the seq. : 5.352 sec ( 2.99 fps) ------------------ Average data all frames --------------------------------- SNR Y(dB) : 38.28187 SNR U(dB) : 40.46953 SNR V(dB) : 42.73571 Total bits : 52770592 Bit rate (kbit/s) @ 24.00 Hz : 79155.89


Version: 1.1.9_release, SHA-1: https://github.com/uavs3/uavs3e/commit/915c6ec81863e7830e9e5004abf82cefb8fd9fd7 Total Memory: 241.93

环境信息 CPU:Kunpeng-920 OS:openEuler release 22.03 LTS gcc:gcc version 10.3.1 (GCC)

git clone https://github.com/uavs3/uavs3e.git -b RealTime
cd uavs3e/
git checkout 915c6ec
mkdir build
cd build/
cmake -DCOMPILE_10BIT=1 ..
make -j
//执行三次一下命令,运行结果均不一致
./uAVS3_gop -f /data/uavs3e/encoder_ra.cfg  -p InputFile=/home/video_files/7680X4320_10bit.yuv -p SourceWidth=7680 -p SourceHeight=4320 -p threads-wpp=16 -p LcuRowInSlice=16 -p FramesToBeEncoded=16 -p SpeedLevel=7 -p RateControl=0 -p OutputFile=/home/test_files/out2.avs3
dujiangpku commented 2 days ago

LcuRowInSlice建议使用默认配置,可解决该问题

jijiwawa commented 1 day ago

LcuRowInSlice建议使用默认配置,可解决该问题

LcuRowInSlice参数当前是不是不可用呢?

dujiangpku commented 7 hours ago

由于该参数无法保证多线程下结果一致,建议不要使用该参数