Coder Social home page Coder Social logo

ogg-transcode-server's Introduction

Get started

Install dependencies

npm install

Start the http server

PORT=8080 node index.js

Docker

docker run -p "8080:8080" ghcr.io/seanghay/ogg-transcode-server:latest

8080 is the default port of the http server. It can be changed with a PORT env.

1. OGG to MP3

Path: /transcode-mp3

Method: POST

Request Body: binary

Request Header:

  • Content-Type: audio/ogg

Response Body: binary

Response Header:

  • Content-Type: audio/mp3

2. OGG to WAV

Path: /transcode-wav

Method: POST

Request Body: binary

Request Header:

  • Content-Type: audio/ogg

Response Body: binary

Response Header:

  • Content-Type: audio/wav

ogg-transcode-server's People

Contributors

seanghay avatar

Watchers

 avatar

ogg-transcode-server's Issues

Use to transcode icecast2 ogg stream to mp3?

I'm looking for a low cost (resources) containerised way of transcoding/re-streaming an ogg icecast2 stream, to mp3 for ios users.

I get the feeling that this might be able to do that, but I don't really understand it at all.

ogg buffer?

Can this transcode a stream, how do I pass it into the container, how do I get the transcoded mp3 out?

This might not be possible...it might be relying on local setup, to get the ogg stream.

Apologies if I am completely off the mark, and if asking is not the correct thing to do.

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.