Giter Club home page Giter Club logo

stream2me's Introduction

stream2me

Package stream2me is a simple MPEG-2 command line tool that downloads and concatenates .ts stream chunks.

Status

V1.0

Installation

Required build version: go1.9 and up

go get github.com/hhrutter/stream2me/...

Usage

Usage: stream2me outFile baseUrl

outFile ... the output .ts file

baseUrl ... the url for fetching .ts chunks

Example: stream2me test.ts https://xyz.org/content/test_

stream2me will go and fetch chunks using a format string that will be appended to the url. There has to be a counter as part of the format string. In the example above using the default format string %d.ts stream2me will fetch the urls:

https://xyz.org/content/test_0.ts
https://xyz.org/content/test_1.ts
https://xyz.org/content/test_2.ts

and so forth but not necessarily in that order.

Once all chunks are downloaded stream2me will concatenate them and write out the result to test.ts in this example.

You may have to patch the format string to your needs.

License

MIT

Powered By

stream2me's People

Contributors

hhrutter avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.