rtmp

三、Windows下用FFmpeg+nginx+rtmp搭建直播环境 实现推流、拉流

心已入冬 提交于 2019-11-29 05:40:44
一、环境 1、开发环境:windows 2、开发工具:FFmpeg、nginx、nginx-rmtp-module 3、简介:Nginx是一款轻量级的Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器。 nginx-rmtp-module是Nginx服务器的流媒体插件。nginx通过rtmp模块提供rtmp服务, ffmpeg推送一个rtmp流到nginx, 然后客户端通过访问nginx来收看实时视频流。 二.准备文件 Nginx、nginx-rmtp-module、FFmpeg和实例mp4视频 三、搭建实践 1、启动nginx服务器 来源: https://www.cnblogs.com/fger/p/11456952.html

Low Latency DASH Nginx RTMP

心不动则不痛 提交于 2019-11-29 05:11:26
I use arut nginx-rtmp-module ( https://github.com/arut/nginx-rtmp-module ) on the media server, then I tried to stream using FFmpeg to the dash application, then I test the stream by playing it using VLC. And it waits around 30secs to start playing, and it plays from the beginning, not the current timestamp. This is my current config on the RTMP block rtmp { server { listen 1935; application live { live on; exec ffmpeg -re -i rtmp://localhost:1935/live/$name -c:a libfdk_aac -b:a 32k -c:v libx264 -b:v 128K -f flv rtmp://localhost:1935/hls/$name_low -c:a libfdk_aac -b:a 64k -c:v libx264 -b:v

Windows 搭建 nginx rtmp服务器

六月ゝ 毕业季﹏ 提交于 2019-11-29 00:29:38
1.环境 开发环境:windows 开发工具:ffmpeg、nginx、nginx-rmtp-module 2.准备文件 官方ffmpeg下载地址:http://www.ffmpeg.org 官方nginx下载地址:http://nginx.org 官方nginx-rtmp-module下载地址:https://github.com/arut/nginx-rtmp-module 3.启动nginx服务器 把下载好的ffmpeg文件复制到c:\ffmpeg目录下 把下载好的nginx文件复制到c:\nginx目录下 把下载好的nginx文件复制到c:\nginx\nginx-rtmp-module目录下 来源: https://www.cnblogs.com/sntetwt/p/11435564.html

Communicating with a flash server using rtmp without Flash

好久不见. 提交于 2019-11-28 21:27:12
I want to talk to a flash server which uses RTMP, but I don't want to use Flash, but rather c# or java. I was looking at Red5 but their client API seems to be a bit wobbly. Does anyone have any other ideas? "RTMP: Flash video streaming protocol" discusses libraries and applications for communicating with RTMP servers. The main protocol code from the RTMPDump utility for downloading RTMP video streams is now available in its own library, librtmp (used by FFmpeg, MPlayer, and XBMC media center). Note: the RTMPDump utility was originally based on the the libRTMP library, a part of the XBMC

Building FFMPEG with librtmp for android

我只是一个虾纸丫 提交于 2019-11-28 20:48:37
I'm trying to build all-in-one static binary of FFMPEG with NDK r7b and everything works fine untill i try to build it with RTMP support. I'm usind sources from https://github.com/guardianproject/android-ffmpeg with librtmp2.4 and custom config like this .configure \ --target-os=linux \ --cross-prefix=arm-linux-androideabi- \ --arch=arm \ --sysroot=/home/andrey/android-ndk-r7b/platforms/android-3/arch-arm \ --enable-static \ --disable-shared \ --disable-symver \ --enable-small \ --disable-devices \ --disable-avdevice \ --enable-gpl \ --enable-librtmp \ --prefix=../build/ffmpeg/armeabi \ -

RTMP stream on iOS [closed]

安稳与你 提交于 2019-11-28 18:23:58
I have to make an iOS app which plays a live video stream from a camera. I know that the iPhone only supports Live HTTP stream, but unfortunately it comes with a delay of about 6-10 seconds, which is far from my needs - I need a real time view. MJPEG stream is also not an option, because it generates a huge traffic. So what remains is an RTMP stream, but iOS cannot play it natively :(( I've heard of rtmpdump for iPhone, but I couldn't get it working. Has anyone succeeded in playing RTMP video on iOS? Any suggestions on how to do it are greatly appreciated! I'm pretty sure mediastreamsegmenter

Using FFMPEG to stream continuously videos files to a RTMP server

泄露秘密 提交于 2019-11-28 15:51:27
问题 ffmpeg handles RTMP streaming as input or output, and it's working well. I want to stream some videos (a dynamic playlist managed by a python script) to a RTMP server, and i'm currently doing something quite simple: streaming my videos one by one with FFMPEG to the RTMP server, however this causes a connection break every time a video end, and the stream is ready to go when the next video begins. I would like to stream those videos without any connection breaks continuously, then the stream

How can I play a RTMP video through netConnection and netStream

痞子三分冷 提交于 2019-11-28 11:32:16
I am working on a prototype in which I have to play a video through RTMP protocol. My code is following : private function init():void { streamID:String = "mp4:myVideo"; videoURL = "rtmp://fms.xstream.dk/*********.mp4"; vid = new video(); vid.width = 480; vid.height = 320; nc = new NetConnection(); nc.client = {onBWDone: function():void { }}; nc.addEventListener(NetStatusEvent.NET_STATUS, onConnectionStatus); nc.connect(videoURL); } private function onConnectionStatus(e:NetStatusEvent):void { if (e.info.code == "NetConnection.Connect.Success") { trace("Creating NetStream"); netStreamObj = new

RTSP to RTMP streaming

╄→尐↘猪︶ㄣ 提交于 2019-11-28 05:01:54
I have an IP camera which is streaming via RTSP and RTP. Ideally I would like to convert RTSP to RTMP to stream it to LiveStream or similar streaming services. Can anyone please let me know how may I convert RTSP to RTMP and then stream it to streaming services? Using FFMPEG you can convert rtsp stream to rtmp For Example ffmpeg -i "[your rtsp link]" -f flv -r -s -an "[Your rtmp link]" run the above syntax on ubuntu or linux os . it will convert your rtsp stream to rtmp stream There's a couple of options, but by far the most common is Wowza server , which will digest the RTSP and then output

Using JWplayer in Android for streaming video playback in Phonegap

自作多情 提交于 2019-11-28 04:43:19
问题 I'm trying to use JWPlayer as a way around Android not supporting HLS playback in Webview in Phonegap (or ar least I can't get it to work, only with WebM streams and the video plugin on https://github.com/macdonst/VideoPlayer , HLS streams give audio only ) I know the user needs flash installed but at the moment what's most importart for me is to get either the RTMP or HLS (.m3u8) displayed on the device (2.3, 4.0 or 4.1, whichever works!) However I keep getting the "Error loading player: no