@eyevinn/tsdemux

    0.1.1 • Public • Published

    tsdemux

    A writable Stream that demux MPEG-TS bitstream into seperate Readable streams.

    API

    const fs = require('fs');
    const { TSDemuxer } = require('@eyevinn/tsdemux');
    
    const source = fs.createReadStream('./samples/av.ts');
    const video = fs.createWriteStream('./output-video.h264');
    const audio = fs.createWriteStream('./output-audio.aac');
    
    const demuxer = new TSDemuxer({
      video: video,
      audio: audio,
    });
    source.pipe(demuxer);
    

    License

    MIT

    Keywords

    none

    Install

    npm i @eyevinn/tsdemux

    DownloadsWeekly Downloads

    3

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    4.22 MB

    Total Files

    10

    Last publish

    Collaborators

    • martinstark
    • jobi
    • slowmove
    • bwallberg