FFmpeg 3.3.4 avfoundation to record only a specific section of the screen on macOS Sierra using the command line
I'm using FFmpeg version 3.3.4 (installed via brew) through the command line to record my desktop during some automated tests on my macOS Sierra (10.12.6). I would like to record only a specific section of the screen but, unfortunately, I'm not able to find the proper options in the documentation to reach my goal. According to the FFmpeg documentation for avfoundation , this is the command I use: ffmpeg -f avfoundation // avfoundation -pix_fmt uyvy422 // pixel format -i 1 // input: desktop -r 30 // framerate for output [PATH]/test.mp4 // filename When I run this command I have the following