Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #Filename:screencast.sh
- #Released under a GPLv3 Licence by Clockwork PC
- #Webcam
- #gnome-terminal -x ffmpeg -f video4linux2 -r 30 -s 640x480 -i /dev/video0 -b 1000k ~/Videos/Screencasts/webcam_on_$(date +%F_%A_at_%H:%M:%S).mkv
- #Desktop and Audio
- ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1680x1050 -i :0.0 -acodec libmp3lame -sameq -threads 0 ~/Videos/Screencasts/screencast_on_$(date +%F_%A_at_%H:%M:%S).mkv
- #Webcam and Audio
- #gnome-terminal -x ffmpeg -f alsa -ac 2 -i pulse -f video4linux2 -r 30 -s 640x480 -i /dev/video0 -b 1000k ~/Videos/Screencasts/webcam_on_$(date +%F_%A_at_%H:%M:%S).mkv
- #Desktop only
- #ffmpeg -f x11grab -r 30 -s 1680x1050 -i :0.0 -sameq -threads 0 ~/Videos/Screencasts/screencast_on_$(date +%F_%A_at_%H:%M:%S).mkv
- xcowsay "Your video will be ready in a tick"
- #nautilus ~/Videos/Screencasts ~/Videos/Tutorials/
- #openshot ~/Videos/Tutorials/tutorials_project.osp
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement