提交合并

Signed-off-by: 萌森 <qyg2297248353@163.com>
This commit is contained in:
2024-07-17 16:30:13 +08:00
committed by qyg2297248353
commit 6c18fe434d
449 changed files with 21391 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
additionalProperties:
formFields:
- default: "/home/stream-rec"
edit: true
envKey: STREAM_REC_ROOT_PATH
labelZh: 数据持久化路径
labelEn: Data persistence path
required: true
type: text
- default: 12555
edit: true
envKey: PANEL_APP_PORT_HTTP
labelZh: API 端口
labelEn: API port
required: true
rule: paramPort
type: number
- default: "stream-rec"
edit: false
envKey: LOGIN_SECRET
labelZh: 登录密码 (初始化)
labelEn: Login Password (Initialization)
required: true
random: true
type: text
- default: ""
edit: true
envKey: HTTP_PROXY
labelZh: 网络代理
labelEn: Network Proxy
required: false
type: text
@@ -0,0 +1,27 @@
version: "3.8"
networks:
1panel-network:
external: true
services:
stream-rec-backend:
image: streamrec/stream-rec:v0.6.9
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:12555
volumes:
- ${STREAM_REC_ROOT_PATH}/records:/opt/records
- ${STREAM_REC_ROOT_PATH}/download:/download
environment:
- TZ=Asia/Shanghai
- LOG_LEVEL=INFO
- DB_PATH=/opt/records
- DOWNLOAD_PATH=/download
env_file:
- .env
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
@@ -0,0 +1,10 @@
#!/bin/bash
if [ -f .env ]; then
source .env
echo "Check Finish."
else
echo "Error: .env file not found."
fi
+34
View File
@@ -0,0 +1,34 @@
# Stream-Rec
Stream-rec 是一个自动录制各种直播平台的工具。
![Stream-Rec](https://github.com/hua0512/stream-rec-front/blob/master/docs/zh/dashboard.png)
## 特性
基于 Kotlin, Ktor, 和 ffmpeg。
+ 自动录播,可配置录制质量,路径,格式,并发量,分段录制(时间或文件大小),分段上传,根据直播标题和开始时间自动命名文件。
+ 自动弹幕录制(XML格式),可使用 DanmakuFactory 进行弹幕转换,或配合AList来实现弹幕自动挂载。
+ 使用 SQLite 持久化存储录播和上传信息
+ 支持 Rclone 上传到云存储
+ 使用 Web 界面进行配置
+ 支持 Docker
## 直播平台支持列表
| 平台 | 录制 | 弹幕 | 链接格式 |
|-----------|----|----|-----------------------------------------------|
| 抖音 | ✅ | ✅ | `https://www.live.douyin.com/{抖音id}` |
| 斗鱼 | ✅ | ✅ | `https://www.douyu.com/{直播间}` |
| 虎牙 | ✅ | ✅ | `https://www.huya.com/{直播间}` |
| PandaTV | ✅ | ✅ | `https://www.pandalive.co.kr/live/play/{直播间}` |
| Twitch | ✅ | ✅ | `https://www.twitch.tv/{直播间}` |
| AfreecaTv | ❌ | ❌ | |
| Bilibili | ❌ | ❌ | |
| Niconico | ❌ | ❌ | |
| Youtube | ❌ | ❌ | |
## 安装说明
当前项目为 Stream-Rec 的后端部分,请配合前端使用。
+17
View File
@@ -0,0 +1,17 @@
name: Stream Rec API服务
title: 自动流媒体录制工具
description: 自动流媒体录制工具
additionalProperties:
key: stream-rec-backend
name: Stream Rec API服务
tags:
- Tool
- Local
shortDescZh: 自动流媒体录制工具
shortDescEn: Automatic streaming media recording tool
type: tool
crossVersionUpdate: true
limit: 0
website: https://github.com/hua0512/stream-rec/
github: https://github.com/hua0512/stream-rec/
document: https://github.com/hua0512/stream-rec/
Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB