live-streaming

Live transcoding and streaming of MP4 works in Android but fails in Flash player with NetStream.Play.FileStructureInvalid error

放肆的年华 提交于 2019-12-19 04:08:02
问题 Recently I had a task to use ffmpeg as a transcoding as well a streaming tool. The task was to convert the file from a given format to MP4 and immediately stream it, by capturing it from stdout. So far so good. The streaming works well with the native player of android tabs as well as the VLC player. The issue is with the flash player. It gives the following error: NetStream.Play.FileStructureInvalid : Adobe Flash cannot import files that have invalid file structures. ffmpeg flags used are $

Audio Livestreaming with Python & Flask

試著忘記壹切 提交于 2019-12-18 17:29:41
问题 I'm currently strugling with my implementation of a simple live streaming web application using Python and Flask. It seems that I'm not able to stream my live recorded audio from the servers microphone input to the webpage. server.py from flask import Flask, render_template, Response import cv2 import framework import pyaudio import audio_processing as audioRec FORMAT = pyaudio.paInt16 CHANNELS = 1 RATE = 44100 CHUNK = 1024 audio = pyaudio.PyAudio() app = Flask(__name__) @app.route('/') def

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

两盒软妹~` 提交于 2019-12-18 02:57:10
问题 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

Stream live video from phone to phone using socket fd

穿精又带淫゛_ 提交于 2019-12-17 15:23:08
问题 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;

Stream live video from phone to phone using socket fd

℡╲_俬逩灬. 提交于 2019-12-17 15:18:15
问题 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;

EC2 instance types's exact network performance?

懵懂的女人 提交于 2019-12-17 07:58:45
问题 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. 回答1: Bandwidth is tiered by instance size, here's a comprehensive answer: For t2/m3/c3/c4/r3/i2/d2

How can I use Livestream player in iOS/Android app? [closed]

白昼怎懂夜的黑 提交于 2019-12-13 22:33:17
问题 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 6 years ago . You can watch video streams on Livestream by using their player. Can it be embeded in iOS/Android application to track only one channel? 回答1: Yes, you can do this via HTML for mobile with LiveStream's Mobile API. For example, in iOS you can do that like this via html: <html> <body> <h1>iPhone Example:</h1>

How to Stream Video from Http or RTSP Url in android

天涯浪子 提交于 2019-12-13 15:07:44
问题 I want to play a video from Http and Rtsp on android. currently i am trying with http link But when my activity starts, it just starts playing audio with blank black screen. No video is displaying. Here i have posted my code below. Thanks for any help in advance. and if anyone can provide a fresh running rtsp link for live streaming, i'll be very thankful. VideoView vidView = (VideoView)findViewById(R.id.myVideo); Uri stream = Uri.parse("http://www.androidbegin.com/tutorial/AndroidCommercial

Display getUserMediaStream live video with media stream extensions (MSE)

心不动则不痛 提交于 2019-12-13 12:05:53
问题 I am trying to display a MediaStream taken from a webcam using getUserMedia, and to relay it to a remote peer using whatever mechanism possible for it to be played (as an experiment). I am not using webRTC directly as I want control over the raw data. The issue I encounter is that my video element displays nothing, and I don't get any errors back. I am using Chrome Version 51.0.2704.103 (64-bit) on Elementary OS (Ubuntu 14.04 based linux OS). As a sidenote, if I record all the blobs into an

How do I livestream using an IP camera in Matlab?

百般思念 提交于 2019-12-13 04:35:53
问题 How can I interface an IP camera in Matlab? I am using an IP55 from Compro technology. We have tried the code involving the following: url = '(IPaddressOfCamera)/snapshot.jpg'; ss = imread(url); preview(ss); In summary, I am trying to live stream using an IP camera with a Matlab interface. Any help would be greatly appreciated. 回答1: If I read it correctly, you would need mjpegStreamer.cgi Here is the description: <Manufacturer name="Compro"> <url version="IP350" confirmed="false" prefix="http