#11015: Mac arm64, AVFoundation not listing video device part of usb cameras,
Logitech?
-------------------------------------+-------------------------------------
Reporter: Dave | Type: defect
Status: new | Priority: important
Component: | Version: 7.0
undetermined |
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
On two arm64 Macs, M1 Max and M3 Pro, each with a different Logitech
camera, respectively: C920 HD, and Brio, only the audio is detected and
not the video devices.
M1 Max, Monterey 12.6, Logitech c920
M3 Pro, Sonoma 14.4, Logitech Brio
M1 max:
{{{
% ffmpeg -hide_banner -f avfoundation -list_devices true -i dummy
[AVFoundation indev @ 0x14ae066d0] AVFoundation video devices:
[AVFoundation indev @ 0x14ae066d0] [0] FaceTime HD Camera
[AVFoundation indev @ 0x14ae066d0] [1] Capture screen 0
[AVFoundation indev @ 0x14ae066d0] AVFoundation audio devices:
[AVFoundation indev @ 0x14ae066d0] [0] BlackHole 64ch
[AVFoundation indev @ 0x14ae066d0] [1] BoomAudio
[AVFoundation indev @ 0x14ae066d0] [2] MacBook Pro Microphone
[AVFoundation indev @ 0x14ae066d0] [3] Yeti Stereo Microphone
[AVFoundation indev @ 0x14ae066d0] [4] USB PnP Audio Device
[AVFoundation indev @ 0x14ae066d0] [5] HD Pro Webcam C920 <-- audio
[in#0 @ 0x14ae06290] Error opening input: Input/output error
Error opening input file dummy.
Error opening input files: Input/output error
}}}
M3 Pro:
{{{
% ffmpeg -hide_banner -f avfoundation -list_devices true -i dummy
2024-05-15 07:02:33.216 ffmpeg[7260:1451488] WARNING: Add
NSCameraUseContinuityCameraDeviceType to your Info.plist to use
AVCaptureDeviceTypeContinuityCamera.
[AVFoundation indev @ 0x11ef04be0] AVFoundation video devices:
[AVFoundation indev @ 0x11ef04be0] [0] FaceTime HD Camera
[AVFoundation indev @ 0x11ef04be0] [1] Capture screen 0
[AVFoundation indev @ 0x11ef04be0] [2] Capture screen 1
[AVFoundation indev @ 0x11ef04be0] AVFoundation audio devices:
[AVFoundation indev @ 0x11ef04be0] [0] MacBook Pro Microphone
[AVFoundation indev @ 0x11ef04be0] [1] External Microphone
[AVFoundation indev @ 0x11ef04be0] [2] Logitech BRIO
[in#0 @ 0x600000624000] Error opening input: Input/output error
Error opening input file dummy.
Error opening input files: Input/output error
}}}
M1 Max homebrew ffmpeg info:
{{{
% brew info ffmpeg
==> ffmpeg: stable 7.0 (bottled), HEAD
Play, record, convert, and stream audio and video
https://ffmpeg.org/
Installed
/opt/homebrew/Cellar/ffmpeg/6 (8 files, 1002B)
Poured from bottle using the formulae.brew.sh API on 2024-04-27 at
08:16:35
/opt/homebrew/Cellar/ffmpeg/7.0_1 (286 files, 52.9MB) *
Poured from bottle using the formulae.brew.sh API on 2024-04-29 at
14:49:36
From: https://github.com/Homebrew/homebrew-
core/blob/HEAD/Formula/f/ffmpeg.rb
License: GPL-2.0-or-later
==> Dependencies
Build: pkg-config ✔
Required: aom ✔, aribb24 ✔, dav1d ✔, fontconfig ✔, freetype ✔, frei0r ✔,
gnutls ✔, harfbuzz ✔, jpeg-xl ✔, lame ✔, libass ✔, libbluray ✔, librist ✔,
libsoxr ✔, libssh ✔, libvidstab ✔, libvmaf ✔, libvorbis ✔, libvpx ✔,
opencore-amr ✔, openjpeg ✔, openvino ✔, opus ✔, rav1e ✔, rubberband ✔,
sdl2 ✘, snappy ✔, speex ✔, srt ✔, svt-av1 ✔, tesseract ✔, theora ✔, webp
✔, x264 ✔, x265 ✔, xvid ✔, xz ✔, zeromq ✔, zimg ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 125,981 (30 days), 420,768 (90 days), 1,198,670 (365 days)
install-on-request: 115,535 (30 days), 376,106 (90 days), 1,031,357 (365
days)
build-error: 62 (30 days)
}}}
M3 Pro homebrew ffmpeg info
{{{
% brew info ffmpeg
==> ffmpeg: stable 7.0 (bottled), HEAD
Play, record, convert, and stream audio and video
https://ffmpeg.org/
Installed
/opt/homebrew/Cellar/ffmpeg/7.0_1 (286 files, 51.9MB) *
Poured from bottle using the formulae.brew.sh API on 2024-05-12 at
23:01:24
From: https://github.com/Homebrew/homebrew-
core/blob/HEAD/Formula/f/ffmpeg.rb
License: GPL-2.0-or-later
==> Dependencies
Build: pkg-config ✘
Required: aom ✔, aribb24 ✔, dav1d ✔, fontconfig ✔, freetype ✔, frei0r ✔,
gnutls ✔, harfbuzz ✔, jpeg-xl ✔, lame ✔, libass ✔, libbluray ✔, librist ✔,
libsoxr ✔, libssh ✔, libvidstab ✔, libvmaf ✔, libvorbis ✔, libvpx ✔,
opencore-amr ✔, openjpeg ✔, openvino ✔, opus ✔, rav1e ✔, rubberband ✔,
sdl2 ✔, snappy ✔, speex ✔, srt ✔, svt-av1 ✔, tesseract ✔, theora ✔, webp
✔, x264 ✔, x265 ✔, xvid ✔, xz ✔, zeromq ✔, zimg ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 125,981 (30 days), 420,768 (90 days), 1,198,670 (365 days)
install-on-request: 115,535 (30 days), 376,106 (90 days), 1,031,357 (365
days)
build-error: 62 (30 days)
}}}
As a test I plugged in another USB camera which is a very generic camera
with no audio device in it and it is also not detected on either machine.
Here is the ioreg -p IOUSB command to show the hardware USB connections:
{{{
% ioreg -p IOUSB
+-o Root <class IORegistryEntry, id 0x100000100, retain 37>
+-o AppleT8122USBXHCI@02000000 <class AppleT8122USBXHCI, id
0x10000063b, registered, matched, active, busy 0 (122 ms), retain 152>
| +-o USB2.0 Hub@02100000 <class IOUSBHostDevice, id 0x100001bad,
registered, matched, active, busy 0 (34 ms), retain 30>
| | +-o USB-C Digital AV Multiport Adapter@02120000 <class
IOUSBHostDevice, id 0x100001bed, registered, matched, active, busy 0 (13
ms), retain 24>
| +-o USB3.1 Hub@02200000 <class IOUSBHostDevice, id 0x100001bc0,
registered, matched, active, busy 0 (94 ms), retain 28>
| +-o Logitech BRIO@02210000 <class IOUSBHostDevice, id 0x1000068f9,
registered, matched, active, busy 0 (76 ms), retain 55>
+-o AppleT8122USBXHCI@01000000 <class AppleT8122USBXHCI, id
0x1000003ff, registered, matched, active, busy 0 (3 ms), retain 37>
+-o AppleT8122USBXHCI@00000000 <class AppleT8122USBXHCI, id
0x10000060f, registered, matched, active, busy 0 (206 ms), retain 85>
+-o USB2.0 Hub@00100000 <class IOUSBHostDevice, id 0x100001261,
registered, matched, active, busy 0 (67 ms), retain 32>
| +-o USB-C Digital AV Multiport Adapter@00120000 <class
IOUSBHostDevice, id 0x10000128c, registered, matched, active, busy 0 (31
ms), retain 25>
| +-o USB2.0 PC CAMERA@00110000 <class IOUSBHostDevice, id
0x10000b89a, registered, matched, active, busy 0 (18 ms), retain 26>
+-o USB3.1 Hub@00200000 <class IOUSBHostDevice, id 0x100001264,
registered, matched, active, busy 0 (148 ms), retain 28>
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11015>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".