4 ms·
For anyone wondering how to do this on linux, I use recordmydesktop and ffmpeg to make small webms (~2mb). Highly recommend it. `recordmydesktop --windowid
by nickysielicki 11y ago
For anyone wondering how to do this on linux, I use recordmydesktop and ffmpeg to make small webms (~2mb). Highly recommend it.
`recordmydesktop --windowid $(xwininfo)`
and click the window you want to record.
`ffmpeg -i out.ogv -o final.webm`
and you're done! recordmydesktop is available in most distros afaik.
- masklinn 11y agoAnd for anyone wondering how to do this on OSX, QuickTime Player v10 (né QuickTime X) File > New Screen Recording > click big red button > select display section > Start Recording
- Manishearth 11y agoI used kazam to make this (and ffmpeg/convert to make it into a gif). But yeah, recordmydesktop works too. Though it has a small bug where, when recording a single window, the mouse position isn't shown correctly in the final video. (Instead of showing where the mouse was relative to the window, it takes the absolute position of the mouse and scales it down to the window size)
- FreeFull 11y agoHow come passing $(xwininfo) works? xwininfo outputs a lot more than just the window ID
- nickysielicki 11y agoI don't know why I said that it would. It doesn't. This works, though: recordmydesktop --windowid $(xwininfo | grep 'Window id' | cut -d' ' -f4) though its worth noting that it theoretically could detect that its being redirected and only output the window id