Giter Site home page Giter Site logo

online-courses's Introduction

OnlineCourses希沃在线课堂

简介

场景:

​ 又因为调皮捣蛋被停课了?(没错就是我自己)

​ 不方便到学校?

​ 就是想躺在床上上课?

让OnlineCourses来解决这些问题!

班级一体机不断上传音频视频文件到阿里云盘,本地电脑下载并转码,最终通过前端应用程序享受线上课程!

Wonderful!

部署

在班级希沃电脑(或其他Win10一体机)和家中小电脑上分别部署程序.

希沃

  1. 编译server/中程序.

    git clone https://github.com/yht0511/online-courses.git
    cd online-courses/server
    pip install -r requirements.txt # 安装依赖
    pip install pyinstaller
    pyinstaller -w -F main.py -i shell32_278.ico # 打包(程序输出到dist/)
  2. 下载aliyunpan.

  3. 将两个文件通过QQ/邮箱/SSH/U盘等方式传递到一体机上.

  4. 将aliyunpan.exe所在目录添加到PATH.

    setx path "%path%;目录路径"
  5. 登录aliyunpan.

  6. 添加启动项,让监控程序开机自启.

本地

推荐在Linux系统上部署.

apt install ffmpeg git python3 python3-pip python-pip git -y # 安装必要的软件包
git clone https://github.com/SocialSisterYi/bcut-asr
cd bcut-asr
./setup.py install
git clone https://github.com/yht0511/online-courses.git
cd online-courses
pip install -r requirements.txt # 安装依赖
mv aliyunpan /usr/bin/
aliyunpan login # 登录阿里云盘
nohup python3 main.py > oc.log &

效果

效果示范-1

效果示范-2

字幕-中文

字幕-英文

网页播放器支持:

  1. 进度条及时间显示
  2. 倍速播放(F键加速,S键减速)
  3. 快进快退(左右箭头)
  4. 隐藏侧边栏(减号隐藏,加号显示)
  5. 分课程播放/整体播放
  6. 实时字幕(斜杠'/'切换显隐)

online-courses's People

Contributors

yht0511 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

xhhemoing yixuqiu

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.