Skip to content

Instantly share code, notes, and snippets.

View noblecloud's full-sized avatar

Bryan Neal Garrison noblecloud

View GitHub Profile
@shuckster
shuckster / conker.sh
Last active October 5, 2023 07:47
Run many shell commands concurrently, up to a limit. Written before I knew about GNU parallel.
#!/bin/sh
#
# Run many shell commands concurrently, up to a limit.
#
# - Commands are specified in a file, one per line
# - Single-line comments allowed with # at the start
# - Ensure the last line of the file is empty
#
# Originally written to download NML episodes from Archive.org. I found
@docPhil99
docPhil99 / macFFmpeg.md
Last active April 30, 2024 20:43
Mac webcam FFmpeg

#Capture and stream a webcam To capture using the iSight camera on a Mac, or infact any other webcam connected to the Mac, we can use FFmpeg. First get a list of the devices installed.

ffmpeg -f avfoundation -list_devices true -i "" 

This will list the aviable video and audio devices.

The below will capture at 30fps and the set video size to a file. ffmpeg -f avfoundation -framerate 30 -video_size 640x480 -i "0:none" out.avi