Package Details: obs-ios-camera-source-git r290.c67e577-2

Git Clone URL: https://aur.archlinux.org/obs-ios-camera-source-git.git (read-only, click to copy)
Package Base: obs-ios-camera-source-git
Description: Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB (dougg3's fork)
Upstream URL: None
Licenses: GPL2
Conflicts: obs-ios-camera-source, obs-plugin-ios-camera-source-git
Submitter: PancakeTAS
Maintainer: PancakeTAS
Last Packager: PancakeTAS
Votes: 2
Popularity: 0.000000
First Submitted: 2024-08-27 09:30 (UTC)
Last Updated: 2024-08-27 09:30 (UTC)

Latest Comments

1 2 Next › Last »

jfchadeyron commented on 2025-07-03 19:44 (UTC) (edited on 2025-07-03 20:08 (UTC) by jfchadeyron)

"CMake Error at deps/libimobiledevice/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 has been removed from CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway."

I fixed it : Update deps/libimobiledevice/CMakeLists.txt line 2 to: "cmake_minimum_required(VERSION 4.0)"

nylocx commented on 2023-03-22 14:16 (UTC) (edited on 2023-03-22 14:25 (UTC) by nylocx)

It looks like the plugin is now finally broken, with OBS 29 and the new FFMPG. I currently don't have the time to look into it but I guess it could be fixed by applying a patch similar to this one here: https://github.com/obsproject/obs-studio/pull/8376/commits/1603aaf4a2ef16b7aabb3cf330c7b3fde77ad8ca

I just checked

#if LIBAVCODEC_VERSION_MAJOR < 60
    if (decode->codec->capabilities & CODEC_CAP_TRUNC)
        decode->decoder->flags |= CODEC_FLAG_TRUNC;
#endif

on line 41 in (obs-ios-camera-source/src/ffmpeg-decode.c) works to make it compile and work again.

nylocx commented on 2022-04-13 05:38 (UTC)

Here is the patch needed to build. For now you have to use a specific tag of the obs-studio repository until the author adjust to the new mechanism.

Note: This command specifically gets version 27.2.1 of obs-studio because the libobs import mechanism for plugins changed after that version. In the future, this plugin will be updated to use the new method.

from: https://github.com/dougg3/obs-ios-camera-source

diff --git a/PKGBUILD b/PKGBUILD
index 0d348b4..68321a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
 # Maintainer: Rhys Perry <rhysperry111@gmail.com> 

 pkgname=obs-plugin-ios-camera-source-git
-pkgver=v2.5.0.r1.g2b6ed18
-pkgrel=2
+pkgver=v2.5.0.r133.g1e41856
+pkgrel=1
 pkgdesc="Use your iPhone camera as a video source in OBS Studio and stream high quality video from your iPhone's camera over USB"
 arch=('x86_64')
 url='https://obs.camera'
 license=('GPL2')
 depends=('obs-studio')
 makedepends=('cmake')
-source=('git+https://github.com/obsproject/obs-studio'
+source=('git+https://github.com/obsproject/obs-studio#tag=27.2.1'
         'git+https://github.com/dougg3/obs-ios-camera-source')

 md5sums=('SKIP'

carlosnewmusic commented on 2021-04-06 20:27 (UTC)

Make error -- Looking for stpncpy - found -- Looking for pselect -- Looking for pselect - found CMake Error at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found version "1.1.1j") Call Stack (most recent call first): /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.19/Modules/FindOpenSSL.cmake:536 (find_package_handle_standard_args) deps/libimobiledevice/CMakeLists.txt:5 (find_package)

-- Configuring incomplete, errors occurred! See also "/var/tmp/pamac-build-carlos/obs-plugin-ios-camera-source-git/src/obs-ios-camera-source/build/CMakeFiles/CMakeOutput.log". ==> ERROR: Se produjo un fallo en build(). Cancelando...

Greaka commented on 2021-03-31 20:10 (UTC)

Hey there, thank you very much for taking a look at it! This is just a little bump for you :)

rhysperry111 commented on 2021-03-23 13:02 (UTC)

@Greaka thanks for telling me about this, I don't use the package myself, so I don't pick up on problems like this.

I might have a look at it tonight, but I have quite a large amount of work as I am taking GCSE exams in a few weeks so it might take me longer to get to. If it is not fixed by the end of the week, please bump this again :)

Greaka commented on 2021-03-23 12:36 (UTC)

Please excuse if the inline HTML fails, this is my very first AUR comment.

The build fails for me with the following error:

<details> <summary>Build Log</summary>
==> Making package: obs-plugin-ios-camera-source-git v2.5.0.r127.gbf2e292-1 (Tue 23 Mar 2021 01:29:26 PM CET)
==> Retrieving sources...
  -> Updating obs-studio git repo...
Fetching origin
  -> Updating obs-ios-camera-source git repo...
Fetching origin
==> Validating source files with md5sums...
    obs-studio ... Skipped
    obs-ios-camera-source ... Skipped
==> Making package: obs-plugin-ios-camera-source-git v2.5.0.r127.gbf2e292-1 (Tue 23 Mar 2021 01:29:27 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating obs-studio git repo...
Fetching origin
  -> Updating obs-ios-camera-source git repo...
Fetching origin
==> Validating source files with md5sums...
    obs-studio ... Skipped
    obs-ios-camera-source ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of obs-studio git repo...
Cloning into 'obs-studio'...
done.
  -> Creating working copy of obs-ios-camera-source git repo...
Cloning into 'obs-ios-camera-source'...
done.
==> Starting pkgver()...
==> Sources are ready.
obs-plugin-ios-camera-source-git-v2.5.0.r1.g2b6ed18-2: parsing pkg list...
==> Making package: obs-plugin-ios-camera-source-git v2.5.0.r127.gbf2e292-1 (Tue 23 Mar 2021 01:29:29 PM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/sccache - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Libobs: /usr/bin/../lib64/libobs.so
-- Found FFmpeg: /usr/bin/../lib64/libavcodec.so (found version "58.91.100") found components: avcodec avutil
-- Looking for include file sys/inotify.h
-- Looking for include file sys/inotify.h - found
-- Looking for stpncpy
-- Looking for stpncpy - found
-- Looking for pselect
-- Looking for pselect - found
CMake Error at /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
  Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
  system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
  version "1.1.1j")
Call Stack (most recent call first):
  /usr/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.19/Modules/FindOpenSSL.cmake:536 (find_package_handle_standard_args)
  deps/libimobiledevice/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
</details>

How can I fix this? libimobiledevice is already installed, openssl works fine for other programs to compile, too.

rhysperry111 commented on 2020-09-27 15:58 (UTC) (edited on 2021-02-07 23:37 (UTC) by rhysperry111)

@davd I have updated the package. I cannot test it myself as GitHub has been blocked on my campus (and VPNs, proxies, Tor e.t.c. are all blocked along with a nice smothering of HTTPS MITM). If it fails to build please contact me ASAP

rhysperry111 commented on 2020-09-13 07:22 (UTC)

Thanks for making me aware of this. My laptop is currently borked so I will try to fix this as soon as I get my laptop working again

<deleted-account> commented on 2020-09-13 07:18 (UTC)

After reviewing the fix, it seems like the removal of avcodec_register_all() is not needed anymore since it does not exist in the mentioned area anyway.