Last active
May 18, 2022 14:48
-
-
Save agragregra/358ff867f1fce031fd72 to your computer and use it in GitHub Desktop.
ffmpeg Scree Capture + Audio/Video Sync
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
ffmpeg -f alsa -ac 2 -i default -f x11grab -r 60 -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -s 1366x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 output.mkv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice!
im using
slop is an external program, double clicking in slop will report a window frame.
i don't get audio sync, having added the audio just a minute ago. still some features to examine here.