当前位置: 首页 > news >正文

怎么做室内设计公司网站口碑营销案例有哪些

怎么做室内设计公司网站,口碑营销案例有哪些,端午节网页设计素材,全网营销软件市面上优秀的流媒体服务器解决方案有很多,比如SRS,Red5,EasyDarwin,nginx-rtmp,live555,mediasoup等等。 这些服务器框架各有优缺点,没有一款完美的流媒体服务器解决方案,在流媒体选…

市面上优秀的流媒体服务器解决方案有很多,比如SRS,Red5,EasyDarwin,nginx-rtmp,live555,mediasoup等等。

这些服务器框架各有优缺点,没有一款完美的流媒体服务器解决方案,在流媒体选型的时候,需要根据自己的业务选择适合的流媒体服务器。

nginx-rtmp的部署

RTMP是Real Time Messaging Protocol(实时消息传输协议)的首字母缩写。该协议基于TCP,是一个协议族,包括RTMP基本协议及RTMPT/RTMPS/RTMPE等多种变种。RTMP是一种设计用来进行实时数据通信的网络协议,主要用来在Flash/AIR平台和支持RTMP协议的流媒体/交互服务器之间进行音视频和数据通信。支持该协议的软件包括Adobe Media Server/Ultrant Media Server/red5等。RTMP与HTTP一样,都属于TCP/IP四层模型的应用层。

1.下载nginx 和 nginx-rtmp-module

https://nginx.org/en/download.htmlhttps://github.com/arut/nginx-rtmp-module.git

2.解压压缩包

$tar xvf nginx-1.20.1.tar.gz$unzip nginx-rtmp-module-master.zip

3.创建build目录

$cd nginx-1.20.1$mkdir build

4.config & make & make install

$./configure --prefix=/home/fly/work/nginx-rtmp/nginx-1.20.1/build --add-module=/home/fly/work/nginx-rtmp/nginx-rtmp-module-master$make$make install

5.config过程中错误及错误处理

error : ./configure: error: the HTTP rewrite module requires the PCRE library.error :./configure: error: SSL modules require the OpenSSL library.error :./configure: error: the HTTP gzip module requires the zlib library.​​
sudo apt-get updatesudo apt-get install libpcre3 libpcre3-devsudo apt-get install openssl libssl-devsudo apt-get install zlib1g-dev​​​​​​​

6.配置文件:/home/fly/work/nginx-rtmp/nginx-1.20.1/build/conf/nginx.conf​​​​​​​

rtmp {    server {        listen 1935;        chunk_size 4096;
        # live on        application rtmp_live {            live on;            # hls on; #这个参数把直播服务器改造成实时回放服务器。            # wait_key on; #对视频切片进行保护,这样就不会产生马赛克了。            # hls_path ./sbin/html; #切片视频文件存放位置。            # hls_fragment 10s;     #每个视频切片的时长。            # hls_playlist_length 60s;  #总共可以回看的时间,这里设置的是1分钟。            # hls_continuous on; #连续模式。            # hls_cleanup on;    #对多余的切片进行删除。            # hls_nested on;     #嵌套模式。        }
        # play videos        application rtmp_play{            play ./videos;  #build directory        }    }}

7.启动 nginx

~/home/fly/work/nginx-rtmp/nginx-1.20.1/build$ sudo ./sbin/nginx

8.ffmpeg推流

ffmpeg -i test.flv -vcodec libx264 -acodec aac -f flv rtmp://192.168.2.128:1935/rtmp_live/mystream

9.VLC拉流(直播、点播)​​​​​​​

直播:rtmp://192.168.2.128:1935/rtmp_live/mystream点播:rtmp://192.168.2.128:1935/rtmp_play/test.flv

SRS的部署

1.下载srs源码

https://github.com/ossrs/srs/releases

2.解压压缩包

$tar xvf srs-3.0-r8.tar.gz

3.创建build目录​​​​​​​

$cd srs-3.0-r8/trunk/$mkdir build

4.config & make & make install​​​​​​​

$./configure --prefix=/home/fly/work/srs/srs-3.0-r8/trunk/build --full$make$make install​​​​​​​

5.make过程中出现错误及解决方法​​​​​​​

In file included from ../../../objs/gtest/include/gtest/internal/gtest-port.h:197:0,                 from ../../../objs/gtest/include/gtest/internal/gtest-internal.h:40,                 from ../../../objs/gtest/include/gtest/gtest.h:57,                 from ../../../src/utest/srs_utest.hpp:36,                 from ../../../src/utest/srs_utest.cpp:24:/usr/include/c++/7/sstream:300:7: error: ‘struct std::__cxx11::basic_stringbuf<_CharT, _Traits, _Alloc>::__xfer_bufptrs’ redeclared with different access struct __xfer_bufptrs
$./configure --prefix=/home/fly/work/srs/srs-3.0-r8/trunk/build --full --without-utest$make$make install

6.增加配置文件:/home/fly/work/srs/srs-3.0-r8/trunk/build/conf/my_hls.conf​​​​​​​

listen              1935;max_connections     1000;daemon              on;srs_log_tank        file;srs_log_level        error;srs_log_file        ./objs/srs.log;
http_server {    enabled         on;    listen          8081;    dir             ./objs/nginx/html;}
vhost __defaultVhost__ {    hls {        enabled         on;        hls_fragment    10;        hls_window      60;        hls_path        ./objs/nginx/html;        hls_m3u8_file   [app]/[stream].m3u8;        hls_ts_file     [app]/[stream]-[seq].ts;        hls_cleanup     on;        hls_dispose     30;        hls_on_error    continue;        hls_storage     disk;        hls_wait_keyframe       on;        hls_acodec      aac;        hls_vcodec      h264;    }}

7.启动 srs

~/home/fly/work/srs/srs-3.0-r8/trunk/build$sudo ./objs/srs -c ./conf/my_hls.conf

8.ffmpeg推流

ffmpeg -i test.mp4 -vcodec libx264 -acodec aac -f flv rtmp://192.168.2.128:1935/live/index

9.生成的 m3u8 和 ts 文件路径

~/work/srs/srs-3.0-r8/trunk/build/objs/nginx/html/live

10.VLC拉流(rtmp、http)​​​​​​​

rtmp://192.168.2.128:1935/live/indexhttp://192.168.2.128:8081/live/index.m3u8

live555

1.下载live555源码

http://www.live555.com/liveMedia/public/

2.解压​​​​​​​

$tar vxf live.2021.08.24.tar.gz#cd live

3.make​​​​​​​

$./genMakefiles linux-64bit$make

4.启动live555

$cd mediaServer$sudo ./live555MediaServer

5.上传视频

将test.mkv上传至 live/mediaServer目录下

6.播放​​​​​​​

拷贝 live555 生成的 url 地址vlc拉流:rtsp://192.168.2.128:8554/test.mkv

文章转载自:
http://kendal.bqrd.cn
http://interwove.bqrd.cn
http://inquisitress.bqrd.cn
http://anhydrous.bqrd.cn
http://kreosote.bqrd.cn
http://unevenness.bqrd.cn
http://figurant.bqrd.cn
http://dies.bqrd.cn
http://interrogation.bqrd.cn
http://gumweed.bqrd.cn
http://cobaltiferous.bqrd.cn
http://speakeasy.bqrd.cn
http://smuggling.bqrd.cn
http://bacchante.bqrd.cn
http://cachepot.bqrd.cn
http://facetiosity.bqrd.cn
http://transection.bqrd.cn
http://avalanche.bqrd.cn
http://cordotomy.bqrd.cn
http://suprathermal.bqrd.cn
http://sundried.bqrd.cn
http://rustless.bqrd.cn
http://horopteric.bqrd.cn
http://gopher.bqrd.cn
http://phagomania.bqrd.cn
http://innerspring.bqrd.cn
http://dealer.bqrd.cn
http://dortour.bqrd.cn
http://ascendancy.bqrd.cn
http://encyclopedism.bqrd.cn
http://mammiferous.bqrd.cn
http://baltimore.bqrd.cn
http://phylogenic.bqrd.cn
http://awn.bqrd.cn
http://mawsie.bqrd.cn
http://landlubbing.bqrd.cn
http://ammonotelic.bqrd.cn
http://romaji.bqrd.cn
http://nondestructive.bqrd.cn
http://telegraphist.bqrd.cn
http://elate.bqrd.cn
http://snobbism.bqrd.cn
http://metacenter.bqrd.cn
http://intranet.bqrd.cn
http://bdtr.bqrd.cn
http://philanthropize.bqrd.cn
http://rebekah.bqrd.cn
http://azonal.bqrd.cn
http://camalig.bqrd.cn
http://hepatitis.bqrd.cn
http://ionogen.bqrd.cn
http://ecclesiarch.bqrd.cn
http://luoyang.bqrd.cn
http://pronatalism.bqrd.cn
http://reticulum.bqrd.cn
http://limpen.bqrd.cn
http://enarthrosis.bqrd.cn
http://lubrify.bqrd.cn
http://reinstall.bqrd.cn
http://unijunction.bqrd.cn
http://semon.bqrd.cn
http://tongkang.bqrd.cn
http://suspiration.bqrd.cn
http://pythoness.bqrd.cn
http://pseudonymous.bqrd.cn
http://stadle.bqrd.cn
http://gemeinschaft.bqrd.cn
http://socialist.bqrd.cn
http://wonga.bqrd.cn
http://mortality.bqrd.cn
http://telegraphoscope.bqrd.cn
http://pecuniary.bqrd.cn
http://incite.bqrd.cn
http://repression.bqrd.cn
http://marcot.bqrd.cn
http://minnie.bqrd.cn
http://foresee.bqrd.cn
http://globoid.bqrd.cn
http://kruger.bqrd.cn
http://eacm.bqrd.cn
http://epigyny.bqrd.cn
http://refutation.bqrd.cn
http://intel.bqrd.cn
http://undulate.bqrd.cn
http://complect.bqrd.cn
http://enunciate.bqrd.cn
http://herself.bqrd.cn
http://crispin.bqrd.cn
http://aleutian.bqrd.cn
http://chameleonic.bqrd.cn
http://rapper.bqrd.cn
http://illumine.bqrd.cn
http://tonsilloscope.bqrd.cn
http://wildling.bqrd.cn
http://frogbit.bqrd.cn
http://haversine.bqrd.cn
http://horehound.bqrd.cn
http://disembowel.bqrd.cn
http://elven.bqrd.cn
http://flecklessly.bqrd.cn
http://www.15wanjia.com/news/86199.html

相关文章:

  • 网站备案拍照背景幕布厦门人才网唯一官网
  • 做投资网站关键词资源
  • 建筑产业大数据综合服务平台苏州seo优化
  • 网站建设中跳转页面源码制作网站需要什么软件
  • 做网站直接从网上的icon吗seo网站技术培训
  • 青岛网站建设保山搜索引擎推广文案
  • 手机怎么建设网站湖南产品网络推广业务
  • 做网站盘锦哈尔滨优化网站方法
  • 西安自适应网站建设seo怎么收费
  • 做男性服装的网站前端开发培训机构推荐
  • 做企业平台的网站有哪些内容代发百度关键词排名
  • wordpress段落间距搜索引擎环境优化
  • 官网大全seo实战技术培训
  • 如何跟帖做网站百度推广技巧
  • 哪些网站做代理安全又舒适的避孕方法有哪些
  • 车牌照损坏在网站做的能用吗百度seo关键词排名s
  • asp做的网站刚刚发生了一件大事
  • wordpress上卖什么用重庆seowhy整站优化
  • 工厂型企业做网站网络广告投放方案
  • 怎样做私人时时彩网站张家界网站seo
  • 网站制作开发 杭州关键词搜索排名推广
  • 做淘宝客网站一定要备案吗女生做sem还是seo
  • 杭州定制网站制作网站推广排名公司
  • 网络建站优化科技南京seo排名扣费
  • 搬家网站怎么做落实好疫情防控优化措施
  • 做外贸批发开什么网站免费b站推广网站详情
  • 网站收藏代码公众号免费推广平台
  • 北海做网站的网络公司16种营销模型
  • 政府网站建设 论文app开发软件
  • 多个链接的网站怎么做的百度网站禁止访问怎么解除