First, I want to thank Narcogen for the work and help done getting OBS-FTL to compile.
Second, I want to know why it works for you, and not for me.
I am now able to compile OBS-FTL, and it runs. But I still get a 10 second delay.
I did have to make changes to the OBS build script that was there. Here's my current build script:
For comparison, here's the diff from the original:
The hdiutil commands needed a significant re-work, the old script would not run twice without manual cleanup, and the old "80 MB image limit" was exceeded during the preparation (hence the sparse image intermediate and the compressed final image).
BUT:
1. During compilation, OBS cannot find VLC. No VLC source
2. Docs say to use
3. Even with zero latency, high profile, very fast (settings from the beam site), it still gives me a 10 second delay.
I am stuck. I cannot quite get this to work.
Help me Narcogen, you are my only hope. Just 14 steps to the light side and we'll be done.
Second, I want to know why it works for you, and not for me.
I am now able to compile OBS-FTL, and it runs. But I still get a 10 second delay.
I did have to make changes to the OBS build script that was there. Here's my current build script:
Code:
build(){
export FFmpegPath=/opt/local/bin
export QTDIR=/opt/local/libexec/qt5
pushd .
cd ..
mkdir -p build
cd build
cmake -DOBS_VERSION_OVERRIDE='17.0.0-ftl.28' ..
make
sudo python2.7 ../build_script/build_app.py
# sudo chown -R :staff OBS.app
popd
}
archive(){
pushd .
cd ../build
echo "@@ Archiving build to DMG..."
hdiutil create -ov -fs HFS+ -type SPARSE -volname 'OBS-FTL Install' OBS-FTL.sparseimage
hdiutil mount OBS-FTL.sparseimage
cp -r ./OBS.app "/Volumes/OBS-FTL Install/OBS-FTL.app"
hdiutil detach "/Volumes/OBS-FTL Install"
mkdir -p dmg
hdiutil convert -ov OBS-FTL.sparseimage -format UDBZ -o dmg/OBS_Studio-FTL.17.0.0.ftl.28.dmg
popd
}
build
archive
For comparison, here's the diff from the original:
Code:
diff --git a/build_script/build_osx b/build_script/build_osx
index dcf7abb0..80cb2521 100755
--- a/build_script/build_osx
+++ b/build_script/build_osx
@@ -1,15 +1,15 @@
build(){
- export FFmpegPath=/usr/local/ffmpeg-tachyon/include
- export QTDIR=/usr/local/Cellar/qt5/5.5.0_1/
+ export FFmpegPath=/opt/local/bin
+ export QTDIR=/opt/local/libexec/qt5
pushd .
cd ..
- mkdir build
+ mkdir -p build
cd build
cmake -DOBS_VERSION_OVERRIDE='17.0.0-ftl.28' ..
make
sudo python2.7 ../build_script/build_app.py
- sudo chown -R :staff OBS.app
+ # sudo chown -R :staff OBS.app
popd
}
@@ -17,12 +17,12 @@ archive(){
pushd .
cd ../build
echo "@@ Archiving build to DMG..."
- hdiutil create -fs HFS+ -megabytes 80 -volname 'OBS-FTL Install' OBS-FTL.dmg
- hdiutil mount OBS-FTL.dmg
+ hdiutil create -ov -fs HFS+ -type SPARSE -volname 'OBS-FTL Install' OBS-FTL.sparseimage
+ hdiutil mount OBS-FTL.sparseimage
cp -r ./OBS.app "/Volumes/OBS-FTL Install/OBS-FTL.app"
- hdiutil unmount "/Volumes/OBS-FTL Install"
- mkdir dmg
- cp OBS-FTL.dmg dmg/OBS_Studio-FTL.17.0.0.ftl.28.dmg
+ hdiutil detach "/Volumes/OBS-FTL Install"
+ mkdir -p dmg
+ hdiutil convert -ov OBS-FTL.sparseimage -format UDBZ -o dmg/OBS_Studio-FTL.17.0.0.ftl.28.dmg
popd
}
The hdiutil commands needed a significant re-work, the old script would not run twice without manual cleanup, and the old "80 MB image limit" was exceeded during the preparation (hence the sparse image intermediate and the compressed final image).
BUT:
1. During compilation, OBS cannot find VLC. No VLC source
2. Docs say to use
- Stream Type: Beam FTL Service
3. Even with zero latency, high profile, very fast (settings from the beam site), it still gives me a 10 second delay.
I am stuck. I cannot quite get this to work.
Help me Narcogen, you are my only hope. Just 14 steps to the light side and we'll be done.