Giter Site home page Giter Site logo

itning / yunshu-nas Goto Github PK

View Code? Open in Web Editor NEW
138.0 7.0 52.0 24.19 MB

自建NAS系统,实现本地视频音频点播,文件存储等功能。自动视频转码,在线观看下载视频!

License: Apache License 2.0

Java 84.88% CSS 5.68% HTML 5.90% Shell 0.01% Dockerfile 0.04% Batchfile 0.01% TypeScript 3.35% SCSS 0.07% Less 0.05%
nas spring-boot java hls

yunshu-nas's Introduction

云舒NAS

GitHub stars GitHub forks GitHub watchers GitHub followers

Java CI with Maven GitHub issues GitHub license GitHub last commit GitHub release GitHub repo size in bytes Hits language GitHub Downloads (all assets, all releases)


依赖

jre = 21

支持数据库类型

MySQL8

Sqlite

Elasticsearch(可选) = 7

Docker

镜像仓库地址:Docker Pulls

docker run --name yunshu-nas -p 8888:8888 -e SERVER_URL=http://localhost:8888 itning/yunshu-nas:latest

启动脚本(aria2c 可以不用)

nohup java -jar yunshu-nas.jar >log.log 2>&1 &
nohup aria2c --rpc-listen-port 6800 --enable-rpc --rpc-listen-all >aria2c.log 2>&1 &

启动后访问 http://127.0.0.1:8888 进入设置页面设置数据库及数据源配置。

实现功能

截图

感谢

JetBrains Logo (Main) logo

yunshu-nas's People

Contributors

dependabot[bot] avatar itning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

yunshu-nas's Issues

请问保存数据库配置一直转圈是什么问题?

docker run --name yunshu-nas -p 8888:8888 itning/yunshu-nas:latest
nohup java -jar yunshu-nas.jar >log.log 2>&1 &
nohup aria2c --rpc-listen-port 6800 --enable-rpc --rpc-listen-all >aria2c.log 2>&1 &
将上述几条命令执行后,访问网页,能正常打开,但是在保存数据库配置的时候,一直转圈圈,不知道什么情况,地址、端口、账号和密码确认是对的,用Navicat工具能登录,JDK17也装过了,是我哪里填错了吗?

[root@AlmaLinux ~]# java -version
openjdk version "17.0.9" 2023-10-17 LTS
OpenJDK Runtime Environment (Red_Hat-17.0.9.0.9-1) (build 17.0.9+9-LTS)
OpenJDK 64-Bit Server VM (Red_Hat-17.0.9.0.9-1) (build 17.0.9+9-LTS, mixed mode, sharing)

db

太不走心了

容器应该没做测试
问题如下:

  1. 前端页面配置,没有支持远程配置,不应该js里面写死localhost:8888,有的场景可能是远程的服务器地址。不是本地的。
  2. 容器中竟然提示mysql driver没有安装。这么严重的问题没有处理。

是有bug嘛

2020-04-11 21:47:56.680 DEBUG 3364 -- [ XNIO-1 task-5] t.i.y.yunshunas.video.VideoRepository : path: E:\tmpq\071f149e5e589aff2a9de7808c410f50 mkdirs: false
2020-04-11 21:47:56.682 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.VideoRepository : path: E:\tmpq\071f149e5e589aff2a9de7808c410f50 mkdirs: false
2020-04-11 21:47:56.682 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : start videoConvert E:\迅雷下载[电影天堂www.dygod.cn]死亡飞车-cd1.rmvb E:\tmpq\071f149e5e589aff2a9de7808c410f50 071f149e5e589aff2a9de7808c410f50
2020-04-11 21:47:56.682 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : 1/4. start checkComplianceWithSpecificationsForHls E:\迅雷下载[电影天堂www.dygod.cn]死亡飞车-cd1.rmvb
2020-04-11 21:47:56.939 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : 2/4. end checkComplianceWithSpecificationsForHls E:\迅雷下载[电影天堂www.dygod.cn]死亡飞车-cd1.rmvb
2020-04-11 21:47:56.939 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : video: false audio: false
2020-04-11 21:47:56.939 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : 3/4. start copy E:\迅雷下载[电影天堂www.dygod.cn]死亡飞车-cd1.rmvb E:\tmpq\071f149e5e589aff2a9de7808c410f50 false false
2020-04-11 21:47:56.939 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : start getVideoFrames
2020-04-11 21:47:57.109 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : end getVideoFrames
2020-04-11 21:47:57.109 DEBUG 3364 -- [ trans-pool-0] t.i.y.yunshunas.video.Video2M3u8Helper : json array is empty
2020-04-11 21:48:43.807 DEBUG 3364 -- [ XNIO-1 I/O-1] t.i.y.y.socket.ProgressWebSocket : on close

Video2M3u8Helper.getVideoFrames 331行:read.isEmpty()
没有解析完就为空了

几个疑问

1.这个可以改成HLS+mp4+OOS 点播吗,现在只想HLS 拉流实现播放OOS上的mp4文件
2.ffmpeg是否可以通过maven引入的方式来做转化?我看有

org.bytedeco.javacpp-presets
ffmpeg-platform
4.1-1.4.4

依赖,针对不同环境有不同的SDK
3.谢谢,刚入坑 。。

添加音乐报错

java.lang.NullPointerException: Cannot invoke "top.itning.yunshunas.music.config.DataSourceConfig$DataSourceWrapper.dataSource()" because the return value of "java.util.Map.get(Object)" is null

截屏2024-06-29 下午12 01 11

开发路线

  • 分模块
  • Android客户端
  • 文件存储
  • 视频能在网页播放的不需要转码

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.