GithubHelp home page GithubHelp logo

music-rec / radiotubejs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from damiancipolat/radiotubejs

0.0 1.0 0.0 56.99 MB

Project to create a streaming radio, fetching the audio from youtube videos, and creating a custom content to continous streaming, using node.js

JavaScript 98.56% Shell 1.44%

radiotubejs's Introduction

RadioTubeJS

N|Solid

This project is about to create a radio-online using Node.js and fetching the content from youtube, downloading the audio from the videos, using the library ffmpeg to process and decode.

The project are divided in two sections a collector and the streaming server:

  • Collector:

    Is a process witch consume a json file with the youtube videoIds to download the files in a .mp3. The process can merge all the files in a bundle file, this will be used to streaming the audio in the radio.

    Install and run:

     $ cd /collector
     $ npm install
     
     #Download the audio from videos in the file video_files.json
     $ npm run download
     
     #Merge all
     $ npm run concat
  • Server streaming:

    Is a audio streaming server, that have a start a streaming of the bundle file created with the collector process.

    Install and run:

     $ cd /server
     $ npm install
     
     #Start
     $ npm start

    To try the server you can open a browser and enter to this url: http://127.0.0.1:9090/ or using VLC player you can load this url and play the streaming from them.

    Note: this server every time when you connect will play the audio from the begining, is'nt a continous streaming.

  • Server Radio:

    Pending, is a continous streaming. When you connect to this streaming the server will stream the audio that are playing in this moment, is diferent to the previous server.

radiotubejs's People

Contributors

damiancipolat avatar

Watchers

James Cloos 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.