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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gyeonghokim/yellowstone

v3.0.8

Published

An RTSP client for node.js.

Readme

@gyeonghokim/yellowstone

NPM

This is a fork of yellowstone. The original Yellowstone is still actively maintained by Roger Hardiman and has many great new features, but it has not been deployed for the past few years.

The RTP/RTSP client for Node.js.

npm install @gyeonghokim/yellowstone --save

Getting Started

Yellowstone is a library to receive video, andio and metadata from RTSP/RTP sources including Wowza, MediaMTX and IP Cameras. The library can parse some common video and audio transport formats and delivers the (often compressed) video and audio data to the library user, or writes it to a file. The library does not include codec decoders.

Yellowstone is co-developed by Michael Bullington and Roger Hardiman.

Current Features

  • Receive Raw RTP/AVP via UDP & TCP (interleaved)
    • Basic and Digest Authentication
    • Pause, Play, and Teardown (Close)
  • H264/AVC transport parsing (and writing video to a .264 file)
  • H265/HEVC transport parsing (and writing video to a .265 file)
  • H266/VVC transport parsing (and writing video to a .266 file)
  • AV1 transport parsing (and writing video to a .obu file)
  • AAC transport paring (and writing audio to an .aac file)
  • ONVIF Metadata parsing (and writing to an output file)
  • ONVIF extensions to RTSP
  • ONVIF Audio Backchannel, sending ALaw audio to an IP Camera
  • Simple RTCP parsing

Examples

An example of most API features can be found at examples/demo.js, which will connect to a RTSP Stream and dump H264, H265, AV1 and AAC contents to a file. For example node examples\demo.js rtsp://myhostname/stream1 node examples\demo.js -u username -p password -t tcp rtsp://myhostname/stream1

To testthe output file with a video player you can use FFMPEG's ffplay command ffplay outfile.264

While yellowstone is /not/ dependent on ffmpeg, converting the file to an .mp4 can be easily accomplished with the following command.

ffmpeg -f h264 -i outfile.264 -vcodec copy outfile.mp4

The audio backchannel example from vietelle-solutions can connect to an ONVIF camera and send a .alaw audio file to the camera It plays a clip from the Monty Python's Holy Grail. An alaw file can be played with ffplay -f alaw -ar 8k -ac 1 audio.alaw

If you wish to play the H264 file directly, I've had good experience personally with the IINA video player for macOS. VLC and FFPLAY also work.

Documentation

You can find auto-generated documentation in the docs folder. Documentation can be re-generated with npm run typedoc

Building from source

Compile the Typescript source code to Javascript (in the dist folder) using these commands:-

npm install
npm run lint
npm run format
npm run build

Contributing

Please contribute features!

Yellowstone covers a very small subset of what's possible with RTSP/RTP. Feel free to write and submit pull requests for new features and bug fixes.