Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
yushan107 opened this issue Oct 17, 2024 · 3 comments

Comments

@yushan107
Copy link

yushan107 commented Oct 17, 2024

问题现象

[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: 915c6ec
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
Copy link
Collaborator

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

@jijiwawa
Copy link

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

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

@dujiangpku
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants