npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

remuxme

v1.0.4

Published

ffmpeg process manager

Downloads

23

Readme

remuxme (production beta)

Ffmpeg process manager (cli and graphql)

asciicast


installation

$ sudo npm install remuxme -g

features

  • ffmpeg as process
  • auto restart on fail
  • remote ffmpeg processes management
  • cpu affinity
  • command line
  • graphql api
  • log streaming
  • nodejs api

start cli

$ remux

video tutorials

ffmpeg stream log asciicast

manage remote remux node asciicast

config processes and taskset asciicast

remote remux node config change asciicast


screen-shots

graphql remuxcli


road map

  • ffmpeg process add / remove from cli
  • ffmpeg process params edit from cli
  • ffmpeg process template configuration
  • modules integration
  • user manual
  • api documentation

help

Commands:

  help [command...]                                  Provides help for a given command.
  exit                                               Exits application.
  list [options]                                     List remux processes.
  start <id>                                         Start ffmpeg service.
  stop <id>                                          Stop ffmpeg service.
  restart <id>                                       Restart ffmpeg service.
  info <id>                                          Get full information about ffmpeg service.
  taskset <id> <cpus>                                Change CPU affinity for working process.
  process set <id> [variable] [value]                Set or view ffmpeg-service valiables.
  server start                                       Start/Restart Remux server.
  server restart                                     Restart Remux server.
  server stop                                        Stop Remux server.
  server set [variable] [value]                      Set or view Remux valiables.
  connect local                                      Connect to local server.
  connect host <id>                                  Connect to remote server.
  connect info                                       Info for current Remux host connection.
  host list                                          List of configured remote hosts.
  host settings <id>                                 Get host settings by id.
  host add <name> <ssl> <host> <port> <user> <pass>  Add new host.
  host remove <id>                                   Remove host configuration.
  host set <id> <variable> <value>                   Set host valiable.
  log start <id>                                     Attach to log stream for process.
  log stop <id>                                      Disconnect from log stream for process.

config information

on first start remux make ~/.remux.io/ folder and put all configuration files there. to edit demo ffmped process or add new please look ~/.remux.io/processes.json (also the feature to change ffmpeg params and add new process from cli is in road map )

remux.json /remux server config file/

host: ip address.

port: port number of remux server.

debugGraphQL: If true, presents GraphiQL when the GraphQL endpoint is loaded in a browser.

admin: user name of server access.

pass: password for user.

ffmpegDefaultPath: path to default ffmpeg binary.

{
  "ssl": "false",
  "host": "0.0.0.0",
  "port": 4000,
  "debugGraphQL": true,
  "admin": "remux",
  "pass": "remuxme",
  "ffmpegDefaultPath": "/usr/bin/ffmpeg"
}
processes.json /ffmpeg processes configurations/

name: Name of ffmpeg process.

description: Description for ffmpeg process.

program: Path to ffmpeg bin. If null then remux will use default ffmpeg from remux.json.

args: Array of ffmpeg arguments.

cpus: Taskset settings.

{processes:[
  {
    "name": "NullTV",
    "description": "Ffmpeg testsrc to udp://127.0.0.1:30000",
    "program": null,
    "args": [
      "-re",
      "-f","lavfi",
      "-i","testsrc=duration=-1:size=640x360:rate=25",
      "-c:v","libx264",
      "-g","50",
      "-r","25",
      "-f","mpegts",
      "-y","udp://127.0.0.1:30000"
    ],
    "cpus": "0-1"
  }
]}

used modules

  • pm2
  • vorpal
  • chalk
  • cli-table2
  • duration
  • express
  • express-graphql
  • graphql
  • jsonfile
  • request