live-streaming

How to add a MOOV atom in a mp4 video file

青春壹個敷衍的年華 提交于 2019-11-29 00:50:25
问题 I am working on live device to server streaming in android. I am able to send data in bytes on server but when i play that file during recording on server VLC say that MOOV atom not found. After a lot of workaround i found that MOOV atom of a mp4 file generates in the end. But i have to play that file on server while recording means live. I go through the source code of SPYDROID and SIPDROID but non of them is working. I tried to add move atom on serverside using FFMPEG but didn't get any

Javacv: Decoding H.264 “live” stream coming from red5 server on android device

被刻印的时光 ゝ 提交于 2019-11-28 23:56:21
Here is my problem, I have implemented a server side application using Red5, which sends H.264 encoded live stream, on client side the stream is received as byte[] In order to decode it on Android client side i have followed the Javacv-FFmpeg library. The code for decoding is as follows public Frame decodeVideo(byte[] data,long timestamp){ frame.image = null; frame.samples = null; avcodec.av_init_packet(pkt); BytePointer video_data = new BytePointer(data); avcodec.AVCodec codec = avcodec.avcodec_find_decoder(codec_id); video_c = null; video_c = avcodec.avcodec_alloc_context3(codec); video_c

How can I play Apple HLS live stream using html5 video tag

橙三吉。 提交于 2019-11-28 20:03:47
问题 <video id="live" autoplay controls> <source src="http://[WOWZA-IP]:1935/Live/mp4:[LIVESTREAMNAME]/playlist.m3u8" type="video/mp4" /> </video> I am trying to play h264 encoded live stream using html5 video tag. Live stream is broadcasted by wowza media server and when visiting src link I get a valid playlist file. When trying to play the stream on android chrome browser, player does nothing and shows black screen. Is this html5 video tag related issue or maybe broadcaster? 回答1: These are the

How to embed new Youtube's live video permanent URL?

廉价感情. 提交于 2019-11-28 16:06:50
I stream live on youtube a lot and since yesterday I experience a weird thing: I embedded the livestream URL in my site. it was youtube.com/embed/ABCDE (normal embed link). That link used to show the current livestream and not a specific video. for example: I'm streaming and you can watch it on youtube.com/embed/ABCDE . When i'm finished, the video gets its own url, something like youtube.com/watch?v=FGHIJ . In the next time I will stream, users can watch the stream on youtube.com/embed/ABCDE (that was a permanent url that didn't change). Now, every time I stream, the livestream get its own

What is the difference between RTP or RTSP in a streaming server?

↘锁芯ラ 提交于 2019-11-28 14:43:56
问题 I'm thinking about developing a streaming server and I have the following question, do over RTSP (example url: rtsp://192.168.0.184/myvideo.mpg ) or RTP (example url: rtp://192.168.0.184 ). As I have understood, an RTSP server is mainly used for streaming of files that already exist, ie, not live. RTP server is used to broadcast. Somebody correct me if I'm wrong, am I right?. What I want to develop a server to broadcast live content on the computer screen, that is, which is displayed at the

How to stream live video from android to Wowza via RTMP [closed]

血红的双手。 提交于 2019-11-28 02:16:52
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . Problem that occupied me for last 7 days is implementation of live video streaming from android to WowzaMediaEngine. I have started my research on official Wowza pages and i was thrilled with existance of GoCoderSDK library for android and IOS. "Small" problem is the price (10k

Stream live video from phone to phone using socket fd

醉酒当歌 提交于 2019-11-27 17:24:37
I am new to android programming and have found myself stuck I have been researching various ways to stream live video from phone to phone and seem to have it mostly functional, except of course the most important part: playing the stream. It appears to be sending the stream from one phone, but the second phone is not able to play the stream. Here is the code for the playing side public class VideoPlayback extends Activity implements Callback { MediaPlayer mp; private SurfaceView mPreview; private SurfaceHolder holder; private TextView mTextview; public static final int SERVERPORT = 6775;

Creating RTP Packets from Android Camera to Send

点点圈 提交于 2019-11-27 11:43:16
I'm new to Android and socket programming. I want to create an android application that transfer video live from device camera to PC. What first i do is to get a raw video data from PreviewCallback arguments and convert it to an RTP Packet. I was just using JLibRTP to do this. Regarding to transfer the packet i think, there are some related class: RtpPkt, RtpSession, and RtpSocket. Here is my glance code: DatagramSocket rtpSocket = new DatagramSocket(); DatagramSocket rtcpSocket = new new DatagramSocket(); RtpSession rtpSession = new RtpSession(rtpSocket, rtcpSocket); public void

How to embed new Youtube's live video permanent URL?

淺唱寂寞╮ 提交于 2019-11-27 09:30:04
问题 I stream live on youtube a lot and since yesterday I experience a weird thing: I embedded the livestream URL in my site. it was youtube.com/embed/ABCDE (normal embed link). That link used to show the current livestream and not a specific video. for example: I'm streaming and you can watch it on youtube.com/embed/ABCDE . When i'm finished, the video gets its own url, something like youtube.com/watch?v=FGHIJ . In the next time I will stream, users can watch the stream on youtube.com/embed/ABCDE

EC2 instance types's exact network performance?

夙愿已清 提交于 2019-11-27 05:48:21
I cannot find exact network performance details for different EC2 instance types on Amazon. Instead, they are only saying: High Moderate Low What does this even mean? I especially want to know the exact amount of Traffic-OUT on each instance type. I need to do live streaming and my stream bit rate will be 240kbps. So I need to know which instance type can handle how many concurrent viewers. BobMcGee Bandwidth is tiered by instance size, here's a comprehensive answer: For t2/m3/c3/c4/r3/i2/d2 instances: t2.nano = ??? (Based on the scaling factors, I'd expect 20-30 MBit/s) t2.micro = ~70 MBit/s