Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

How to make it work on MacOS? #7

Open
amejiarosario opened this issue Oct 18, 2016 · 2 comments
Open

How to make it work on MacOS? #7

amejiarosario opened this issue Oct 18, 2016 · 2 comments

Comments

@amejiarosario
Copy link

I have installed using brew install ffmpeg. But I don't get any videos after setting up the reporter. I just get the *.srt file

ffmpeg version 3.1.3 Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 7.3.0 (clang-703.0.31)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid --disable-lzma --enable-vda
  libavutil      55. 28.100 / 55. 28.100
  libavcodec     57. 48.101 / 57. 48.101
  libavformat    57. 41.100 / 57. 41.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 47.100 /  6. 47.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  1.100 /  2.  1.100
  libpostproc    54.  0.100 / 54.  0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
@benc
Copy link

benc commented Nov 17, 2016

The following ffmpegArgs work for me:

ffmpegArgs: [
  '-y'
  '-r', '30'
  '-f', 'avfoundation'
  '-i', '1'
  '-g', '300'
  '-vcodec', 'mpeg4'
])

You can play these files with VLC.

You can find more information about the avfoundation ffmpeg input device on the ffmpeg site.

To get more information about what codecs you can use, run the following command:

ffmpeg -codecs

@benjaminapetersen
Copy link

Using @amejiarosario suggestion of brew install ffmpeg is helpful and resolves #21.
@benc's config will generate a file and speaks to #23, tho does not solve the misleading "spare array" output.

I did get a video this time, but the recording is not of the correct window (it recorded a second browser window viewing my google calendar 😄).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants