Screen capture
Useful for making vids without using some external recorder.
With recordmydesktop
install
- Install recordmydesktop
- for Ubuntu open synaptic and install recordmydesktop & gtkrecordmydesktop
- got an error ("unable to load libjack.so") so i also installed libjack-dev,jack-tools and that seemed to work.
GUI use
- start gtkrecordmydesktop
- to capture audio for program output you need to use jack.
- open qjackctl and start
- open audio program and connect it to jack
- in gtkrecordmydesktop select advanced>sound>use jack for audio capture.
- select desired input/output port.
- link is here audio setup
- start video program
- use select window limit record area - you can also drag on preview image.
- default fps is 15 if faster is needed then change in advanced settings.
- hit record
- to stop recording use the square button in the taskbar.
Command line use
- start video program
- use xwininfo to get the window id of the video program. (just run and click the window needed)
- start recording :
recordmydesktop -windowid 0x6800007 <<<--- your window ID
(using no window id records the whole screen)
- pressing ctrl+c should stop capture - then the captured frames will be encoded. (pressing ctrl+c again will abort capture)
- the captured file is save in the current dir with prefix "out". file type is ogv by default.
need to figure out jack command line opts
Potential issues
- A few dropped frames this may cause de-syncing over a long time, might be better on lower res screen.
- On the applet viewer the manu bar is also captured we may want to
TODO
- Test capture audio too. only can caapture program output with jack