DEV Community

Malik Benkirane
Malik Benkirane

Posted on • Edited 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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs