
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Universal screen recorder powered by GStreamer
sudo npm install -g gst-rec
Requires GStreamer-1.0 with gst-launch-1.0
binary and following GStreamer1 plugins: base, good, bad, ugly.
The application is intended for use from terminal with gst-rec
command.
With default configuration gst-rec
will record desktop and save it to /tmp
directory. Default configuration can be overwritten by ~/.config/gst-rec.json
config file.
# Record 25 fps video and scale it to HD resolution:
gst-rec --video width=1280,height=720,fps=25,scaling=true
# Change encoding preset, video container, output file location and set custom filename:
gst-rec --preset ultrafast --format mp4 --file 'dir=/my/custom/path,name=My Awesome Recording'
# Record desktop with audio from pulseaudio sink:
gst-rec --audio device=alsa_output.pci-0000_00_01.1.hdmi-stereo.monitor
# Show list of system audio devices:
gst-rec --list-audio-devices
# Record to `~/Videos` directory as MP4 file with AAC audio from dev0:
gst-rec --audio device=dev0,encoder=faac --format mp4 --file dir=~/Videos
# Run GStreamer tcp server to allow connecting from multiple devices:
gst-rec --output server --server host=127.0.0.1,port=8080
# Create http server in addition to tcp server for devices that only support it:
gst-rec --output server --server port=8080 --http-port 8081
# Send scaled video output to `stdout` and receive it through `ffplay`:
gst-rec --video width=960,height=540,fps=30,scaling=true -o - | ffplay -fflags nobuffer -
# Run with default options, ignoring custom config file:
gst-rec --ignore-config
# Stream desktop to Chromecast using `castnow`:
gst-rec -o - | castnow --quiet -
# Stream desktop with audio to Chromecast:
gst-rec --audio device=dev0,encoder=lamemp3enc -o - | castnow --quiet -
# Alter default configuration and display it in JSON format (can be placed in config file):
gst-rec --preset superfast --video width=1280,height=720,fps=25,scaling=true --show-config
# Create new config file with default values:
gst-rec --ignore-config --show-config > ~/.config/gst-rec.json
Run gst-rec --help
for a list of all available options.
If you like my work please support it by buying me a cup of coffee :grin:
FAQs
Universal screen recorder powered by GStreamer
The npm package gst-rec receives a total of 3 weekly downloads. As such, gst-rec popularity was classified as not popular.
We found that gst-rec demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.