Add new applet: Screen Recorder (screen-recorder@kprakesh)#8367
Add new applet: Screen Recorder (screen-recorder@kprakesh)#8367kpr-dev590 wants to merge 2 commits intolinuxmint:masterfrom
Conversation
|
According to Gemini:
Also, you should handle the absence of ffmpeg in a more user friendly way since cinnamon can be installed on a lot of distros that may not install ffmpeg by default and people may not read the readme.md |
Thank you for your feedback! All requested changes regarding ffmpeg process handling, shell safety, and dependency checks have been implemented and pushed. |
|
Sorry, I forgot about this. Also, I've just noticed that there's already an applet which does screen recording using ffmpeg https://cinnamon-spices.linuxmint.com/applets/view/41 |
|
@fredcw I actually originally built this just for my own personal use to tinker with my setup, and figured I'd submit it just in case anyone else in the community found it helpful. I'm totally fine with closing this. Thanks for your time! |
Description
This PR introduces Screen Recorder, a new applet that allows users to easily capture their primary monitor directly from the Cinnamon panel.
Applet UUID:
screen-recorder@kprakeshFeatures
.webm(VP8/Vorbis) and.mp4(H.264/AAC) formats.pactl get-default-sink).Technical Details & Compliance
ffmpeg -f x11grabfor screen capture.Util.spawn(["bash", "-c", ...])andUtil.spawn(["killall", ...])) rather thanspawnCommandLineAsyncto prevent shell injection vulnerabilities.info.json.Dependencies
ffmpeg