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

intrasonics-sdk

v1.0.3

Published

Nodejs wrapper sdk to assist you with command line encoding software of intrasonics

Downloads

8

Readme

Intrasonics SDK

Intrasonics SDK is a Nodejs wrapper sdk to assist you with command line encoding software of intrasonics

  • The Intrasonics AV encoder allows users to insert codewords into media (audio/video) files. The user can specify which codewords they wish to insert and at what point in time within the media file they should be inserted.
  • The encoder is available on Windows, Mac, or Linux. It uses a command/terminal window and the user may specify codewords and timings using either a configuration file or by typing commands at a prompt.
  • Magic

Installation

npm install intrasonics-sdk

Tech

Intrasonics SDK uses a number of open source projects to work properly:

  • npm - Essential JavaScript development tools that help you go to market faster and build powerful applications using modern open source code.
  • node.js - evented I/O for the backend
  • intrasonics - Intrasonics' audio watermarking technology uses sound to help you harness consumer interest when it matters most.

Requirements

Intrasonics SDK uses resources provided by intrasonics:

  • encoding software - A Folder contains files AVFileDecoder ffmpeg ffprobe files provided by intrasonic for encoding
  • encoder token - Encoder token (with .ist suffix) used to get access provided by intrasonics

Encoder Sofware Versions used

  • Linux - LinuxAVEncoder_4.2.0
  • Mac - OSXAVEncoder_4.2.0
  • Windows - WindowsAVEncoder_1.0.7

Example

const IntrasonicsSDK = require('intrasonics-sdk');

let intrasonicsSDK;
try {
  intrasonicsSDK = new IntrasonicsSDK({ softwareFolder: 'intrasonics', tokenPath: 'intrasonics/intrasonics-token.ist' });
  intrasonicsSDK.encode({
    filePath: 'input-files/audio.mp3',
    codeword: '10001',
    outputPath: 'encoded-files/audio_encoded.mp3',
    eventEngine: true
  })
    .then((stdout) => {
      console.log(stdout);
    }, (err) => {
      console.error(err);
    })
} catch (err) {
  console.error(err);
}

Main Constructor and Config Options

const intrasonicsSDK = IntrasonicsSDK({softwareFolder, tokenPath});

softwareFolder (string) [folder path or folder name]

  • name or path to folder which will contain AVFileDecoder ffmpeg ffprobe files i.e. Encoder Software.

tokenPath (string) [file path or file name]

  • name or path to the encoder token (with .ist suffix)

Encoder Instance Method and Config Options

await intrasonicsSDK.encode({filePath, codeword, [outputPath], [eventEngine], [time]})

filePath (string) [file path or file name]

  • file name or file path of a audio/video file to be encoded

codeword (string)

  • watermarkId/trackId that will be encoded in audio/video file

outputPath (string) [optional]

  • file name or file path to encoded/output file

eventEngine (boolean | number) [optional]

  • controls event engine 2 encoding true for on or time offset in number

time (number) [optional]

  • time in seconds where the codeword will be placed

Encoding Error

stderr (string) [optional][availabe when encode recieves error]

console.error(intrasonicsSDK.stderr)
  • availabe when encode method gives an error