ActionScript :: Flash - How To Synchronize Multiple Video Streams

Oct 29, 2010

I'm trying to play multiple video streams simultaneously. However, I cannot synchronize these videos to play at the same rate.

I have three 45-second videos in FLV format and I use flash.net.NetStream to play these videos. I call netstream.play() of these netstream at the same time (by using a for-loop). However, these videos are out-of-sync even all videos files are on my local machine.

For example, when the wall clock is at 10th second, the first video is at 7th second, the second video is at 10th second, and the last video is at 5th second.

I think it may be affected by different jitter delays when streaming. However, I still cannot find the way to solve this problem.

View 1 Replies


Similar Posts:


Flash :: Asp.net - Synchronize Video On Multiple PC's?

Dec 8, 2009

Multiple computers running a kinda of quiz (in asp.net). Every one of them plays a video as background (in the browser), sorta like a screensaver (with advertising). When moving the mouse a div pops up which allows the user to choose a quiz in fill out the forms. The catch is that the video needs to be synchronized on all the PCs.These are the constraints: The asp.net code is already there, so writing it completely in flash is no option. We know .NET, javascript, html, the standard webdev stuff best, so investing time is something new is a last resort.

View 1 Replies

Actionscript 3 :: Synchronize Playing Of Multiple Video Files In Flash?

Jan 23, 2010

I would like to have one controller to sync and control multiple video objects(start/stop simultaneously).

View 1 Replies

Flash :: Recording And Playback Of Multiple Video Streams?

Nov 10, 2009

I am planning an implementation for a lecture capture solution for a local university. It is supposed to record all aspects of the lecture: the presenter will be recorded using videocamera + mic, his desktop activity is captured and optionally the whiteboard is captured as well (using Mimio). These input streams arrive (as video streams) to a computer that stores the recording on its harddisk. The file format for the recording should be able the hold multiple streams (Matroska for example).

The recording will be available from the uni's website. So at the client-side Flash seems a natural choice.

The player should display the different input sources into different rectangular regions of the player. One region displays the presenter, another region displays the desktop recording.

Is it possible to use a Matroska file as source for Flash streaming? If yes, how?
If no, is there another container format more suitable for this? The FLV format can only hold one audio and one video file. Is it possible to have one Flash client receive multiple streams and diplay them in different regions of its own canvas?

View 1 Replies

Java :: Handle Multiple Video Streams In Red5?

Apr 15, 2012

I am writing a Red5 application that provides 1-on-1 video chat to a Flash client over RTMP.

Unfortunately most tutorials I was able to find were sketchy at best and the documentation of Red5 itself tends to be vague when it comes to API concepts and intended usage.

In short, I am a bit stuck and looking for hints on Red5 ApplicationAdapter implementation. Gnarly details are as follows:

First of all, the connections come in two flavors: visitors and consultants. A visitor should be able to indicate which consultant it wishes to communicate with. A consultant simply gets connected to the requesting visitor as long as the consultant is not busy servicing another. Obviously, every RTMP connection has two-way traffic: both sending and receiving video. From the standpoint of the server, connections bring in a bunch of video streams that get their receiving endpoints assigned by request. Since several video conversations can be in progress simultaneously, the main task of the application is to handle the mapping of visitor streams to consultants and provide a list indicating each consultant's state (busy/available) via AMF.

So, all in all, I have a pretty good idea what I am aiming for but how to achieve it with Red5 is still a bit of a mystery.

What is the easiest way to establish the connection type (visitor/consultant)? Which API classes should be used to implement a persistent, globally accessible list of active connections for reporting the state of each consultant? How to switch receving endpoints dynamically when the goal is to connect a specific visitor to the selected consultant?

View 1 Replies

Media Server :: Multiple Audio Streams Mixed With A Video Stream

Apr 20, 2011

I have read in FMIS 4 "new features" that "absolute timecode" allows to switch audio tracks while playing a video (managing synch). Is there any exemple showing how to use this funtionnality (server config, flash player action script exemple)?

View 5 Replies

ActionScript 3.0 :: Visualizing Multiple Audio Streams Within Flash

Feb 16, 2011

I'm currently working on a project which involves importing audio streams and visualising them within Flash. At the moment I have two files, one which can import all of the streams at once, continuously and another which visualises just one of the streams using an example animation I found which will be replaced at a later date. My problem is connecting the array to the visualisation so that all of the streams interact with it and affect the animation. Below is the code I have for the multiple streams with no visualisation file.

Code:
var stream_arr:Array = new Array(
"mtl2.liveatc.net/kbur",
"bos.liveatc.net/6b6",
"m1.liveatc.net/kbwi_belay",
"aus.liveatc.net/kccr",
"mso.liveatc.net/zob_cle",
[Code] .....
Note that I have removed the "http" from all stream addresses due to my low post count.

And here is the code I currently have for the file which can visualise only one stream, rather than the multiple I would like.
Code:
stop();
function goBack(evt):void {
gotoAndStop(1);
this.removeEventListener(Event.ENTER_FRAME,spectrum);
} var snd:Sound = new Sound();
[Code] .....

View 1 Replies

Flash :: Intercept Video And Audio Streams?

Sep 16, 2011

is there any Java library out there that can help intercept video and audio streams being sent through the browser?

So for example, a video starts loading through a flash player using some Flash server, the java application would listen for video/audio stream and capture and write it to video on the disk.

View 2 Replies

Flash :: Real Time Transcoding Of Multiple RTMP-Streams?

Nov 18, 2010

Here is my problem: We are broadcasting sportevents live to the internet via flash media encoder.At the event locations we mostly have just 2 mbit upstream. So at the moment we are streaming with about 1mbit rate.But we need also streams for mobile-devices and a stream for users without fast internet. So we want 2 more streams with lower-bitrates,but we can't get this through the 2mbit...I am looking for a solutiuon which can transcode about a 1mbit(and may be in the future a 1.5mbit) livestream in to two (or more)lower-bitrate streams.The solution should be scalable,because sometimes we have 7 events at one day on different locations,so there could be 7 input-streams.I've searched the net for hardware transcoders, but didn't find a stable solution and I've tested also transcoding with ffmpeg, but it seems to get problems with timing and key-frames for bitrate switching.

View 3 Replies

ActionScript 3.0 :: Live Flash Video Streams Broadcasted?

Oct 23, 2009

How are live flash video streams broadcasted? I am guessing that as the broadcast is recording, the people that are watching are watching what has been recorded to an flv file a few seconds ago, making it 98-99% live, since it is a few seconds off of the actual recording time.

View 0 Replies

Media Server :: 3.5 - Take Multiple Live Streams?

Jun 17, 2010

Can Flash Media Server 3.5 do the following?. Can it take multiple live streams?. Is it possible to control the ip streams - by using API's in to the Media Servers?.

View 4 Replies

Professional :: Switching Between Two Different Video Streams?

Jan 27, 2010

Need to design a flash video player which can run multiple angles of video at the same time.  The primary video will run at full size, and the other angles will run at a much smaller sample size at the bottom of the video.  User will then be able to select whichever angle of video he likes and upon clicking the smaller video it will become full screen/mainplayer shell.  The video which was previously full screen will then take its place among the other smaller videos. 

View 2 Replies

ActionScript 3.0 :: Publishing The Video Streams?

May 3, 2010

whether sending media streams from AS from sources other than Webcams and Mics is possible or not? Seems like doing this with NetStream object is almost impossible since the only video and audio sources it accepts are Camera and Microphone objects. Imagine that I already have access to both video files and raw flv stream bytes, audio and video interleaved together.

View 2 Replies

Media Server :: Listen To Multiple Live Streams At Once?

Sep 7, 2009

I am developing an application where I need musicians to play together and I want to have an audience listen to it. I have created my publisher clients and they can create the streams, but now I want to take those multiple streams and combine them so that you can hear the guitar, singer, etc. all together.

View 8 Replies

Detect Latency When Playing Live Video Streams From FMS?

Sep 25, 2010

Because of network latency,there will always be latency, how to know how many seconds the latency is with ActionScript?

View 2 Replies

Media Server :: Auto-archiving Streams With H.264 Video?

Jun 13, 2011

My CDN is running FMS, and my customers and I stream a lot of live traffic through it. We've got FMS configured to auto-archive our live streams, but that only works for stream using VP6 video. When I look at the archived files captured from H.264 streams I get audio but no video.
 
Is it possible to get FMS to autoarchive H.264 streams? Or is this planned for a future release of FMS?

View 2 Replies

Flex :: Video Streaming - Find All The Published Streams?

Jun 8, 2011

I want to create two swf (publisher and subscriber).I have created the publisher client which publishes the webcam video to the Red5 server.

Now I want to create the subscriber. I want some kind of combo box which lists all the streams being published at that moment. So that user can click on any of the stream name in the list to see that stream.

Q1. How the subscriber client can find all the published stream at that moment?

Q2. How the subscriber can update that list automatically (any events for which it can listen to so that it can add or delete stream from the list)?

View 1 Replies

Media Server :: Pausing With Dynamic Streaming Causes Multiple Streams To Playback?

Jun 30, 2010

I have the streaming server 3.5.3. The sample player page for the dynamic streaming is here: [URL].click on the dynamic sample. pause and wait a few minutes for disconnect from the server. When you hit play, it starts from that spot and also starts from the beginning in the background audio while showing the buffering orange circle the whole time.

My users are students watching long lectures, they pause all the time. when they come back, it is a mess.

View 2 Replies

Java :: Saving Two Streams Of One Of Video And Other Audio Using Xuggler And Red5

Dec 21, 2011

I am using a red5 server. I am doing a two way video conference using flex application. My current red5 server is storing both streams as different flv files.

now i have done some editing and have saved these edited files as one with video stream

[Code]...

View 1 Replies

Media Server :: Merge Multiple Live Audio Streams Into A Single Stream In FMS?

Nov 17, 2009

I need to merge multiple live audio streams into a single stream so that i can pass this stream as input to VOIP through a softphone.For this i tried the following approach:Created a new stream (str1) on FMS onAppStart and recorded the live streams (sent throgh microphone) in that new stream.

Below is the code :
application.onAppStart = function()
{

[code].....

View 1 Replies

Professional :: Synchronize The Audio With Text In Flash?

Sep 9, 2011

is there any best way to synchronize the audio with text in flash

View 1 Replies

Media Server :: Use NetStreamPlayTransitions.SWITCH To Create A Multi Angle View That Switches Between Video Streams?

Feb 21, 2010

Hi,I'm trying to use NetStreamPlayTransitions.SWITCH to create a multi angle view that switches between video streams. The issue I'm having is that NetStream.Play.TransitionComplete is called only after the buffer for the video before it is used up(this makes sense when using SWITCH to go between bandwidths but that's not what i'm using it for). Is there a way to force this switch before the buffer of the previous video is used up?
 
I've looked into SWAP but I can't really find any documentation on it. What I ideally would have happen is the next video in the array is triggered, that video is buffered and when there is enough to play it the stream switches to that one. SWITCH works really nice because there is no jump in switching when it's played but I just don't want the buffer to play out before the switch.Is there a way of maybe clearing the buffer of the playing video before i call SWITCH so it transitions quickly?

View 4 Replies

Media Server :: Manipulate In Any Way The Video Streams On The Server Side?

Jan 26, 2007

I was wondering. is it possible to manipulate in any way the video streams on the server side? Like for example,to have two streams coming from two clients and mix them into one stream,so a third client (or more) can play just one stream per client instead of two?

View 5 Replies

Professional :: Multiple URL's In A Flash Video?

Mar 9, 2011

I have created a Flash Video that contains three images that fade in and out between each other. The problem I am having is I want the user to be able to click on an image and get directed to a specific URL. Each of the three images has a different URL destination. I am new to Flash & haven't been able to find a solution anywhere. I am using Flash Professional CS5.

View 4 Replies

ActionScript 3.0 :: How To Synchronize Sounds

Feb 7, 2011

I want to synchronize sounds perfectly to do a kind of Audio Mixer, using different sounds. All I have been able to do is to play 2 sounds at the same time, but I cannot do it with 3 audios or more, they don't go synchronized. JamStudio.com does it perfectly, I've been researching and researching and I just don't know how to do it! How does JamStudio.com synchonize audio so perfectly? you can even change sounds and the new ones will come on time! How do I do that? Is it just Action Script? or are they using something else?

View 5 Replies

Actionscript :: How To Synchronize Methods

Oct 29, 2010

The question is how could I stop a method being called twice, where the first call has not "completed" because its handler is waiting for a url to load for example?

I have written a flash client which interfaces with a java server using a binary encrypted protocol (I would love to not have had to re-invent the whole client/server object communcation stack, but I had to encrypt the data in such a way that simple tools like tamper data and charles proxy could not pick them up if using SSL).The API presents itself to flas as an actionscript swf file, and the API itself is a singleton. the api exposes some simple methods, including:

login()
getBalance()
startGame()
endGame()

Each method will call my HttpCommunicator class.HttpCommunicator.as (with error handling and stuff removed):

public class HttpCommunicator {
private var _externalHalder:function;
public function communicate(data:String, externalHandler:APIHandler):void {
// do encryption

[code]...

Will the second call trounce the first calls communicator variable? i.e. will it behave as if its static, as there is onlyone copy of the API object?If say there was a button on the GUI which had "update balance", and the user kept clicking on it, at the same time as say a URLLoader complete event hander being called which also cals the apis getBalance() function (i.e. flash being multithreaded).

View 1 Replies

Actionscript 3 :: Synchronize Changes To A Textfield?

Nov 18, 2010

I'm experimenting with P2P on Flash, and I've come across a little hurdle that I'd like to clarify before moving forward. The technology itself (Flash) doesn't matter for this problem, as I think this problem occurs in other languages.

I'm trying to create a document that can be edited "live" by multiple people. Just like Google Docs pretty much. But I'm wondering, how would you suggest synchronizing everyone's text? I mean, should I message everyone with all the text in the text field every time someone makes a change? That seems very inefficient.

I'm thinking there has to be a design pattern that I can learn and implement, but I'm not sure where to start. Optimally, the application should send the connected clients only the changes that have occurred to the document, and have some sort of buffer or error correction that can be used for retrieving earlier changes that may have been missed. Is there any established design pattern that deals with this type of issue?

View 2 Replies

ActionScript 2.0 :: Synchronize Two Swf Files?

Dec 10, 2008

making two web banner commercials where a bottle is supposed to fall from one banner to the other. The two files are separate and I dont think I can communicate between them. I need a quick solution to make the animation start at the same time in both files (if one file is loaded quicker than the other). Is this possible? Ive seen commercials where this has been done, but I dont know how they did it. I use as2 but if you have a solution in as3 its no problem.

View 1 Replies

Flash Video Alternative For Multiple Browsers?

Jan 31, 2011

I'm looking for a way around using flash for video's on a site. Any suggestions for something that might work across multiple browsers that isn't flash based? HTML5 seems promising, but I need something with more browser acceptance. I'm trying to avoid having to serve up difference video's based on user agents.

View 4 Replies

Flash :: Multiple HD Video Layers In A SWF File?

Jul 19, 2011

I'm creating some sort of flash video site. It consists of a several HD video's. The background video is 1920x1080. In front of it there is an object witch is also a video, but it it is stopped at first frame. When mouse is over this object - I play the video.

And here's the thing - when I firstly move cursor to the object - it plays like 5-6 fps. From the moment when video plays single time - it starts to go smoothly.

I use FLV files as videos and a sequence of PNG as an object on the video. FLV and PNG is 1920x1080. Flv and PNG's are loaded in the SWF file directly from library.

Here's the questions : Is there some sort of file buffering when the files are firstly displayed? Will it be better to load video from External files?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved