Men的博客

欢迎光临!

0%

SRS安装

Mac 环境下srs安装及使用
下载
git clone https://gitee.com/winlinvip/srs.oschina.git srs &&
cd srs/trunk && git remote set-url origin https://github.com/ossrs/srs.git && git pull
编译
./configure –osx && make
./configure –disable-all –with-ssl –with-hls –with-ffmpeg –with-transcode –with-dvr –with-ingest && make
运行
./objs/srs -c conf/srs.conf
停止
./etc/init.d/srs stop

https://github.com/andyzsf/BigBlueButton
https://gitee.com/winlinvip/srs.oschina
https://github.com/ossrs/srs/wiki/v3_CN_Home
WebRTC
RTMP

sudo rm -rf /usr/local/srs
sudo rm -rf /etc/init.d/srs

常用的直播服务器

1:nginx+rtmp+module+ffmpeg

2:SRS

3:FMS

4:RED5

5:Crtmpserver等等

https://www.jianshu.com/p/dd73132ea5e2

https://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=404230356&idx=1&sn=6b73f971c4cf1170adaf4d249480ed9a&scene=1&srcid=0301qrbBZPrLxORTiD5D5IO1&key=b28b03434249256be5dfe068862f4c51d10c5e16b3659de35ce26bd4868f3a186366844bc7a8d3eaf48192b75536009b&ascene=0&uin=MTUwMTI2NjQ2MA%3D%3D&devicetype=iMac+MacBookPro11%2C2+OSX+OSX+10.11.4+build(15E65)&version=11020201&pass_ticket=TplbLKZJE2ZwCTACdAM6vZw%2FaJtVhaRrbn0An3uI6OAbctOQaAXHM9DZBdalM5Fi

https://www.zhihu.com/question/42162310

https://github.com/anyrtcIO-Community/anyRTC-RTMPC-iOS

https://github.com/Bilibili/ijkplayer

http://ffmpeg.org

https://github.com/jitsi/jitsi-meet

http://www.ctiforum.com/news/guonei/571785.html

https://www.zhihu.com/zvideo/1283868871146594304

https://www.zhihu.com/zvideo/1287081304237232128

obs

https://github.com/qdgx/WebRtcRoomIOS

https://github.com/xialixin/srs_code_note/blob/master/doc/live_talk.md

3.1 主播端混流

该实现思路要求主播分别把自己的视频数据与连麦粉丝的视频数据合成,然后把合成好的视频流、主播自己的的音频数据、连麦粉丝的音频数据推给CDN网络,并经由CDN分发给所有观众。故主播端手机负担的任务更重,对手机性能和网络性能要求也比普通直播时更高一些。主播与粉丝连麦,主播端混流部分的基本流程如下图所示:
3.2 服务器混流

所有步骤和在推流端混流几乎一样,只不过工作环境不一样。所有的步骤都是服务端额外增加的工作量。服务端混流的工作内容和推流端混流不一样的地方在于:推流端解码是不管混流还是不混流都要做的事情,而服务端解码却是因为要混流才额外做的工作。混流是一个比较烧资源的事情,服务端是一个资源比较丰富的地方。

https://github.com/qingkouwei/oarplayer

https://github.com/truth/srs-win32

https://github.com/guozi058/srs-for-windows

https://github.com/tenry18/live

https://github.com/chatop2020/SRSManager

https://github.com/ddssingsong/webrtc_server_node

JSWebrtc – 支持 SRS 的 Webrtc 播放器

https://www.jianshu.com/p/f07f0be088d0
https://www.cnblogs.com/wolf-song/p/7708364.html
http://www.voidcn.com/article/p-eoychcej-bpv.html

画中画
ffmpeg -ss 00:00:20 -i testvideo.mp4 -i testvideo1.mp4 -filter_complex “[1:v]scale=320:240[v1];[0:v][v1]overlay=10:10” -s 640x480 -c:v libx264 -preset ultrafast -r 20 -b:v 200k -t 1200 output.mp4

http://www.iwangsen.com/2018/06/30/ffmpeg-use/

https://blog.csdn.net/machh/article/details/89319669

https://github.com/runner365/LiveVideoCoreSDK

流截图
https://blog.csdn.net/lqq_419/article/details/108673936
https://my.oschina.net/fengjihu/blog/414556
http://www.voidcn.com/article/p-ehtkhxoa-xt.html
https://blog.csdn.net/weixin_33769207/article/details/91542047