pearlulu / h5ai_dplayer Goto Github PK
View Code? Open in Web Editor NEWh5ai_dplayer_hls_flvjs
h5ai_dplayer_hls_flvjs
本人一直在关注并使用您魔改的h5ai版本,现h5ai居然在24号更新了,特询问作者未来是否会考虑进行下适配。
与Aria2配合时,每次重启Aria2后,Aria2默认下载文件夹已经移走的文件就会全部重新复制一份到默认下载文件夹
您好,可以访问服务器docker,也ping得通,就是无法直连到h5ai,只能通过代理连接到h5ai页面。
挂代理后,通过h5ai生成的视频下载链接也不可以访问。
https://github.com/Pearlulu/h5ai_dplayer_hls/blob/ead81a39a831b4ed8c7cccef94de2712ebc53856/hls_aria2.sh#L14
https://github.com/Pearlulu/h5ai_dplayer_hls/blob/ead81a39a831b4ed8c7cccef94de2712ebc53856/hls_general.sh#L12
该代码切分此格式无异常
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1788 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
大佬有完善的打算吗?
在宝塔面板里反代/live目录后会导致h5ai “invalid path”
想问下大佬能否出个h5ai转播YouTube直播的教程
谢谢!
subtovtt.sh可以将ass,srt字幕转vtt字幕,但是ass,srt字幕的编码如果是ASCII则会报错。应该在调用ffmpeg转化之前先将ass,srt字幕的编码转化为UTF8。
subtovtt.sh相关代码我进行了调整,实现先转换编码再转换字幕。
#!/bin/bash
subdir="/root/oneDrive/oneDrive"
MY_SAVEIFS=$IFS
IFS=$'\n'
function sub(){
for file in "$1"/*
do
if [[ -d "$file" && "${file:0-2}" != "_h5ai" && "${file:0-2}" != "__" ]]; then
sub "$file"
else
if [[ "${file##.}" == "ass" || "${file##.}" == "srt" ]]; then
filenotype="${file%.*}"
echo $filetype;
fl=$(basename $file);
if [[ ! -f "${filenotype}.vtt" ]]; then
cp $file /tmp/$fl;
/usr/local/bin/enca -L zh_CN -x UTF-8 /tmp/$fl;
mv -f /tmp/$fl $file;
echo "change utf"$file;
/usr/local/bin/ffmpeg -i "$file" "${filenotype}.vtt"
# rm "$file"
fi
fi
fi
done
}
sub "$subdir"
IFS=$MY_SAVEIFS
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.