Friday, September 10, 2010

Record your Linux desktop with sound

Record your Linux desktop with proper sound:
  • apt-get install gtk-recordmydesktop pavucontrol
  • launch pavucontrol
  • pavucontrol: go to the "Input Devices" tab
  • pavucontrol: select "Show: All Input Devices"
  • pavucontrol: select "Monitor of Internal Audio Analog Stero"
  • launch gtk-recordMyDesktop
  • gtk-recordMyDesktop: mark the checkbox at "Sound Quality"
  • gtk-recordMyDesktop: chose a window by clicking "Select Window"
  • gtk-recordMyDesktop: chose a location for the video via "Save As"
  • gtk-recordMyDesktop: press Record
  • gtk-recordMyDesktop: you can stop the via the icon in your systray
  • gtk-recordMyDesktop: if you use "Encode on the Fly" the resulting .ogv will be somewhat broken, to fix that use:
    ffmpeg -i input.ogv output.ogv -vcodec copy -acodec copy
  • gtk-recordMyDesktop: "Encode on the Fly" can help keep the file size small on long recordings
  • gtk-recordMyDesktop: to select an arbitrary area take an application (for example xzoom), position that window where you want to record, "Select Window" that window, close your application or move it out of the way, the selected area will not follow your application
  • pavucontrol: the Ubuntu sound control does not allow you to select the internal audio, it only allows you to record from microphones, that is why pavucontro is needed
  • gtk-recordMyDesktop: recordmydesktop can be used from command line without the gtk interface
  • recordMyDesktop: xwininfo can be used to get geometry informations of windows
  • gtk-recordMyDesktop: some applications require "Full shot at every frame"
  • OpenGL recording will not work very well with recordMyDesktop, try GLC instead

No comments: