Advertisement
narenarya

Install open source Desktop recorder in Ubuntu

Feb 17th, 2015
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. $ sudo apt-get install libav-tools
  2. $ sudo apt-get install yasm
  3.  
  4. #Install screen recorder
  5. $ git clone git://git.libav.org/libav.git
  6. $ cd libav
  7. $ ./configure
  8. $ make
  9. $ sudo make install
  10.  
  11. #Capture recording using this command
  12. $ avconv -f x11grab -r 25 -s 1920x1080 -i :0.0 -vcodec libx264 -threads 4 $HOME/output.avi
  13.  
  14.  
  15. Now let’s explain the command in short:
  16.  
  17. avconv -f x11grab is the default command to capture video from the X server.
  18. -r 25 is the frame rate you want, you may change it if you like.
  19. -s 1920×1080 is your system’s screen resolution, change it to your current system resolution, it’s very important to do this.
  20. -i :0.0 is where we want to set our recording start point, leave it like this.
  21. -vcodec libx264 is the video codec that we’re using to record the desktop.
  22. -threads 4 is the number of threads, you may change it as well if you like.
  23. $HOME/output is the destination path where you want to save the file.
  24. .avi is the video format, you may change it to “flv”, “mp4″, “wmv”, “mov”, “mkv”.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement