Skip to content

Instantly share code, notes, and snippets.

@rsky
Created May 14, 2017 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rsky/f36e4540e36423a044b40365a5cdaec0 to your computer and use it in GitHub Desktop.
Save rsky/f36e4540e36423a044b40365a5cdaec0 to your computer and use it in GitHub Desktop.
OSX+航海日誌で動画キャプチャする設定
  • {path} はダブルクォートしてはいけない。
  • -i 0:none0(ビデオデバイスのインデックス)は環境によって1等に変更する
  • Retinaディスプレイのキャプチャはうまくいかない(キャプチャ全体に倍率設定が必要?)
-f avfoundation
-framerate 24
-capture_cursor 1
-capture_mouse_clicks 0
-i 0:none
-vf crop={width}:{height}:{x}:{y}
-rtbufsize 100M
-r 24
-vcodec libvpx
-b:v 2500k
-auto-alt-ref 0
-y
{path}
@rsky
Copy link
Author

rsky commented May 14, 2017

screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment