Created
May 9, 2021 16:40
-
-
Save MarkusH/7735d09a45d3722595e69871887cfb99 to your computer and use it in GitHub Desktop.
Talk recording
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
#!/usr/bin/bash | |
ffmpeg \ | |
-f alsa -sample_rate 44100 -thread_queue_size 1024 -itsoffset -0.5 -i hw:0 \ | |
-f x11grab -r 30 -thread_queue_size 1024 -i :0.0 \ | |
-f v4l2 -r 30 -video_size 320x180 -thread_queue_size 1024 -i /dev/video0 \ | |
-filter_complex " | |
[1:v]scale=1920x1080[slides]; | |
[slides][2:v]overlay=x=1580:y=20 | |
" \ | |
-preset ultrafast \ | |
output.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment