brew install gphoto2 brew install ffmpeg --with-ffplay gphoto2 --abilities # Abilities for camera : Sony Alpha-A6300 (Control) # ... gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f matroska - | ffplay -
$ brew install ffmpeg --with-ffplay Usage: brew install [options] formula # Install flags here, nothing about --with. Error: invalid option: --with-ffplay
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f matroska - | gst-launch-1.0 fdsrc fd=0 ! decodebin ! videoconvert ! videoscale ! autovideosink
it should be,
osxvideosink
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f matroska - | gst-launch-1.0 fdsrc fd=0 ! decodebin ! videoconvert ! videoscale ! osxvideosink