[FFmpeg-user] ffmpeg writing to an audio device on MacOS

Michael Glenn Williams michael.glenn.williams at smartblondeco.com
Wed May 20 20:41:23 EEST 2020


Hi All,

We noticed that if ffnpeg is built with avfoundation, we can read from an
audio device on MacOS, but we cannot write to one.

Is there any way to coerce ffmpeg into writing to an audio device on MacOS
mojave?
We would like to have the audio from our videos sent into the MacOS
coreaudio framework.

This command lists the devices that are available:

ffmpeg -f avfoundation -list_devices true -i ""

Michaels-Mac-Pro:~ MGW$ ffmpeg -f avfoundation -list_devices true -i ""

ffmpeg version N-79453-g5256250-tessus Copyright (c) 2000-2016 the FFmpeg
developers

  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)

  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --as=yasm
--extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl
--enable-libass --enable-libbluray --enable-libfreetype --enable-libgsm
--enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libopus --enable-libschroedinger
--enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis
--enable-libvpx --enable-libwavpack --enable-libx264 --enable-libx265
--enable-libxavs --enable-libxvid --enable-libzmq --enable-version3
--disable-ffplay --disable-indev=qtkit --disable-indev=x11grab_xcb

  libavutil      55. 20.100 / 55. 20.100

  libavcodec     57. 33.100 / 57. 33.100

  libavformat    57. 29.101 / 57. 29.101

  libavdevice    57.  0.101 / 57.  0.101

  libavfilter     6. 40.102 /  6. 40.102

  libswscale      4.  1.100 /  4.  1.100

  libswresample   2.  0.101 /  2.  0.101

  libpostproc    54.  0.100 / 54.  0.100

[AVFoundation input device @ 0x7fefad100280] AVFoundation video devices:

[AVFoundation input device @ 0x7fefad100280] [0] Capture screen 0

[AVFoundation input device @ 0x7fefad100280] [1] Capture screen 1

[AVFoundation input device @ 0x7fefad100280] AVFoundation audio devices:

[AVFoundation input device @ 0x7fefad100280] [0] Aggregate Device

[AVFoundation input device @ 0x7fefad100280] [1] System Audio Recorder

[AVFoundation input device @ 0x7fefad100280] [2] Quartet

[AVFoundation input device @ 0x7fefad100280] [3] Loopback Stereo

[AVFoundation input device @ 0x7fefad100280] [4] Loopback 64ch

[AVFoundation input device @ 0x7fefad100280] [5] Loopback Monitor

[AVFoundation input device @ 0x7fefad100280] [6] Loopback Audio

[AVFoundation input device @ 0x7fefad100280] [7] Soundflower (64ch)

[AVFoundation input device @ 0x7fefad100280] [8] Soundflower (2ch)

[AVFoundation input device @ 0x7fefad100280] [9] USB audio CODEC

: Input/output error

but we cannot seem to access them for output. Is it possible somehow?

-- 
<https://meetings.hubspot.com/michael-glenn-williams> Michael Williams

CEO | CTO

Smart Blonde Experiential
8054991994
michael.glenn.williams at smartblondeco.com
totalvu.tv
13900 Marquesas Way, Marina Del Rey, CA
<http://totalvu.tv>
[image: facebook]
<https://www.facebook.com/boldstream/app/128953167177144/> [image:
twitter] <https://twitter.com/smartblondecorp> [image: linkedin]
<https://www.linkedin.com/in/michaelglennwilliams/>


More information about the ffmpeg-user mailing list