nginx 支持h265 的 rtmp和hls,http-flv

  • Post author:
  • Post category:其他


更新2020-04-08

nginx支持rtmp h265的很多了,现在需要http-flv也加上h265


https://github.com/pingostack/pingos

, 目前这个是唯一一个找到的能用的

win下试了,没编过去,Linux下很好搞,Ubuntu需要自己提前安装些库就行了

推流拉流还是用金山的那个ffplay即可,web播放器目前的基本上都是wasm,

其他的还未见到可用的

原文:

https://github.com/illuspas/nginx-rtmp-win32

高人编译的win下的nginx,已经支持h265的rtmp,hls未使用

rtmp 和hls中的h265 的ID为 12

nginx rtmp模块源码,支持h265:

https://github.com/adwpc/nginx-rtmp-module

不支持h265的源码:

https://github.com/arut/nginx-rtmp-module

rtmp h265播放测试工具:

https://github.com/daniulive/SmarterStreaming

推流使用ffmpeg:

下载源码,安装下面链接里面的方法修改,编译即可

https://blog.csdn.net/smallhujiu/article/details/81703434

也可以按照这个链接说明操作:

https://github.com/ksvc/FFmpeg/wiki/hevcpush

金山github上有android和ios 播放器sdk,也有web的

但是web的播放器不支持h265,已跟官方确认

ffmpeg 推流命令:

./ffmpeg -re -i ~/video/mp4/oceans.mp4 -c copy -f flv rtmp://192.168.1.3/live/h265

这样下来,只能自己想办法在网页端播放带h265的rtmp了

https://blog.csdn.net/Jacob_job/article/details/78122447



版权声明:本文为ybn187原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。