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

[bounty] list webcam, iphone, etc. in list-monitors #1160

Open
louis030195 opened this issue Jan 16, 2025 · 2 comments
Open

[bounty] list webcam, iphone, etc. in list-monitors #1160

louis030195 opened this issue Jan 16, 2025 · 2 comments
Labels
💎 Bounty enhancement New feature or request

Comments

@louis030195
Copy link
Collaborator

we should be able to record webcam, iphone cameras, etc. easily in the same way than monitor device

louisbeaumont@MacBook-Pro-9:~/Documents/brain$ ffmpeg -f avfoundation -list_devices true -i ""
ffmpeg version 7.1 Copyright (c) 2000-2024 the FFmpeg developers
  built with Apple clang version 16.0.0 (clang-1600.0.26.4)
  configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/7.1_4 --enable-shared --enable-pthreads --enable-version3 --cc=clang --host-cflags= --host-ldflags='-Wl,-ld_classic' --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-libharfbuzz --enable-libjxl --enable-libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-librubberband --enable-libsnappy --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox --enable-audiotoolbox --enable-neon
  libavutil      59. 39.100 / 59. 39.100
  libavcodec     61. 19.100 / 61. 19.100
  libavformat    61.  7.100 / 61.  7.100
  libavdevice    61.  3.100 / 61.  3.100
  libavfilter    10.  4.100 / 10.  4.100
  libswscale      8.  3.100 /  8.  3.100
  libswresample   5.  3.100 /  5.  3.100
  libpostproc    58.  3.100 / 58.  3.100
2025-01-16 09:03:00.993 ffmpeg[23450:7179261] WARNING: Add NSCameraUseContinuityCameraDeviceType to your Info.plist to use AVCaptureDeviceTypeContinuityCamera.
2025-01-16 09:03:01.177 ffmpeg[23450:7179261] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.
[AVFoundation indev @ 0x1426314d0] AVFoundation video devices:
[AVFoundation indev @ 0x1426314d0] [0] MacBook Pro Camera
[AVFoundation indev @ 0x1426314d0] [1] louisbeaumont.me iphone Camera
[AVFoundation indev @ 0x1426314d0] [2] louisbeaumont.me iphone Desk View Camera
[AVFoundation indev @ 0x1426314d0] [3] MacBook Pro Desk View Camera
[AVFoundation indev @ 0x1426314d0] [4] louisbeaumont.me iphone Desk View Camera
[AVFoundation indev @ 0x1426314d0] [5] louisbeaumont.me iphone Camera
[AVFoundation indev @ 0x1426314d0] [6] Capture screen 0
[AVFoundation indev @ 0x1426314d0] AVFoundation audio devices:
[AVFoundation indev @ 0x1426314d0] [0] louisbeaumont.me iphone Microphone
[AVFoundation indev @ 0x1426314d0] [1] Immersed
[AVFoundation indev @ 0x1426314d0] [2] BlackHole 2ch
[AVFoundation indev @ 0x1426314d0] [3] louisbeaumont.me iphone Microphone
[AVFoundation indev @ 0x1426314d0] [4] MacBook Pro Microphone
[AVFoundation indev @ 0x1426314d0] [5] BlackHole 16ch
[AVFoundation indev @ 0x1426314d0] [6] Aggregate Device
[AVFoundation indev @ 0x1426314d0] [7] input
[AVFoundation indev @ 0x1426314d0] [8] EpocCam Microphone
[in#0 @ 0x142630ef0] Error opening input: Input/output error
Error opening input file .
Error opening input files: Input/output error
louisbeaumont@MacBook-Pro-9:~/Documents/brain$ 

/bounty 120

@louis030195 louis030195 added the enhancement New feature or request label Jan 16, 2025
Copy link

algora-pbc bot commented Jan 16, 2025

💎 $120 bounty • Screenpi.pe

Steps to solve:

  1. Start working: Comment /attempt #1160 with your implementation plan
  2. Submit work: Create a pull request including /claim #1160 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to mediar-ai/screenpipe!

Add a bountyShare on socials

@ologbonowiwi
Copy link
Contributor

do you have a lib in mind to do this? or we should add support on xcap fork to include webcams as monitors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💎 Bounty enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants