Created
December 12, 2012 06:09
-
-
Save muhammadghazali/4265343 to your computer and use it in GitHub Desktop.
A bash script to screencasting using ffmpeg. The video will recorded in mp4 format and saved on the current directory.
Reference: https://wiki.ubuntu.com/ScreenCasts/ffmpeg
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
#!/bin/bash | |
# generate the file name using the string provided on the args | |
ffmpeg -f x11grab -r 25 -s 1366x768 -i :0.0 -vcodec libx264 -sameq $1.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use
Make sure you make the script file is executable using this command
Run this command: