initial commit

This commit is contained in:
2018-08-28 13:50:46 +03:00
commit e70d6063e5
9 changed files with 226 additions and 0 deletions

21
ffmpeg/ultrafast_x264_mp4.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
# Capture screen script
prefix=`date +"%G.%m.%d_%H.%M.%S"`
ffmpeg -y -f x11grab \
-video_size 1920x1080 \
-r 30 \
-i $DISPLAY \
-f pulse \
-ac 2 \
-i default \
-c:v libx264 \
-crf 0 \
-pix_fmt yuv420p \
-preset ultrafast \
-threads 0 \
$prefix.mp4
# -f alsa \
# -i hw:2,1 \
#-an \