Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
gst-rec
Advanced tools
Readme
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 0 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.