Making a Video of a Single Window
tratt.net
tratt.net
I don't fault the author of SimpleScreenRecorder at all. Objectively it's the perfect name for the tool. I just realized how sad this is that my mind went straight to "Oh, sounds like one of those shit apps".
This one looks really good though!
I have a few friends who use windows. They live in this weird world where everything they call "free" is a trap. They are usually very impressed when I show them repositories and flathub.
But it was nice to learn about hk !
take a look at simplescreenrecorder. it just works and i can record, save and upload a file in as much time as it takes for the recording.
this takes almost no resources while OBS is a resource hog, unless you are streaming, there is absolutely no reason to use OBS.
But yeh, it's heavy. I tend to use peek for quick ones.
I used to manually select area to record (with border outside the window to record) until I searched and found a solution using ffmpeg to add the border. So, now I just use the select window option. I also use Auto-Editor (https://github.com/WyattBlue/auto-editor) to prune silent portions.
I'm confused, as it is super lightweight.
Most of its resource usage is from video encoding. You can lower the quality, exchange bitrate for cpu while keeping the quality, or even use hardware encoding.
Not true in my experience. Simplescreenrecorder was not capable of recording (without streaming) full screen opengl games with sound at acceptable quality last time I tried it, OBS is the only thing I've found that will do this apart from hardware based recorders. To be fair, the last time I tried simplescreenrecorder was several years ago, perhaps it has improved in the meantime.
I haven't used SSR before, but I'm not even seeing a meter for adjusting your microphone volume.
ffmpeg -f gdigrab -framerate 30 -i title=Calculator output.mkv
$ which capture_window
capture_window () {
save_dir="$(mktemp -d)"
filename="$save_dir/$(date +%Y-%m-%d_%H-%M_%S).mp4"
ffmpeg -f x11grab -framerate 25 $(xwininfo | gawk 'match($0, /-geometry ([0-9]+x[0-9]+).([0-9]+).([0-9]+)/, a)\
{ print "-video_size " a[1] " -i +" a[2] "," a[3] }') $filename
echo "Saved as \"$filename\""
}https://tratt.net/laurie/blog/2022/making_a_video_of_a_singl...
Uncaught (in promise) DOMException: MediaRecorder constructor: video/webm;codecs=h264 indicates an unsupported codec screencap.video:123
Uncaught TypeError: mediaRecorder is undefined
Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0What you can do is select a region of a screen to video capture with cmd+shift+5. But that’s capturing from the framebuffer, so it captures whatever’s below the rounded corners as well (and doesn’t capture the window shadow).