An open API service indexing awesome lists of open source software.

https://github.com/openchat-im/egg-ffmpeg

🎞 @egg-video-admin for @egg-ffmpeg
https://github.com/openchat-im/egg-ffmpeg

admin decode egg egg-ffmpeg encrypt es2015 es6 ffmpeg javascript js mysql node nodejs redis video video-admin video-decode vue vue-admin vue-admin-element

Last synced: about 4 hours ago
JSON representation

🎞 @egg-video-admin for @egg-ffmpeg

Awesome Lists containing this project

README

          





vue


element-ui


license

简体中文 | [English](./README.md)

## 简介

[egg-video-admin](https://github.com/herghost000/egg-ffmpeg) 是一个视频点播后台集成解决方案,它基于 [FFmpeg](http://ffmpeg.org/)、[Egg](https://eggjs.org/zh-cn/) 和 [Vue](https://cn.vuejs.org/index.html)。作者大大每天都在更新新的需求:pencil2:,希望不管你的需求是什么,本项目都能帮助到你。

## 前序准备

:tada: 本项目技术栈基于 [FFmpeg](http://ffmpeg.org/)、[ES2015+](http://es6.ruanyifeng.com/)、[egg](https://eggjs.org/zh-cn/)、[vue](https://cn.vuejs.org/index.html)、[vuex](https://vuex.vuejs.org/zh-cn/)、[vue-router](https://router.vuejs.org/zh-cn/) 、[axios](https://github.com/axios/axios) 和 [element-ui](https://github.com/ElemeFE/element),提前了解和学习这些知识会对使用本项目有很大的帮助。

:loudspeaker: 拉取项目前你还需要做如下准备

##### 官方文档
:zzz:

##### 安装node
https://nodejs.org

##### 安装ffmpeg
http://ffmpeg.org

##### 安装mysql
https://www.mysql.com

##### 安装redis
https://redis.io/

**如有问题请先看上述使用文档和文章,若不能满足,欢迎 issue 和 pr:smile:**

![image](https://raw.githubusercontent.com/herghost000/egg-ffmpeg/master/app/public/image/thumb.png)

## 功能

- ✔支持在线上传视频并转码为mp4,同时切片为m3u8
- ✔︎支持分享视频链接、iframe链接
- ✔︎支持ts加密
- ✔︎支持水印烧录
- ✔︎支持防盗链
- ✔︎支持灵活配置,单独为角色赋予用户组、角色、或某些权限
- ❌支持gif转码为视频
- ❌支持多集发布
- ❌支持转码为多种视频格式
- ✨

## 开发

```bash
# 克隆项目
git clone https://github.com/herghost000/egg-ffmpeg.git

# 配置数据库
database/config.json
config/config.default.js

# 安装服务端依赖
npm install

# 建议不要用 cnpm 安装 会有各种诡异的bug 可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务端,默认7001端口
npm run dev

# 修改客户端代理端口
client/config/index.js
修改proxyTable target的端口为服务端启动端口

# 启动客户端
cd client & npm install & npm run dev

```

## 发布

:zzz:

## 其它

:zzz:

## Changelog

:zzz:

## Online Demo

:zzz:

## Donate

:zzz:

## Browsers support

Modern browsers and Internet Explorer 10+.

| [IE / Edge](http://godban.github.io/browsers-support-badges/)IE / Edge | [Firefox](http://godban.github.io/browsers-support-badges/)Firefox | [Chrome](http://godban.github.io/browsers-support-badges/)Chrome | [Safari](http://godban.github.io/browsers-support-badges/)Safari |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| IE10, IE11, Edge | last 2 versions | last 2 versions | last 2 versions |

## License

[MIT](https://github.com/herghost000/egg-ffmpeg/blob/master/LICENSE)

Copyright (c) 2017-present 乄ZackAddy