Last active
October 20, 2018 22:51
-
-
Save vavrecan/0e3a03a93888220a09199d7c1a34bb24 to your computer and use it in GitHub Desktop.
capture
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
$ best Linux screen capture settings of the day | |
ffmpeg -thread_queue_size 128 -f alsa -i default -f x11grab -isync -r 30 -ac 2 -s 1920×1080 -i :0.0+0,0 -vcodec libx264 -preset veryfast -pix_fmt yuv420p -acodec libmp3lame -ar 44100 -ab 192k -threads 4 -y Desktop.mp4 | |
# vokoscreen app to capture | |
# Update: w/ VAAPI e.g. for Intel’s QuickSync: | |
ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -thread_queue_size 64 -f alsa -i default -thread_queue_size 64 -f x11grab -isync -r 30 -ac 1 -s 1920×1080 -i :0.0+0,0 -vf ‘format=nv12,hwupload’ -threads 8 -aspect 16:9 -b:v 12500k -vcodec h264_vaapi -af “lowpass=f=7000″ -acodec aac -ab 192k -threads 8 ~/Desktop/`date ‘+%Y%m%d-%H%M%S’.mp4` | |
# https://rene.rebe.de/2017-06-23/best-video-screen-capture-settings-of-the-day/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment