Created
May 11, 2022 17:48
-
-
Save daniel-thompson/d437c1e3ef2d9787d652aa84fa86e1e6 to your computer and use it in GitHub Desktop.
Quick 'n dirty GNOME screencast concatenation
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
cd ~/Videos/Screencasts | |
# Generate the list of file to be joined. The `sort -n` is a bit paranoid but | |
# ensures this gist works on directories containing 9.webm and 10.webm ! | |
ls *.webm | sort -n | sed -e "s/^/file '/" -e "s/\$/'/" > mywork.list | |
# Join everything together and place the output in the parent diectory | |
# (so that *.webm never matches the spliced file). | |
ffmpeg -f concat -safe 0 -i mywork.list -c copy mywork.webm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The resulting video has been tested in Totem (gStreamer) and by uploading it to youtube: https://youtu.be/QB-nNWCcl3w