-
支持简单的登录验证,默认用户名密码都是admin。 如果不想要用户名密码,把_h5ai/public/index.php里第二行include 'login.php'注销。 修改用户名密码在_h5ai/public/login.php。
-
考虑到方便手动管理视频切片文件,会自动按照下面的目录结构播放video.m3u8,如果没有切片则会播放原始视频。 切片文件夹和文件默认都是隐藏的,不会在h5ai中显示,可以手动修改_h5ai/private/conf/options.json配置是否隐藏。
├── __abcd.mp4__
│ └── video.m3u8
└── abcd.mp4
aria2配置文件增加
on-download-complete=/data/aria2/hls_aria2.sh
hls_aria2.sh --> 下载完成后复制原始视频流编码自动切片。自行修改下载路径DOWNPATH(注意需要结尾的"/")。
hls_general.sh --> 将指定目录及所有子目录下的全部视频文件切片。自行修改目录绝对路径(注意结尾无"/")。
如果存在同视频文件名的vtt字幕,会自动载入字幕文件。 subtovtt.sh --> 将指定目录及所有子目录下的全部字幕文件转换为vtt字幕。自行修改目录绝对路径(注意结尾无"/")。