rtmp

ffmpeg rtmp and local file output

家住魔仙堡 提交于 2019-12-03 22:30:23
问题 I have a trouble with ffmpeg I receive a rtsp stream from a grabbing device (camera) and I stream-out it to rtmp (Youtube Live) I want to have a copy of the stream in my computer so I write at the same time in a local file I use this command : ffmpeg -y -i 'RTSP_SOURCE' -c:v copy -c:a libvo_aacenc -map 0:v -bsf:v dump_extra -fflags +genpts -flags +global_header -movflags +faststart -map_metadata 0 -metadata title= -f tee -filter_complex aevalsrc=0 '[f=mp4]/tmp/backup.mp4|[f=mpegts]/tmp/backup

Recording Audio through RTMP/Rails

拟墨画扇 提交于 2019-12-03 20:38:28
I am in the process of building a rails/flex application which requires audio to be recorded and then stored in our amazon s3 account. I have found no alternative to using some form of RTMP server for recording audio through flash, but our hosting environment will not allow us to install anything like FMS, Red5, etc. Is there any existing Ruby/Rails RTMP solution that will allow audio recording? If not, is it possible for Rails to at least intercept the RTMP stream and then I can hope to reference red5's source or something for parsing the data (long shot, I know)? The other alternative I can

DesktopSharing<转>

北战南征 提交于 2019-12-03 20:22:12
https://github.com/PHZ76/DesktopSharing/tree/e1543975576e6c4fc5c2404b2f4c9c99c0350bd3 git:https://github.com/PHZ76/DesktopSharing.git =================================================== DesktopSharing 项目介绍 抓取屏幕和麦克风的音视频数据,编码后进行RTSP转发, RTSP推流, RTMP推流。 目前情况 完成屏幕采集和H.264编码。 完成音频采集和AAC编码。 完成RTSP本地转发音视频数据。 完成RTSP推流到流媒体服务器EasyDarwin。 完成RTMP推流到流媒体服务器SRS。 后续计划 增加硬件编码 增加声卡音频捕获 RTMP转发 编译环境 win10, vs2017, windows-sdk-version-10.0.17134.0 项目使用的模块都是开源项目, 在vs2017下编译通过。 设计思路 库文件说明 屏幕采集: 使用开源项目 screen_capture ,因为抓屏使用了DXGI技术, 所以项目只适合运行在win8以上的系统。 音频采集: 使用开源项目 portaudio 。 编码器, RTMP推流器: 使用开源项目 ffmpeg4.0

集RTMP、HLS、FLV,、WebSocket 于一身的网页直播/点播播放器方案EasyPlayer.js实现倍速回放方法

荒凉一梦 提交于 2019-12-03 20:08:45
需求分析 一般对于一个播放器,应该支持如下几种显示模式: 等比例,最大化区域显示,不裁剪 等比例,最大区域显示,裁剪 拉伸显示,铺满全屏 要实现这几种显示模式。其实只要对播放控件的布局进行些许调整即可。那EasyPlayer是怎么实现的呢? EasyPlayer.js 支持m3u8播放; 支持HTTP-FLV播放; 支持RTMP播放; 支持直播和点播播放; 支持播放器快照截图; 支持点播多清晰度播放; 支持全屏或比例显示; 自带的flash支持极速和流畅模式; 自带的flash支持HTTP-FLV播放; 自动检测IE浏览器兼容播放; EasyPlayer.js实现倍速回放 提出问题 最近有开发者咨询EasyPlayer.js想要结合钉钉使用。在集成开发的时候播放实时流没有问题,但是开发者想集成回放的功能,要求在回放的时候实现倍速回放、任意拖拽进度。 解决问题 很明确这些功能我们现在已经集成有了,只需要简单修改一个参数就可以实现:live=true是直播模式,live=false是点播模式。 下面给大家总结一下其它参数的说明列表如下: 来源: https://www.cnblogs.com/TSINGSEE/p/11806160.html

EasyRTMP实现内网摄像头RTSP拉流转码RTMP推流到RTMP服务器EasyRTMP-Android视频采集流程是什么?

陌路散爱 提交于 2019-12-03 20:08:13
背景分析 RTMP是Real Time Messaging Protocol(实时消息传输协议)的首字母缩写,该协议基于TCP,是一个协议族,包括RTMP基本协议及RTMP/RTMPS/RTMPE等多种变种。RTMP是一种设计用来进行实时数据通信的网络下ieyi,主要用来在Flash/AIR平台和支持RTMP协议的流媒体/交互服务器之间进行音视频和数据通信。 RTMP推流,就是将直播内容推送到服务器的过程。 关于RTMP推流组件 EasyRTMP是一套调用简单、功能完善、运行高效稳定的RTMP推流功能组件,经过多年客户实战和线上运行打造,支持RTMP推送断线重连、环形缓冲、智能丢帧、网络事件回调,支持Windows、Linux、ARM、Android、iOS平台,支持市面上绝大部分的RTMP流媒体服务器,能够完美应用于各种行业的直播需求,手机直播、桌面直播、摄像机直播、课堂直播等方面。结合EasyDSS流媒体服务器,为开发者提供专业、稳定的直播推流、转码、分发服务,全面满足低超低延迟、超高画质、超大并发访问量的要求。 EasyRTMP-Android 视频采集 解决问题 EasyRTMP-Android推流,使用手机相机来采集视频数据: 1、声明相机权限和相机特征权限 <uses-feature android:name="android.hardware.camera" />

VideoJS doesn´t play after pause RTMP live stream

拟墨画扇 提交于 2019-12-03 15:41:43
I´m using VideoJS for a live stream from Wowza server but when I pause the player and them I play again the player does not recover the stream. I need to reload the webpage to start the stream again. <video id="videoID" class="video-js vjs-default-skin vjs-big-play-centered" poster="/images/image.png" controls="controls" width="320" height="240" data-setup='{"techOrder": ["flash"]}'> <source src="rtmp://www.myhost.com:1935/live/live.stream" type="rtmp/mp4" /> </video> There are any method to do stop or VideoJS reload when the paused event appear? EDIT: I've encountered the solution using this

what is difference between rtmp and rtsp protocol?

╄→尐↘猪︶ㄣ 提交于 2019-12-03 14:43:09
问题 i just want to know what is the difference between rtsp and rtmp protocol and if there are mp3s on my server and i am playing it in my android using http,how these differs in work. In android if i want to implement rtmp or rtsp ,which is the best? what are the limitation of rtmp & rtsp in android? can anybody give me brief answer for above? 回答1: The Real Time Streaming Protocol ( RTSP ) is a network control protocol designed for use in entertainment and communications systems to control

Best Flash Audio/Video + Interactivity server?

爷,独闯天下 提交于 2019-12-03 11:50:38
问题 I'm looking for suggestions on Flash realtime servers. Currently, we use a combination of Moock's Unity and Red5, but there are a couple problems. First, we are moving to AS3, and Unity only supports AS2. Secondly, Red5 is pretty flaky for us, we'd prefer something more stable. We can't use the official Flash Media Server, it's a bit out of our price range (starts at $4,500 for a single license). So far, I've found two servers that look like they would meet my needs, ElectroServer and Wowza

FFMPEG pushed RTMP stream not working on Android & iPhone

三世轮回 提交于 2019-12-03 10:11:38
I have to make a semi-live-stream. I used Nginx-rtmp module and then pushed content to it via ffmpeg using: ffmpeg -re -i content.mp4 -r 25 -f fvl "rtmp://rtmp.server.here" The stream runs fine when I open it in VLC from "rtmp://rtmp.server.here" But I also have to make iPhone and Android apps that play these streams. And that's the problem, the stream doesn't work on Android and iPhone. If I use Wowza streaming cloud and stream to Wowza cloud instead of my own nginx-rtmp server then the same app written for Android & iPhone can playback the stream just fine. Now either nginx-rtmp is not

Is there an rtmp (protocol) URL anywhere on the internet I can test? [closed]

故事扮演 提交于 2019-12-03 09:52:45
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I'm building a video player in flash based on NetStream, and all I need to test it is a functioning RTMP url, but I cannot find a single one on the entire internet through google. Is anyone aware of any valid sample rtmp streams and their URLs that I can use to test this thing? JWPLayer has a demo page: http://www.longtailvideo.com/support/jw-player/29395/rtmp-single-stream/ You can open the page, view the source and