File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -62,13 +62,42 @@ install_vulkan() {(
6262 sudo make install
6363)}
6464
65+ install_omt () {(
66+ sudo apt install dotnet8
67+
68+ mkdir omt_build
69+ cd omt_build
70+ git clone --depth 1 https://github.com/openmediatransport/libvmx.git
71+ git clone --depth 1 https://github.com/openmediatransport/libomt.git
72+ git clone --depth 1 https://github.com/openmediatransport/libomtnet.git
73+
74+ cd libvmx/build
75+ chmod +x buildlinuxx64.sh
76+ ./buildlinuxx64.sh
77+ cd ../..
78+
79+ cd libomtnet/build
80+ chmod +x buildall.sh
81+ ./buildall.sh
82+ cd ../..
83+
84+ cd libomt/build
85+ chmod +x buildlinuxx64.sh
86+ ./buildlinuxx64.sh
87+ cd ../..
88+
89+ sudo cp libvmx/build/libvmx.so /usr/local/lib/
90+ sudo cp libomt/bin/Release/net8.0/linux-x64/publish/libomt.so /usr/local/lib/
91+ sudo cp libomt/bin/Release/net8.0/linux-x64/publish/libomt.h /usr/local/include/
92+ )}
93+
6594show_help=
6695if [ $# -eq 1 ] && { [ " $1 " = -h ] || [ " $1 " = --help ] || [ " $1 " = help ]; }; then
6796 show_help=1
6897fi
6998
7099if [ $# -eq 0 ] || [ $show_help ]; then
71- set -- gpujpeg ndi svt_jpegxs vulkan ximea
100+ set -- gpujpeg ndi svt_jpegxs vulkan ximea omt
72101fi
73102
74103if [ $show_help ]; then
You can’t perform that action at this time.
0 commit comments