m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/ffmpeg.md
blob: 6abed19ed91490fbbc10020444e1cecc349f8677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# ffmpeg tricks

## Record screen

    ffmpeg -f x11grab -s 1920x1080 -i :0.0 out.mkv

## Record from webcam

    ffmpeg -i /dev/video0 out.mkv

## Record sound

    ffmpeg -f alsa -i default out.flac