ffmpeg -f avfoundation -list_devices true -i “”
ffmpeg version 3.3.4 Copyright (c) 2000-2017 the FFmpeg developers
built with Apple LLVM version 8.1.0 (clang-802.0.42)
configuration: –prefix=/usr/local/Cellar/ffmpeg/3.3.4 –enable-shared –enable-pthreads –enable-gpl –enable-version3 –enable-hardcoded-tables –enable-avresample –cc=clang –host-cflags= –host-ldflags= –enable-libass –enable-libmp3lame –enable-libopus –enable-libtheora –enable-libvorbis –enable-libvpx –enable-libx264 –enable-libxvid –enable-opencl –enable-videotoolbox –enable-openssl –disable-lzma –enable-nonfree –enable-vda
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libavresample 3. 5. 0 / 3. 5. 0
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
[AVFoundation input device @ 0x7f93ae40ee80] AVFoundation video devices:
[AVFoundation input device @ 0x7f93ae40ee80] [0] FaceTime HD Camera (Built-in)
[AVFoundation input device @ 0x7f93ae40ee80] [1] Capture screen 0
[AVFoundation input device @ 0x7f93ae40ee80] AVFoundation audio devices:
[AVFoundation input device @ 0x7f93ae40ee80] [0] Built-in Microphone
# worked for audio and video
ffmpeg -f avfoundation -i “0:0” -y cqm.mov
ffmpeg -f avfoundation -i “0:0” \
-c:v libvpx -crf 10 -b:v 256K \
-an -f rtp rtp://10.11.1.96:5122 \
-c:a libopus -b:a 64k -vbr on -compression_level 10 \
-vn -f rtp rtp://10.11.1.96:5120
Overriding selected pixel format to use uyvy422 instead.
ffmpeg -f avfoundation -i “0:0” -framerate 25 -pix_fmt yuv420p \
-c:v libvpx -crf 40 -b:v 256K \
-an -f rtp rtp://10.11.1.96:5122 \
-c:a libopus -b:a 64k \
-vn -f rtp rtp://10.11.1.96:5118
# never did get any joy