Coder Social home page Coder Social logo

h5ai_dplayer_hls's Introduction

说明

  1. 支持简单的登录验证,默认用户名密码都是admin。 如果不想要用户名密码,把_h5ai/public/index.php里第二行include 'login.php'注销。 修改用户名密码在_h5ai/public/login.php。

  2. 考虑到方便手动管理视频切片文件,会自动按照下面的目录结构播放video.m3u8,如果没有切片则会播放原始视频。 切片文件夹和文件默认都是隐藏的,不会在h5ai中显示,可以手动修改_h5ai/private/conf/options.json配置是否隐藏。

├── __abcd.mp4__
│   └── video.m3u8
└── abcd.mp4

简易自动切片

搭配Aria2

aria2配置文件增加

on-download-complete=/data/aria2/hls_aria2.sh

hls_aria2.sh --> 下载完成后复制原始视频流编码自动切片。自行修改下载路径DOWNPATH(注意需要结尾的"/")。

通用转换切片文件

hls_general.sh --> 将指定目录及所有子目录下的全部视频文件切片。自行修改目录绝对路径(注意结尾无"/")。

ass,srt字幕转vtt字幕

如果存在同视频文件名的vtt字幕,会自动载入字幕文件。 subtovtt.sh --> 将指定目录及所有子目录下的全部字幕文件转换为vtt字幕。自行修改目录绝对路径(注意结尾无"/")。

h5ai_dplayer_hls's People

Watchers

James Cloos 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.