Git Product home page Git Product logo

hlsflow's Introduction

Hlsflow

Convert videos into hls stream with github action and host it for free

Why?

  • Explore the power of github workflow
  • Automate your video conversion work
  • Connect cdn with your github repo and publish videos directly from github (For private repo, For public repo use raw.githubusercontent.com)
  • No bandwidth limitations
  • Host videos for you vlog

Process

Here i used FFMPEG to convert those videos into hls stream. You can check convert.sh for better understanding the process. After conversion has been completed it will push that directory into github.

How to use?

  • Click on Use This Template & Generate a repo from this template
  • Create a personal access token with repo scope
  • Come back to your generated repo and go to Settings > Secrets > New repository secret
  • Secret name is GH_TOKEN (Imp) & Put your Access Token in Value Field
  • Edit convert.sh and put input and output details
  • Click Actions click on Create a Hls Stream > Run Workflow
  • Please don't change anything untill wokflow has been completed

Process

  • After completed you can stream it like this

    https://raw.githubusercontent.com/{YOUR_USERNAME}/{YOUR_REPOSITORY_NAME}/main/{OUTPUT_PATH_NAME}/master.m3u8
    
    Or, Go to output path and find 'master.m3u8' click on that, then click 'raw'
    

Huaah, this is github abuse !

No, This repository has been created for educational purposes. So, I'm not responsible for any kind of abuse. Also pushing some copyright material in your public repo is illegal.

Credits

License & Copyright

hlsflow's People

Contributors

tuhinpal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hlsflow's Issues

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.