随笔分类 -  流媒体

摘要:转载请注明出处:https://www.cnblogs.com/leisure_chn/p/10623968.html 1. 简介 流媒体是使用了流式传输的多媒体应用技术。如下是维基百科关于流媒体概念的定义: 流媒体 (streaming media) 是指将一连串的媒体数据压缩后,经过网络分段发送 阅读全文
posted @ 2021-03-05 11:33 Bigben 阅读(1224) 评论(0) 推荐(1) 编辑
摘要:rtp,对于它的实现ffmpeg和gstreamer。对于这种复杂协议,实现肯定会有不同和妥协。 下面都是用命令窗口操作。命令换行(\ on Linux, ^ on Windows),环境变量访问 ($NAME or ${NAME} on Linux, %NAME% on Windows). 先理解 阅读全文
posted @ 2021-01-04 16:16 Bigben 阅读(3378) 评论(0) 推荐(1) 编辑
摘要:这个项目基于kurento tutorial的hello world构建。 项目地址:https://github.com/godka/kurento-rtmp sdp参考:https://www.cnblogs.com/bigben0123/p/14229018.html sdp是个文本文件,vl 阅读全文
posted @ 2021-01-04 15:00 Bigben 阅读(2191) 评论(0) 推荐(0) 编辑
摘要:翻译自:https://www.kurento.org/blog/rtp-i-intro-rtp-and-sdp 一、The Real-time Transport Protocol -- RTP FFmpeg and GStreamer 是两个工具可操作rtp,也提供可编程。 rtp已经成为事实的 阅读全文
posted @ 2021-01-04 11:59 Bigben 阅读(3252) 评论(0) 推荐(0) 编辑
摘要:基于Gstreamer的rtp转rtmp代码 flv不支持 音频 48000. 支持44k。flv不支持音频opus格式。 1,用ffmpeg推流到rtp。 srs的示例flv文件: ffmpeg -re -stream_loop -1 -i ./doc/source.200kbps.768x320 阅读全文
posted @ 2020-12-25 13:37 Bigben 阅读(4200) 评论(0) 推荐(0) 编辑
摘要:ffmpeg参数中文详细解释 a) 通用选项 -L license -h 帮助 -fromats 显示可用的格式,编解码的,协议的... -f fmt 强迫采用格式fmt -I filename 输入文件 -y 覆盖输出文件 -t duration 设置纪录时间 hh:mm:ss[.xxx]格式的记 阅读全文
posted @ 2020-12-21 15:23 Bigben 阅读(6312) 评论(0) 推荐(1) 编辑
摘要:ubuntu 虚拟机下使用摄像头 :把usb2.0改成3.0;或者相反。等了半天,突然好了。虚拟机用摄像头参考。没用见下面的安装一个虚拟摄像头。 在vlc,cheese都打不开虚拟摄像头:no device found。 后来运行kurento的helloworld示例,先推流到虚拟摄像头: ffm 阅读全文
posted @ 2020-12-16 14:34 Bigben 阅读(3249) 评论(0) 推荐(0) 编辑
摘要:webRTC ==(通过nodejs指定的sdp,这个sdp写的要与webrtc源一致)==》 RTP ==》RTMP 各种推流方法:https://www.cnblogs.com/bigben0123/p/14188475.html 整个启动流程: 1,启动kurento服务: ~/kms/kms 阅读全文
posted @ 2020-12-10 11:52 Bigben 阅读(4342) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示