ZLMediaKit / ZLMediaKit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11
https://docs.zlmediakit.com
Other
13.65k stars 3.37k forks source link

gb28181推流到Mediaserver,然后rtsp拉流播放,很卡顿。但flv拉流播放正常 #685

Closed ts0203 closed 3 years ago

ts0203 commented 3 years ago

image 您好,我用gb28181推流到mediaserver,然后转成http-flv 和 rtsp,提供给播放器拉流播放。flv播放正常。但rtsp播放很卡顿,vlc播放显示会有大量丢帧。

xia-chu commented 3 years ago

vlc默认udp方式播放rtsp 你改成tcp方式试试

ts0203 commented 3 years ago

已经是tcp方式了

xia-chu commented 3 years ago

其他播放器也卡吗

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: new_object <notifications@github.com> 发送时间: 2021年1月12日 08:35 收件人: xia-chu/ZLMediaKit <ZLMediaKit@noreply.github.com> 抄送: 夏楚 <771730766@qq.com>, Comment <comment@noreply.github.com> 主题: 回复:[xia-chu/ZLMediaKit] gb28181推流到Mediaserver,然后rtsp拉流播放,很卡顿。但flv拉流播放正常 (#685)

已经是tcp方式了

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ts0203 commented 3 years ago

用potplayer播放也是,flv不卡,rtsp卡。我在dumpDir路径下录制流,生成的mp2在vlc中可以流畅播放。视频源应该没啥问题。

xia-chu commented 3 years ago

zlm的rtsp能暴露公网吗

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: new_object <notifications@github.com> 发送时间: 2021年1月12日 14:34 收件人: xia-chu/ZLMediaKit <ZLMediaKit@noreply.github.com> 抄送: 夏楚 <771730766@qq.com>, Comment <comment@noreply.github.com> 主题: 回复:[xia-chu/ZLMediaKit] gb28181推流到Mediaserver,然后rtsp拉流播放,很卡顿。但flv拉流播放正常 (#685)

用potplayer播放也是,flv不卡,rtsp卡。我在dumpDir路径下录制流,生成的mp2在vlc中可以流畅播放。视频源应该没啥问题。

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ts0203 commented 3 years ago

暴露不了,在内网。抓rtsp包可以吗?

xia-chu commented 3 years ago

抓包不行 你frp搭建个就行

发自我的iPhone

------------------ 原始邮件 ------------------ 发件人: new_object <notifications@github.com> 发送时间: 2021年1月12日 16:19 收件人: xia-chu/ZLMediaKit <ZLMediaKit@noreply.github.com> 抄送: 夏楚 <771730766@qq.com>, Comment <comment@noreply.github.com> 主题: 回复:[xia-chu/ZLMediaKit] gb28181推流到Mediaserver,然后rtsp拉流播放,很卡顿。但flv拉流播放正常 (#685)

暴露不了,在内网。抓rtsp包可以吗?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ts0203 commented 3 years ago

你好,我搞了个frp环境,访问方式qq上联系你了。

xia-chu commented 3 years ago

咋样 ffplay播放的咋样