5

[ubuntu] Recording Alias

view full story
linux-howto

http://ubuntuforums.org – Hello, Currently I am using the following script to record my desktop. Code: ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1920z1080 -i :0.0 -acodec pcm_s16le -vcodec libx264 -preset ultrafast -threads 0 screencast.mkv Is it possible to create a alias so that when I run it, it starts the script and makes a new file name for each recording. Because at the moment if I tried to use the script twice it would ask me if I wanted to override it. Also it would save me copying the code every time. Many Thanks. (Hardware)