登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
12月28日,「开源中国源创会年终盛典」珠海站再次回归!点击免费报名参会
代码拉取完成,页面将自动刷新
开源项目
>
应用工具
>
多媒体
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
40
Star
96
Fork
27
pkuvcl
/
xavs2
代码
Issues
5
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
更新失败,请稍后重试!
Issues
/
详情
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
在Ubuntu 24.04 LTS下编译安装解码器无法使用,提示Segmentation fault。
待办的
#IAJ7D7
CyunZing
创建于
2024-08-11 13:01
系统版本:Ubuntu 24.04 LTS 在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03(真机和WSL)和Ubuntu 22.04.3 LTS(WSL)试了可以运行)。 **求那位大佬可以解答一下是什么问题导致的。** # 这是我的操作过程: ## 编译前的安装程序 ```bash apt-get install git gcc make nasm g++ -y ``` ## 1、下载xavs编码器 ```bash git clone https://gitee.com/pkuvcl/xavs2.git ``` ## 2、检查环境和编译安装davs2解码器 ```bash cd xavs2/build/linux ./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared make -j$(nproc) sudo make instlal ``` ## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下) ```text root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500 xavs2[d]: Adding cmd-line string 1: fps = 50 xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840 xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160 xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8 xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8 xavs2[d]: Adding cmd-line string 1: thread_frames = 1 xavs2[d]: Adding cmd-line string 1: thread_rows = 1 xavs2[d]: Adding cmd-line string 1: preset = 0 xavs2[d]: Adding cmd-line string 1: recon = . xavs2[d]: Adding cmd-line string 1: initial_qp = 32 xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1 xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56 xavs2[e]: Error open file . xavs2[d]: RefinedQp is on, the input QP might be changed; xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48 xavs2[d]: Input YUV file : input.yuv xavs2[d]: Output bitstream : test.avs xavs2[d]: Recon YUV file : . xavs2[d]: Total Frames : 500 xavs2[i]: -------------------------------------------------------------------------------- xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1 xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6) xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 xavs2[i]: Preset Level : 0, ultrafast xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56 xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16 xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0 xavs2[i]: Memory (Alloc) : 2480 MB xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0, FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0, NSQT:0, Fast2LevelTu:1, 2ndTrans:1, ME:2, SearchRange:57, RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff RdLevel:1, RdoqLevel:0, SAO:0, ALF:0. xavs2[i]: -------------------------------------------------------------------------------- xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ] Segmentation fault ``` ![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
系统版本:Ubuntu 24.04 LTS 在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03(真机和WSL)和Ubuntu 22.04.3 LTS(WSL)试了可以运行)。 **求那位大佬可以解答一下是什么问题导致的。** # 这是我的操作过程: ## 编译前的安装程序 ```bash apt-get install git gcc make nasm g++ -y ``` ## 1、下载xavs编码器 ```bash git clone https://gitee.com/pkuvcl/xavs2.git ``` ## 2、检查环境和编译安装davs2解码器 ```bash cd xavs2/build/linux ./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared make -j$(nproc) sudo make instlal ``` ## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下) ```text root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500 xavs2[d]: Adding cmd-line string 1: fps = 50 xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840 xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160 xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8 xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8 xavs2[d]: Adding cmd-line string 1: thread_frames = 1 xavs2[d]: Adding cmd-line string 1: thread_rows = 1 xavs2[d]: Adding cmd-line string 1: preset = 0 xavs2[d]: Adding cmd-line string 1: recon = . xavs2[d]: Adding cmd-line string 1: initial_qp = 32 xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1 xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56 xavs2[e]: Error open file . xavs2[d]: RefinedQp is on, the input QP might be changed; xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48 xavs2[d]: Input YUV file : input.yuv xavs2[d]: Output bitstream : test.avs xavs2[d]: Recon YUV file : . xavs2[d]: Total Frames : 500 xavs2[i]: -------------------------------------------------------------------------------- xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1 xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6) xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2 xavs2[i]: Preset Level : 0, ultrafast xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56 xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16 xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0 xavs2[i]: Memory (Alloc) : 2480 MB xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0, FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0, NSQT:0, Fast2LevelTu:1, 2ndTrans:1, ME:2, SearchRange:57, RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff RdLevel:1, RdoqLevel:0, SAO:0, ALF:0. xavs2[i]: -------------------------------------------------------------------------------- xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ] Segmentation fault ``` ![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
评论 (
0
)
CyunZing
创建了
任务
CyunZing
修改了
描述
原值
系统版本:Ubuntu 24.04 LTS
在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03
试了可以运行)。
**求那位大佬可以解答一下是什么问题导致的。**
# 这是我的操作过程:
## 编译前的安装程序
```bash
apt-get install git gcc make nasm g++ -y
```
## 1、下载xavs编码器
```bash
git clone https://gitee.com/pkuvcl/xavs2.git
```
## 2、检查环境和编译安装davs2解码器
```bash
cd xavs2/build/linux
./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared
make -j$(nproc)
sudo make instlal
```
## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下)
```text
root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs
xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit
xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv
xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500
xavs2[d]: Adding cmd-line string 1: fps = 50
xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840
xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160
xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: thread_frames = 1
xavs2[d]: Adding cmd-line string 1: thread_rows = 1
xavs2[d]: Adding cmd-line string 1: preset = 0
xavs2[d]: Adding cmd-line string 1: recon = .
xavs2[d]: Adding cmd-line string 1: initial_qp = 32
xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs
using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success
xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1
xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56
xavs2[e]: Error open file .
xavs2[d]: RefinedQp is on, the input QP might be changed;
xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48
xavs2[d]: Input YUV file : input.yuv
xavs2[d]: Output bitstream : test.avs
xavs2[d]: Recon YUV file : .
xavs2[d]: Total Frames : 500
xavs2[i]: --------------------------------------------------------------------------------
xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1
xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6)
xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
xavs2[i]: Preset Level : 0, ultrafast
xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56
xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps
xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16
xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0
xavs2[i]: Memory (Alloc) : 2480 MB
xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0,
FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0,
NSQT:0, Fast2LevelTu:1, 2ndTrans:1,
ME:2, SearchRange:57,
RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff
RdLevel:1, RdoqLevel:0, SAO:0, ALF:0.
xavs2[i]: --------------------------------------------------------------------------------
xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ]
Segmentation fault
```
![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
新值
系统版本:Ubuntu 24.04 LTS
在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03
(真机和WSL)和Ubuntu 23.04.3 LTS(WSL)试了可以运行)。
**求那位大佬可以解答一下是什么问题导致的。**
# 这是我的操作过程:
## 编译前的安装程序
```bash
apt-get install git gcc make nasm g++ -y
```
## 1、下载xavs编码器
```bash
git clone https://gitee.com/pkuvcl/xavs2.git
```
## 2、检查环境和编译安装davs2解码器
```bash
cd xavs2/build/linux
./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared
make -j$(nproc)
sudo make instlal
```
## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下)
```text
root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs
xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit
xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv
xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500
xavs2[d]: Adding cmd-line string 1: fps = 50
xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840
xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160
xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: thread_frames = 1
xavs2[d]: Adding cmd-line string 1: thread_rows = 1
xavs2[d]: Adding cmd-line string 1: preset = 0
xavs2[d]: Adding cmd-line string 1: recon = .
xavs2[d]: Adding cmd-line string 1: initial_qp = 32
xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs
using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success
xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1
xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56
xavs2[e]: Error open file .
xavs2[d]: RefinedQp is on, the input QP might be changed;
xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48
xavs2[d]: Input YUV file : input.yuv
xavs2[d]: Output bitstream : test.avs
xavs2[d]: Recon YUV file : .
xavs2[d]: Total Frames : 500
xavs2[i]: --------------------------------------------------------------------------------
xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1
xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6)
xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
xavs2[i]: Preset Level : 0, ultrafast
xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56
xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps
xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16
xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0
xavs2[i]: Memory (Alloc) : 2480 MB
xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0,
FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0,
NSQT:0, Fast2LevelTu:1, 2ndTrans:1,
ME:2, SearchRange:57,
RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff
RdLevel:1, RdoqLevel:0, SAO:0, ALF:0.
xavs2[i]: --------------------------------------------------------------------------------
xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ]
Segmentation fault
```
![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
CyunZing
修改了
描述
原值
系统版本:Ubuntu 24.04 LTS
在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03(真机和WSL)和Ubuntu 2
3
.04.3 LTS(WSL)试了可以运行)。
**求那位大佬可以解答一下是什么问题导致的。**
# 这是我的操作过程:
## 编译前的安装程序
```bash
apt-get install git gcc make nasm g++ -y
```
## 1、下载xavs编码器
```bash
git clone https://gitee.com/pkuvcl/xavs2.git
```
## 2、检查环境和编译安装davs2解码器
```bash
cd xavs2/build/linux
./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared
make -j$(nproc)
sudo make instlal
```
## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下)
```text
root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs
xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit
xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv
xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500
xavs2[d]: Adding cmd-line string 1: fps = 50
xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840
xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160
xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: thread_frames = 1
xavs2[d]: Adding cmd-line string 1: thread_rows = 1
xavs2[d]: Adding cmd-line string 1: preset = 0
xavs2[d]: Adding cmd-line string 1: recon = .
xavs2[d]: Adding cmd-line string 1: initial_qp = 32
xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs
using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success
xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1
xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56
xavs2[e]: Error open file .
xavs2[d]: RefinedQp is on, the input QP might be changed;
xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48
xavs2[d]: Input YUV file : input.yuv
xavs2[d]: Output bitstream : test.avs
xavs2[d]: Recon YUV file : .
xavs2[d]: Total Frames : 500
xavs2[i]: --------------------------------------------------------------------------------
xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1
xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6)
xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
xavs2[i]: Preset Level : 0, ultrafast
xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56
xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps
xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16
xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0
xavs2[i]: Memory (Alloc) : 2480 MB
xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0,
FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0,
NSQT:0, Fast2LevelTu:1, 2ndTrans:1,
ME:2, SearchRange:57,
RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff
RdLevel:1, RdoqLevel:0, SAO:0, ALF:0.
xavs2[i]: --------------------------------------------------------------------------------
xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ]
Segmentation fault
```
![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
新值
系统版本:Ubuntu 24.04 LTS
在笔记本安装桌面版和WSL子系统下都做了测试,均没有成功运行(我对比openEuler 22.03(真机和WSL)和Ubuntu 2
2
.04.3 LTS(WSL)试了可以运行)。
**求那位大佬可以解答一下是什么问题导致的。**
# 这是我的操作过程:
## 编译前的安装程序
```bash
apt-get install git gcc make nasm g++ -y
```
## 1、下载xavs编码器
```bash
git clone https://gitee.com/pkuvcl/xavs2.git
```
## 2、检查环境和编译安装davs2解码器
```bash
cd xavs2/build/linux
./configure --prefix=/usr/local/avs2 --enable-pic --enable-shared
make -j$(nproc)
sudo make instlal
```
## 3、执行测试命令,以及执行结果(已经将input.yuv复制到了xavs2/build/linux目录下)
```text
root@CyunZing:~/soft/avs2/xavs2/build/linux# ./xavs2 -p InputFile=input.yuv --FramesToBeEncoded=500 --fps=50 --SourceWidth=3840 --SourceHeight=2160 --InputSampleBitDepth=8 --SampleBitDepth=8 --thread_frames=1 --thread_rows=1 --preset=0 --recon=. --initial_qp=32 --OutputFile=test.avs
xavs2 lib loaded: version 1.3.232 eae1e8b9d1246805 8-bit
xavs2[d]: Adding cmd-line string 0: InputFile = input.yuv
xavs2[d]: Adding cmd-line string 1: FramesToBeEncoded = 500
xavs2[d]: Adding cmd-line string 1: fps = 50
xavs2[d]: Adding cmd-line string 1: SourceWidth = 3840
xavs2[d]: Adding cmd-line string 1: SourceHeight = 2160
xavs2[d]: Adding cmd-line string 1: InputSampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: SampleBitDepth = 8
xavs2[d]: Adding cmd-line string 1: thread_frames = 1
xavs2[d]: Adding cmd-line string 1: thread_rows = 1
xavs2[d]: Adding cmd-line string 1: preset = 0
xavs2[d]: Adding cmd-line string 1: recon = .
xavs2[d]: Adding cmd-line string 1: initial_qp = 32
xavs2[d]: Adding cmd-line string 1: OutputFile = test.avs
using xavs2 lib: version 1.3.232 eae1e8b9d1246805 8-bit success
xavs2[d]: IntraPeriod { Min -1 Max -1 }, BFrames 7, OpenGOP 1
xavs2[w]: IntraPeriodMax Fixed for OpenGOP => 56
xavs2[e]: Error open file .
xavs2[d]: RefinedQp is on, the input QP might be changed;
xavs2[d]: xavs2enc version : 1.3.232 eae1e8b9d1246805 2024-08-11 12:43:48
xavs2[d]: Input YUV file : input.yuv
xavs2[d]: Output bitstream : test.avs
xavs2[d]: Recon YUV file : .
xavs2[d]: Total Frames : 500
xavs2[i]: --------------------------------------------------------------------------------
xavs2[i]: Profile & Level : 0x20-0x5A, BitDepth: 8/8, size(pel): 1
xavs2[i]: Video Property : 3840x2160, 50.000 Hz (FrameRateCode: 6)
xavs2[i]: CPU Capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 AVX AVX2 FMA3 LZCNT BMI2
xavs2[i]: Preset Level : 0, ultrafast
xavs2[i]: Ref Structure : BFrames: 7; Open GOP; IntraPeriod: 50~56
xavs2[i]: Rate Control : 0; QP: 32, [20, 63]; 1.000 Mbps
xavs2[i]: Threads (Row/Frm): 1 / 1, cpu cores 16
xavs2[i]: Threads (Alloc) : 1 / 1, threadpool 0, RowContexts 0
xavs2[i]: Memory (Alloc) : 2480 MB
xavs2[i]: Enabled Tools : LCU 32, 2NxN/Nx2N:0, AMP:0, IntraInInter:0, SDIP:0,
FFrame 1, DHP:0, DMH:0, MHP:1, WSM:0,
NSQT:0, Fast2LevelTu:1, 2ndTrans:1,
ME:2, SearchRange:57,
RefinedQP:1, TDRDO:0, Algorithm: 1fff3ffbff
RdLevel:1, RdoqLevel:0, SAO:0, ALF:0.
xavs2[i]: --------------------------------------------------------------------------------
xavs2[d]: POC Type QP + Bits PsnrY PsnrU PsnrV Time [ RefList ]
Segmentation fault
```
![执行xavs2程序的结果](https://foruda.gitee.com/images/1723352219556572412/ad1e7b42_11388794.png "执行xavs2程序的结果")
展开全部操作日志
折叠全部操作日志
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (1)
标签 (4)
master
1.3
1.2
1.1
1.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
C
1
https://gitee.com/pkuvcl/xavs2.git
git@gitee.com:pkuvcl/xavs2.git
pkuvcl
xavs2
xavs2
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册