Skip to content

Instantly share code, notes, and snippets.

View mikeboers's full-sized avatar

Mike Boers mikeboers

View GitHub Profile
# http://names.mooseroots.com/stories/5165/most-popular-gender-neutral-names
Avery
Riley
Peyton
Logan
Taylor
Ryan
Jordan
Cameron
@mikeboers
mikeboers / gist:22bb3980ba6c1f53839562c342c46953
Created October 15, 2018 17:13
PyAV using avfoundation
$ ffprobe -f avfoundation -list_devices true ''
<snip>
[AVFoundation input device @ 0x7f809940d4c0] AVFoundation video devices:
[AVFoundation input device @ 0x7f809940d4c0] [0] FaceTime HD Camera
[AVFoundation input device @ 0x7f809940d4c0] [1] Capture screen 0
[AVFoundation input device @ 0x7f809940d4c0] AVFoundation audio devices:
[AVFoundation input device @ 0x7f809940d4c0] [0] Built-in Microphone
: Input/output error
$ ffprobe -f avfoundation 0:0
@mikeboers
mikeboers / go.py
Last active November 6, 2018 16:33
Threading solution for PyAV #448
import glob
import threading
from queue import Queue
import av
packet_queue = Queue(1)
def read_target():