Skip to content

Commit

Permalink
Add common commands for ffmpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
nazartm authored Dec 4, 2020
1 parent db798b3 commit 258ce29
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ffmpeg
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

0 comments on commit 258ce29

Please sign in to comment.