If you record screen with (ctrl+shift+alt+R)
in Ubuntu, you'll get a webm file, GitHub wants mp4. So you need to convert from webm to mp4.
The ffmpeg
command allows such a conversion.
Ubuntu's file navigator allows to have some right-click scripts shortcuts.
To be dropped and chmod +x
in something like ~/.local/share/nautilus/scripts/ffmpeg convert to mp4
#!/bin/bash
path=$1
ffmpeg -y -i "${path}" "${path}.mp4"
notify-send "converted ${path}"
Example usage of
convert a screencast
https://user-images.githubusercontent.com/213458/132717210-b4170634-db86-4176-9be2-2dea1193ef9c.mp4