Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anthonyju/rtsp2flv
RTSP to FLV
https://github.com/anthonyju/rtsp2flv
flv rtsp rtsp-to-flv
Last synced: 8 days ago
JSON representation
RTSP to FLV
- Host: GitHub
- URL: https://github.com/anthonyju/rtsp2flv
- Owner: AnthonyJu
- License: mit
- Created: 2023-05-15T07:43:45.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-06T14:53:04.000Z (about 1 year ago)
- Last Synced: 2023-10-06T15:44:19.930Z (about 1 year ago)
- Topics: flv, rtsp, rtsp-to-flv
- Language: HTML
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RTSP to FLV
## 1. Introduction
后端nodejs使用ffmpeg将RTSP流转换为FLV流,然后前端使用flv.js播放FLV流。## 2. Usage
1. 安装 [ffmpeg](https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/ffmpeg-master-latest-win64-gpl.zip)
2. 配置 ffmpeg 的 bin 目录环境变量,或在 index.js 中修改 ffmpegPath
3. 修改 index.html 中的 rtspUrl
4. 安装依赖 npm install
5. 启动服务 npm dev ,访问 http://localhost:8000## 3. Attention
1. CPU 使用率会较高
2. 如果服务器性能不好,可以考虑使用 GPU 加速
3. 当然如果同时需要转换的RTSP较少,也可以接受
4. 本项目只是简单的 demo 并运行在 windows
5. 如需在 linux 使用请安装linux对应 [ffmpeg](https://github.com/BtbN/FFmpeg-Builds/releases)