-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ffmpeg | ||
====== | ||
|
||
## Grab screen in high quality without compression (large file size) | ||
|
||
$ ffmpeg -f x11grab -video_size 1920x900 -framerate 24 -i :0.0 -qscale 0 -vcodec huffyuv output.mov | ||
|
||
Compress the video output | ||
|
||
$ ffmpeg -i output.mov -vcodec libx265 -crf 28 output.mp4 | ||
|
||
In one step, but lower quality: | ||
|
||
$ ffmpeg -f x11grab -video_size 1920x900 -framerate 24 -i :0.0 -qscale 0 -vcodec libx265 -preset ultrafast -pix_fmt yuv444p output.mov |