GithubHelp home page GithubHelp logo

nolovenodie / streams-project Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 42 KB

云任务视频多码率切片,预览视频,预览图表生成,自动上传结果,HLS 播放器

License: MIT License

JavaScript 4.86% Python 90.10% HTML 5.04%

streams-project's Introduction

Streams Project

云任务视频多码率切片,预览视频,预览图表生成,自动上传结果,HLS 播放器

安装环境

安装环境

pip install -r requirements.txt
npm install -g pkg
npm install
curl https://rclone.org/install.sh | sudo bash

编译依赖

# 编译预览表合成程序
pkg thumbs.js

# 更改 thumbs 名称
# Windows: 更改 thumbs-win.exe 名为 thumbs.exe
mv thumbs-linux thumbs

# 赋权
chmod 777 thumbs

部署方法

请修改 sample.env 内 配置 后再部署

# 应用配置
cp sample.env .env

# 部署云任务 Worker
# Windows: 因 Celery 不兼容, 如需测试请加上 -P eventlet 后再运行
celery -A app worker -l error

投递任务

from worker import handle_movie
print(handle_movie.delay("输入目录", "输出目录").id)

基于项目

streams-project's People

Contributors

nolovenodie avatar

Stargazers

 avatar

Watchers

 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.