DEV Community

Malik Benkirane
Malik Benkirane

Posted on • Updated on

scrot

Image description

ffmpeg -f avfoundation -list_devices true -i ""
Enter fullscreen mode Exit fullscreen mode

Note [] in the list beforementioned

ffmpeg -f avfoundation -i "<screen device index>:<audio device index>" output.mkv
Enter fullscreen mode Exit fullscreen mode

Reference
https://trac.ffmpeg.org/wiki/Capture/Desktop

Top comments (0)