GithubHelp home page GithubHelp logo

joejoe2 / spring-video Goto Github PK

View Code? Open in Web Editor NEW
38.0 2.0 10.0 11.52 MB

HLS video streaming application with spring boot, Minio object storage, Kafka, Debezium and FFmpeg.

License: MIT License

Java 100.00%
hls hls-stream spring-boot ffmpeg object-storage debezium event-driven kafka

spring-video's Introduction

spring-video

Description

HLS video streaming application with Minio object storage, Kafka, Debezium and FFmpeg.

Architecture

image

Get Started

  1. install ffmpeg

  2. follow this to setup an authentication service and run it at port 8080

  3. run docker-sompose up -d

  4. run commands in ./command.txt

  5. run the current project and worker project (at ./worker)

  6. goto http://localhost:8080/swagger-ui/index.html#/auth-controller/login and login to get an access token

  7. goto http://localhost:8082/swagger-ui/index.html#/storage-controller/upload and upload a mp4 file

  8. goto http://localhost:8082/swagger-ui/index.html#/video-controller/create and create a video with the filename in 7. , please copy the video id from response

  9. goto http://localhost:8082/swagger-ui/index.html#/video-controller/profile with video id and wait for the video status become READY

  10. use http://localhost:8082/api/video/{your_video_id}/index.m3u8 for any HLS player

Testing

run mvn test or ./mvnw test

Lint

run

mvn spotless:check
mvn spotless:apply

or

./mvnw spotless:check
./mvnw spotless:apply

spring-video's People

Contributors

joejoe2 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.