

LATEST=`ls -tr ~/Videos/Screencasts/Screencast*.webm | tail -1`įfmpeg -i "$LATEST" -c:v libvpx-vp9 -minrate 2M -maxrate 2M -b:v 2M -pix_fmt yuv420p -r 16 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" "$. Since I'm probably going to do this a few times, I've put these steps in a script in ~/bin/convert-screencast, which finds the most recent recording and converts it to mp4: #!/bin/bash It also allows you to record all screen activities including onscreen changes, speech from microphone, audio from speakers, mouse movements and clicks into. I also had the problem that my video was an odd number of pixels wide, so I did this: ffmpeg -i recording.mp4 -vf "pad=ceil(iw/2)*2:ceil(ih/2)*2" 4 Twitter won't, so you need to convert that.


This makes something that mastodon will accept. A lot of searching finally got me something that worked.įirst, make an mp4 with a fixed frame rate: ffmpeg -i recording.webm -c:v libvpx-vp9 -minrate 2M -maxrate 2M -b:v 2M -pix_fmt yuv420p -r 16 recording.mp4 It produces a webM file with a lot of missing metadata, so I had to convert it. You may replace number 0 in the command as you want.I used the new screen recorder in ubuntu 22.04 (I think it's really the Gnome 3 built-in recorder) to record my screen, then wanted to share it on twitter and mastodon. Alternatively, run single command in terminal (Ctrl+Alt+T) to change the value: gsettings set .media-keys max-screencast-length 0 Screen down and click to change the value of ‘max-screencast-length’ as you want.Ģ. When it opens, navigate to org/gnome/settings-daemon/plugins/media-keys. Install Dconf Editor from Ubuntu Software and then launch it. Then you can press the shortcut key again at any time to stop the recording process.ġ. You can change 30 to any number in seconds or 0 with no time limit. The maximum video length is 30 seconds by default.

Maximum video length is 30s (change it via following steps).Stop recording also by pressing Ctrl+Alt+Shift+R.You can alternatively press Ctrl+Alt+T to open. Kazam SimpleScreenRecorder (ssr) vokoscreen-ng All the 3 are available to install in Ubuntu Software. In case you don’t know about any screen recording app, here are some that work in Xorg session with audio support. Start recording by pressing Ctrl+Alt+Shift+R on keyboard. Finally, type password to login and start recording via your applications.There’s no app shortcut or manual page for the hidden video recording tool. For Ubuntu 18.04, Ubuntu 19.10, and higher with the default Gnome desktop environment, there’s a built-in screen recording tool you may not know.
