rtmp

FFmpeg streaming using H.264 (with audio) - Red5 media server (Ubuntu OS)

依然范特西╮ 提交于 2019-12-09 20:05:38
问题 I'm trying to stream my webcam with FFmpeg to my Red5 server using RTMP. I've done this successfully using FLV format with the following line: ffmpeg -f video4linux2 -i /dev/video0 -f flv rtmp://localhost/live/livestream I'm new to FFmpeg and live streaming, and I've tried to stream using H.264/MPEG-4. But my knowledge is a bit limited with the FFmpeg options (which I did find here: http://man.cx/ffmpeg%281%29). So, my questions would be: How can I use H.264/MPEG-4 to stream to my Red5 server

Publish webcam feed to Flash Media Server

家住魔仙堡 提交于 2019-12-09 04:31:27
I have a fairly high-end webcam (snc-rz25n) that I need to rebroadcast using the Flash Media Server. I can get the picture as MPEG-4 (not h.264). So I need to transcode to h.264 and publish at multiple bitrates to FMS. The only solution I have been able to come up with thus far is to transcode the stream using ffmpeg and then also use ffmpeg to downconvert the stream (for the multiple bitrates) and then publish all of these transcoded streams to FMS via custom Java code (using Red5). Surely there is a better way. Flash Live Media Encoder is not going to work. The camera is on the network, not

How to publish selfmade stream with ffmpeg and c++ to rtmp server?

不羁岁月 提交于 2019-12-08 14:22:32
Have a nice day to you, people! I am writing an application for Windows that will capture the screen and send the stream to Wowza server by rtmp (for broadcasting). My application use ffmpeg and Qt. I capture the screen with WinApi, convert a buffer to YUV444(because it's simplest) and encode frame as described at the file decoding_encoding.c (from FFmpeg examples): /////////////////////////// //Encoder initialization /////////////////////////// avcodec_register_all(); codec=avcodec_find_encoder(AV_CODEC_ID_H264); c = avcodec_alloc_context3(codec); c->width=scr_width; c->height=scr_height; c-

capture camera and publish video with librtmp

为君一笑 提交于 2019-12-08 13:37:22
问题 I am struggling to publish video on nginx rtmp server. In my nginx config I have following lines: rtmp { server { access_log /var/log/nginx/rtmp-access-streaming.log; listen 1935; # wait_key on; wait_video on; chunk_size 4096; application live { live on; allow publish all; # deny publish all; allow play all; record off; } # video on demand for flv files application vod { play /home/ulterior/Record; } } Video on demand work OK so far, the problem is publish live streams. I connect with librtmp

Video not playing but audio plays fine on Live Streaming in android

喜你入骨 提交于 2019-12-08 12:26:43
问题 I have a VideoView which is used to play live stream. I am not able to find where the problem occurs. In the beginning, I used RTMP to play the live stream using Vitamio which resulted in playing the audio leaving the screen blank. I checked out with the RTMP link, it works fine with a website. I surfed a lot about this, but I did not find any solution. So now, I switched to HTTP to play the live stream which also results in the same problem (i.e audio playing fine but video is blank). I am

using livu (lib) with phonegap?

坚强是说给别人听的谎言 提交于 2019-12-08 11:35:26
问题 Livu has rtmp streaming functionality: http://stevemcfarlin.com/livu/index.html source (lib) https://github.com/otmakie/LivuLib I made a couple of iphone apps using software like phonegap. How hard will it be to modify phonegap to make use of the livu (lib)? I guess i have to edit the phonegap framework (which is written in objective C....) I guess i have 3 options: Practice objective c more and edit the phonegap framework Hire someone to write phonegap plugin. Practice objective c / hire

Picture size 0x10 is invalid | video codec is not opened.What should be the reason?

拥有回忆 提交于 2019-12-08 10:42:55
问题 Right now am using RTMPStreamPublisher to publish the video at wowzaserver from iphone application. i have downloaded some demo code from this GitHub Project https://github.com/slavavdovichenko/MediaLibDemos/tree/master/RTMPStreamPublisher. Now this sample is working great..but when i tried to create my own project with the same implementation then its giving me some error...am sure that there is not any kind of missing library or framework issue.. i had checked everything is same in my

streaming on iOS through rtmp

别等时光非礼了梦想. 提交于 2019-12-08 10:10:27
问题 I am desperately looking for a solution to stream through rtmp from red5 server on iOS. And I couldn't get rtmp c lib work on my Xcode project. Could anyone please post any tutorials? or share some other solutions maybe? 回答1: here is what i found till now. very useful obj-c libs, but costs smt. - http://www.themidnightcoders.com/products/weborb-for-mobile/universal-mobile-connectivity-overview.html - http://www.aftek.com/afteklab/aftek-iphone-RTMP-library.shtml Then, i tried to implement

ffmpeg continuously stream refreshing image to rtmp

懵懂的女人 提交于 2019-12-08 09:52:44
问题 Is there a way to stream one image and refresh it all the time or at an interval. This streams image continuously, but never refreshes its source. ffmpeg -loop 1 -i http://test.dev/overlay.jpg -f flv rtmp://192.168.99.100:1935/live/mystream2 The overlay does the same, never refreshes logo... ffmpeg -i rtmp://192.168.99.100:1935/live/mystream -vf "movie=overlay.jpg[logo]; [0][logo]overlay=0:70" -c:v flv -f flv rtmp://192.168.99.100:1935/live/mystream2 Thank you 回答1: Try with adding -f image2 .

ActionScript Get All Network Activity?

ⅰ亾dé卋堺 提交于 2019-12-08 07:32:47
问题 Is there a way within ActionScript 3.0 to: Get all URLRequests() that are made within the application? Get all RTMP:// connections to a Flash Media server? Since my application contains SWC files which were compiled by another developer, I cannot directly access the ActionScript which creates the URL requests and RTMP connections. Thank your for your time. 回答1: You can use a web debugging proxy to monitor all messages that are sent over the wire. I like to use Charles because it deserializes