Created
March 23, 2017 16:41
-
-
Save olekhy/00edc2a4ffa4627d5d10b3e02eff9ca9 to your computer and use it in GitHub Desktop.
capture display on linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://trac.ffmpeg.org/wiki/Capture/Desktop | |
ffmpeg -framerate 25 -video_size 1024x768 -f x11grab -i :0.0+100,200 -f alsa -ac 2 -i pulse -vcodec libx264 -crf 0 -preset ultrafast -acodec pcm_s16le output.mkv | |
losless | |
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -i :0.0 -c:v libx264 -qp 0 -preset ultrafast capture.mkv | |
---- convert | |
ffmpeg -i output.mkv -acodec ... -vcodec ... final.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment