Skip to content

Commit 18b8830

Browse files
committed
update:depend library and install shell
update:document and CHANGELOG
1 parent 6e9b353 commit 18b8830

10 files changed

Lines changed: 71 additions & 17 deletions

AVCodec_ENVInstall.sh

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,11 @@
22
clear
33
m_EnvRelease=0
44
#检查
5-
function InstallEnv_CheckRoot()
6-
{
7-
echo -e "\033[34m检查你的执行权限中。。。\033[0m"
8-
ROOT_UID=0
9-
if [ "$UID" -eq "$ROOT_UID" ] ; then
10-
echo -e "\033[32m检查到是ROOT权限执行,继续执行下一步。。。\033[0m"
11-
else
12-
echo -e "\033[31m检查到你不是ROOT权限,请切换到ROOT权限执行。。。 \033[0m"
13-
exit 0
14-
fi
15-
}
5+
166
function InstallEnv_CheckSystem()
177
{
8+
echo -e "\033[94m 检测系统环境...\033[0m"
9+
1810
if [ $(uname) == "Linux" ] ; then
1911
if [ -f /etc/redhat-release ]; then
2012
if grep -Eq "CentOS" /etc/redhat-release; then
@@ -47,34 +39,51 @@ function InstallEnv_CheckSystem()
4739
echo -e "不支持的发行版本,无法继续"
4840
exit
4941
fi
42+
echo -e "\033[94m系统环境为:${m_EnvCurrent}...\033[0m"
5043
}
5144
#安装框架
5245
function InstallEnv_XEngine()
5346
{
47+
echo -e "\033[94m安装环境框架...\033[0m"
5448
cd XEngine_Package
5549

5650
if [ "$m_EnvRelease" -eq "1" ] ; then
5751
rm -rf ./XEngine_RockyLinux_10_x86-64
5852
unzip ./XEngine_RockyLinux_10_x86-64.zip -d ./XEngine_RockyLinux_10_x86-64
5953
cd ./XEngine_RockyLinux_10_x86-64
54+
55+
chmod 777 ./XEngine_LINEnv.sh
56+
./XEngine_LINEnv.sh -b -i 6
57+
./XEngine_LINEnv.sh -i 3
6058
elif [ "$m_EnvRelease" -eq "2" ] ; then
6159
rm -rf ./XEngine_UBuntu_24.04_x86-64
6260
unzip ./XEngine_UBuntu_24.04_x86-64.zip -d ./XEngine_UBuntu_24.04_x86-64
6361
cd ./XEngine_UBuntu_24.04_x86-64
62+
63+
chmod 777 ./XEngine_LINEnv.sh
64+
./XEngine_LINEnv.sh -b -i 6
65+
./XEngine_LINEnv.sh -i 3
6466
elif [ "$m_EnvRelease" -eq "3" ] ; then
65-
echo -e "not support"
67+
rm -rf ./XEngine_Mac_Arm64
68+
unzip ./XEngine_Mac_Arm64.zip -d ./XEngine_Mac_Arm64
69+
cd ./XEngine_Mac_Arm64
70+
71+
chmod 777 ./XEngine_LINEnv.sh
72+
./XEngine_LINEnv.sh -i 0
73+
sudo mkdir -p /usr/local/include
74+
sudo mkdir -p /usr/local/lib
75+
sudo cp -rf ./XEngine_Include /usr/local/include
76+
sudo find ./XEngine_Mac -name "*.dylib" -exec cp {} /usr/local/lib \;
6677
else
6778
echo -e "not support"
6879
fi
6980

70-
chmod 777 ./XEngine_LINEnv.sh
71-
./XEngine_LINEnv.sh -b -i 6
72-
./XEngine_LINEnv.sh -i 3
7381
cd ..
7482
}
7583
#安装tsduck
7684
function InstallEnv_Execution()
7785
{
86+
echo -e "\033[94m安装运行环境完毕。。。done...\033[0m"
7887
if [ "$m_EnvRelease" -eq "1" ] ; then
7988
dnf remove sdl2-compat -y
8089
dnf install SDL2-devel opencv-devel ffmpeg-devel --allowerasing -y
@@ -84,13 +93,12 @@ function InstallEnv_Execution()
8493
dpkg -i ./tsduck.ubuntu24_amd64.deb ./tsduck-dev.ubuntu24_amd64.deb
8594
apt -f install -y
8695
elif [ "$m_EnvRelease" -eq "3" ] ; then
87-
echo -e "not support"
96+
brew install openssl@3 opencv sdl2 tsduck
8897
else
8998
echo -e "not support"
9099
fi
91100
}
92101

93-
InstallEnv_CheckRoot
94102
InstallEnv_CheckSystem
95103
InstallEnv_XEngine
96104
InstallEnv_Execution

CHANGELOG

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,49 @@
1+
XEngine_AVCodecApp V1.6.3.1001
2+
3+
Add: macOS system support
4+
Add: Multi-bitrate compatibility support
5+
Add: Playback failure handling logic
6+
Improved: Image transcoding performance issues
7+
Improved: File enumeration
8+
Improved: Cloud transcoding logic processing
9+
Improved: Multi-file merge support and hardware decoding limitations
10+
Improved: Image processing module performance
11+
Improved: Log export performance
12+
Improved: Image overlay performance
13+
Modify: Skip errors when merging episodes
14+
Modify: Tencent Cloud transcoding request optimization
15+
Fix: Transcoding artifacts caused by certain formats
16+
Fix: Abnormal exit issue with end messages under multiple tokens
17+
Fix: Widescreen conversion issue
18+
Fix: TSP streaming over UDP issue
19+
Fix: Points optimization issue
20+
Fix: TS output format and total bitrate configuration issues
21+
Fix: Cloud transcoding timeout optimization
22+
Fix: Issues caused by unsupported sampling formats
23+
Fix: Occasional crashes when stopping image processing
24+
25+
增加:MACOS系统支持
26+
增加:多码率兼容性支持
27+
增加:播放处理失败处理逻辑
28+
优化:图像转码性能问题
29+
优化:文件枚举优化
30+
优化:云转码逻辑处理优化
31+
优化:多文件合并支持与硬解码限制
32+
优化:图像处理模块性能
33+
优化:日志导出性能
34+
优化:图像叠加性能
35+
修改:对合并剧集错误跳过
36+
修改:腾讯云转码请求优化
37+
修正:某些格式导致转码花屏问题
38+
修正:结束消息在多token下异常退出问题
39+
修正:宽屏转换问题
40+
修正:TSP推流UDP的问题
41+
修正:修正要优化点数问题
42+
修正:ts输出格式和总码率配置问题
43+
修正:优化云转码超时
44+
修正:某些采样格式不支持导致的问题
45+
修正:停止图像处理某些时候崩溃问题
46+
========================================================================
147
XEngine_AVCodecApp V1.5.0.1001
248

349
Added: Points support
-1.03 KB
Binary file not shown.
-683 Bytes
Binary file not shown.
-779 Bytes
Binary file not shown.
200 KB
Binary file not shown.
197 KB
Binary file not shown.
236 KB
Binary file not shown.
224 KB
Binary file not shown.

协议文档.docx

32 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)