rtmp

How to store video on iPhone while publishing video with RTMPStreamPublisher?

我是研究僧i 提交于 2019-12-20 10:33:08
问题 Right now I am using RTMPStreamPublisher to publish the video at wowzaserver. It's uploading there successfully, but can anyone tell me how I can store the same video on the iPhone while uploading to the server? I am using https://github.com/slavavdovichenko/MediaLibDemos, but there is not much documentation available. If I can just store the data that is sent for publication then my work will be successful. Here is the method they are using to upload the stream, but I can't find a way to

Publishing a stream using librtmp in C/C++

前提是你 提交于 2019-12-20 10:22:55
问题 How to publish a stream using librtmp library? I read the librtmp man page and for publishing , RTMP_Write() is used. I am doing like this. //Code //Init RTMP code RTMP *r; char uri[]="rtmp://localhost:1935/live/desktop"; r= RTMP_Alloc(); RTMP_Init(r); RTMP_SetupURL(r, (char*)uri); RTMP_EnableWrite(r); RTMP_Connect(r, NULL); RTMP_ConnectStream(r,0); Then to respond to ping/other messages from server, I am using a thread to respond like following: //Thread While (ThreadIsRunning && RTMP

Android - Stream camera as RTMP stream [closed]

旧时模样 提交于 2019-12-20 09:45:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I want to capture the camera stream from an Android device and stream it to a server with RTMP (the server is out of my control). I have not figured out yet how to create a stream of data from the camera itself, but that is for a later concern. At the moment there are two problems: I wish to support API 9+ and

javaCV Android, Strange colors on overlay while streaming to rtmp server

我的梦境 提交于 2019-12-19 17:45:49
问题 I wanna stream to facebook live from android. I was able to adapt an existing example for streaming to FB. That first step more or less works (audio is still a problem, but not in the scope her). I can stream to FB. I now wanna overlay the stream with a transparent png image. I am creating a FFmpegFrameFilter on start up by: try{ filter = new FFmpegFrameFilter("movie="+path+"/image.png [logo];[in][logo]overlay=0:0:format=rgb [out]",imageWidth, imageHeight); filter.start(); }catch (FrameFilter

直播系统源码的主要作用

泪湿孤枕 提交于 2019-12-19 10:13:06
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 首先来看一下整个直播流程的几个关键步骤: 1、主播客户端,将本地采集的视频推送到CDN; 2、CDN对视频流进行缓存以及转发; 3、观众客户端,拉取CDN中缓存视频流进行播放;可以看到CDN在这里起到了关键的作用,2016也是一个CDN崛起的年代,网宿、快网、七牛、高升、蓝汛、观止云、腾讯云、百度云、阿里云等CDN纷纷表示对直播进行了支持,直播也逐渐成为了CDN的标配。另外,CDN直播中常用的流媒体协议包括RTMP,HLS,HTTP FLV等。RTMP(Real Time Messaging Protocol)是基于TCP的,由Adobe公司为Flash播放器和服务器之间音频、视频传输开发的开放协议。 HLS(HTTP Live Streaming)是基于HTTP的,是Apple公司开放的音视频传输协议。 HTTP FLV则是将RTMP封装在HTTP协议之上的,可以更好的穿透防火墙等。 直播源码的功能,优质的直播源码是可以进行二次开发的,而且也可以搭建以下功能: 1. 靓号:靓号就是一串相同的数字,比较好记,有利于满足粉丝的虚荣心、靓号有三位数的、四位数的、五位数的、六位数的。 2. 座驾:有小毛驴、魔法扫把、乌龟、飞马、火灵马、凌鹰 按月购买、主要应用在商城上(类似于秀场似的商城,主要购买装备之类的东西)

OpenCV won't capture frames from a RTMP source, while FFmpeg does

巧了我就是萌 提交于 2019-12-18 16:59:40
问题 my goal is to capture a frame from a rtmp stream every second, and process it using OpenCV. I'm using FFmpeg version N-71899-g6ef3426 and OpenCV 2.4.9 with the Java interface (but I'm first experimenting with Python). For the moment, I can only take the simple and dirty solution, which is to capture images using FFmpeg, store them in disk, and then read those images from my OpenCV program. This is the FFmpeg command I'm using: ffmpeg -i "rtmp://antena3fms35livefs.fplive.net:1935

OpenCV won't capture frames from a RTMP source, while FFmpeg does

一世执手 提交于 2019-12-18 16:59:13
问题 my goal is to capture a frame from a rtmp stream every second, and process it using OpenCV. I'm using FFmpeg version N-71899-g6ef3426 and OpenCV 2.4.9 with the Java interface (but I'm first experimenting with Python). For the moment, I can only take the simple and dirty solution, which is to capture images using FFmpeg, store them in disk, and then read those images from my OpenCV program. This is the FFmpeg command I'm using: ffmpeg -i "rtmp://antena3fms35livefs.fplive.net:1935

Secure pseudo-streaming flv files

此生再无相见时 提交于 2019-12-18 12:44:53
问题 We use RTMP to secure stream media content through Wowza and it works like a charm. Wowza is really strong and robust media-server for a business purpose. But we met a problem, it's getting bigger every day for us. A lot of new customers can't use RTMP by their firewall rules, and it's a problem to deliver a business media content for them. But everybody has no problems with http pseudo-streaming or just progressive, like it does youtube or vimeo . So we should do the same, but provide secure

Communicating with a flash server using rtmp without Flash

穿精又带淫゛_ 提交于 2019-12-17 23:28:03
问题 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? 回答1: "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

RTMP stream on iOS [closed]

早过忘川 提交于 2019-12-17 23:05:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . 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