Git Product home page Git Product logo

ffmpeg-video's Introduction

视频点播 & 切片下载

将视频转化为 m3u8 格式的文件,请求 m3u8 文件可以实现快速播放、点播等

m3u8 为一种 UTF-8 编码的播放列表文件,存储了视频片段的相关信息

需要借助特殊的播放器才能进行播放,如plyr 播放器

Features

  • 支持上传视频
  • mp4 视频转化为 m3u8 的格式
  • plyr 实现视频的点播
  • 支持切片下载视频文件

后端:koa + FFmpeg
前端:plyr-react + hls.js

Demo

demo

Installation

Install my-project with pnpm

前端:

1. cd client
2. pnpm i
3. pnpm dev

后端:

1. cd server
2. pnpm i
3. nodemon app.js

需要先安装FFmpeg

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.