Comments (1)
目前ZLMediaKit有rtsp、rtmp流互相转换的机制;
在转换途中会提取出相应的帧,包括H264/H265;
你可以对提取出的H264、H265的关键帧进行截屏快照。
但是这样有他的局限性,虽然ZLMediaKit可以接受任意编码格式的推流,
但是只能转换H265/H264的视频,所以并不是所有的编码格式都能提取出关键帧。
假如你的视频流都是H264编码,你可以通过截取关键帧的方式来保存截图,
但是如果是很多种类型的编码,那么建议还是采用外挂FFmpeg方式来截屏。
外挂FFmpeg方式虽然性能不怎么好,截屏速度也慢,但是好处是灵活,
跟你的程序解耦,并且就是FFmpeg崩溃了也不影响你流媒体服务器的稳定性。
综合考虑,还是建议你采用目前这种方案。
from zlmediakit.
Related Issues (20)
- 服务器响应RECORD成功,为什么推流ZlmediaKit接收不到 HOT 3
- [技术咨询] ZLM的镜像里../www/snap 下的截图全是破损图片 HOT 1
- 国标拉流播放跑一段时间崩溃 HOT 5
- [BUG] 删除录像文件成功,但是文件还是存在 HOT 24
- 国标拉流崩溃,大概率出现 HOT 1
- [BUG] docker执行MediaServer OBS无法正常推流 HOT 3
- [技术咨询] log中反复出现一个未知ip的WebRtcSession报错 HOT 2
- 最新代码 国标拉流崩溃 HOT 2
- [技术咨询] WebSocketClient是否支持切换opcode HOT 4
- 是否有arm架构服务器的docker版本镜像或者安装包 HOT 4
- [技术咨询] 使用C++ API的方式二次开发 发现了rtsp播放偶发画面卡死的现象 HOT 3
- [BUG] 点播端口分配异常 HOT 4
- webrtc播放,chrome和edge都无法播放,有响应,但是无画面 HOT 12
- 使用webrtc无法进行对讲 HOT 3
- [技术咨询] 录制视频回看 HOT 1
- 运行项目webrtc testplay,不能正常播放,提示连接失败 HOT 2
- 拉流rtsp需要提供用户名密码 HOT 2
- webrtc服务,在ubantu搭建服务器,浏览器端播放正常,在安卓手机端播放显示超时 HOT 1
- [技术咨询] ZLM有支持Slice解码吗? HOT 4
- [技术咨询] build_docker_images.sh 编译失败 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zlmediakit.