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

Please help to build on Ubuntu 22.04 #234

Open
drupal-cafe-lu-ua opened this issue Dec 15, 2022 · 10 comments
Open

Please help to build on Ubuntu 22.04 #234

drupal-cafe-lu-ua opened this issue Dec 15, 2022 · 10 comments

Comments

@drupal-cafe-lu-ua
Copy link

I did

git clone https://github.com/sorayuki/obs-multi-rtmp.git obs-multi-rtmp
cd obs-multi-rtmp/
git checkout tags/0.2.8.1-OBS28
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release

I get

-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
-- Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
CMake Error at CMakeLists.txt:74 (find_package):
  By not providing "FindLibObs.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "LibObs", but
  CMake did not find one.

  Could not find a package configuration file provided by "LibObs" with any
  of the following names:

    LibObsConfig.cmake
    libobs-config.cmake

  Add the installation prefix of "LibObs" to CMAKE_PREFIX_PATH or set
  "LibObs_DIR" to a directory containing one of the above files.  If "LibObs"
  provides a separate development package or SDK, be sure it has been
  installed.

Also I can not find libobsConfig.cmake as file or text in the source code.

@drupal-cafe-lu-ua drupal-cafe-lu-ua changed the title Please help compile on Ubuntu 22.04 Please help to build on Ubuntu 22.04 Dec 15, 2022
@sorayuki
Copy link
Owner

sorayuki commented Dec 15, 2022 via email

@SometimesJohn
Copy link

I would also love some help installing the plugin on Linux. I've only had linux for about 2 weeks. Tried following someone else's guide on YouTube, but ran into CMAKE error. Am going to try to stream to two sites by using the recording trick for now.

@bStyler
Copy link

bStyler commented Feb 7, 2023

Following. We have used this plugin on OBS 27 on linux and since OBS 28 it no longer works.

@thelabcat
Copy link

thelabcat commented Mar 17, 2023

Sorayuki, please do not give up on availability for flatpak or Linux. This is a great add-on, and I would love to have it. I'm glad to know that there's some hope for me compiling myself.

@AntonioGomes42
Copy link

I made a new tutorial showing how to install it on a Flatpak OBS. I works for every single linux. Link : https://youtu.be/p4eoEoq438M. I hope it helps you!

@thelabcat
Copy link

thelabcat commented Apr 21, 2023

I made a new tutorial showing how to install it on a Flatpak OBS. I works for every single linux. Link : https://youtu.be/p4eoEoq438M. I hope it helps you!

NGL, a "Builded" tool in a Google Drive link smells a little bit sus, but okay. Why isn't it on GitHub, though?

BTW, what are the chances of the builder running on Fedora?

@AntonioGomes42
Copy link

I made a new tutorial showing how to install it on a Flatpak OBS. I works for every single linux. Link : https://youtu.be/p4eoEoq438M. I hope it helps you!

NGL, a "Builded" tool in a Google Drive link smells a little bit sus, but okay. Why isn't it on GitHub, though?

BTW, what are the chances of the builder running on Fedora?

It has all the chances to run on Fedora or any other Linux. The files disponibelized on Google Drive are the ones builded in the video. If you don't think it's safe just build it by yourself as i show in the video how to do it. I just put the files on GD because somepeople do not want to do the building part, just install it.

@thelabcat
Copy link

Okay, after actually watching the video, to fix the translation on that:

The plugin is guaranteed to work on any Linux distribution. The files in the Google Drive link are the pre-compiled plugin, following the instructions in the video. If you don't think these binaries are safe, the video shows you how to use the repository's included build script to build them yourself. I just put the pre-compiled binaries on GD for those who don't want to build it themselves.

@thelabcat
Copy link

thelabcat commented Apr 22, 2023

To transcribe the video:

Here is how to install this plugin on Linux. If you want to use @AntonioGomes42's precompiled verson from Google Drive, skip to step 9. Otherwise, follow all steps to compile it yourself.

  1. Ubuntu is recommended for the compilation. A VM with internet access will work. A Ubuntu-based distro may also work. Have a Ubuntu system booted and ready.
  2. Git is required for compilation and currently would not be automatically installed by the compiling script, unlike some other tools used. Check that git is installed.
  3. Download the repository zip.
  4. Extract the repository, and run the script obs-multi-rtmp-master/.github/scripts/build-linux.sh
  5. Create folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/bin
  6. Move folder obs-multi-rtmp-master/release/obs-plugins/64bit to .../bin/64bit
  7. Create folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/data
  8. Move folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/locale to .../data/locale
  9. Folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp is now the complete plugin folder. It should contain:
    image
    Remove all outside files and put it where you like.
  10. install Flatpak OBS Studio, and run it at least once.
  11. Create folder ~/.var/app/com.obsproject.Studio/config/obs-studio/plugins
  12. Copy the complete plugin folder (AKA obs-multi-rmtp) to .../plugins/obs-multi-rmtp

@AntonioGomes42
Copy link

To transcribe the video:

Here is how to install this plugin on Linux. If you want to use @AntonioGomes42's precompiled verson from Google Drive, skip to step 9. Otherwise, follow all steps to compile it yourself.

  1. Ubuntu is recommended for the compilation. A VM with internet access will work. A Ubuntu-based distro may also work. Have a Ubuntu system booted and ready.
  2. Git is required for compilation and currently would not be automatically installed by the compiling script, unlike some other tools used. Check that git is installed.
  3. Download the repository zip.
  4. Extract the repository, and run the script obs-multi-rtmp-master/.github/scripts/build-linux.sh
  5. Create folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/bin
  6. Move folder obs-multi-rtmp-master/release/obs-plugins/64bit to .../bin/64bit
  7. Create folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/data
  8. Move folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp/locale to .../data/locale
  9. Folder obs-multi-rtmp-master/release/data/obs-plugins/obs-multi-rtmp is now the complete plugin folder. It should contain:
    image
    Remove all outside files and put it where you like.
  10. install Flatpak OBS Studio, and run it at least once.
  11. Create folder ~/.var/app/com.obsproject.Studio/config/obs-studio/plugins
  12. Copy the complete plugin folder (AKA obs-multi-rmtp) to .../plugins/obs-multi-rmtp

Precisely, my friend!

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

6 participants