Flash :: Use One NetStream Object To Feed Two Video Objects Simultaneously?

Oct 27, 2010

I'm trying to attach a single NetStream Object to two separate Video objects instead of pulling redundant streams from the server. The expected behavior would be for both Video's to display the same content. However, it seems that the last video I attach the NetStream to is the only Video that will display the content.Has anyone else run into this? I'd rather not go to the inelegant steps of using BitmapData to clone pixels if I don't have to.

View 2 Replies


Similar Posts:


Flash - Play A Single NetStream But Show Different Parts Of It On Different Video Objects?

Jan 19, 2011

I have 3D videos encoded with each eye's content side-by-side on each frame. What I want to do is take the left-half and over-lay it on the right-half. (I'll then change with the colors and the overlaying so that someone with blue-cyan 3D glasses can view the video).

I tried to attach a single NetStream to two video objects and offset them, but that only let the stream play on one object.

View 2 Replies

Flash :: Connect To Multiple Netstream In The Same Video Object?

Oct 16, 2011

Is it possible to have a same Video object ( and perhaps StageVideo) connected to multiple NetStream's objects? It's videoconferencing app, in which all members can speak ( So multiple audio sources) but should not hear themselves (that's why I don't join them in a single stream).

That's what I tried:

ns = new NetStream(nc);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
ns.client = this;
ns.play(streamName1);
ns2 = new NetStream(nc);

[Code]...

View 1 Replies

AS3 :: Flash - Detect NetStream Events With Video Object (not Component)

Jan 11, 2010

I have created a FLV video player using the AS3 flash.media.Video object (not the FLV playback component) and I am trying to listen for meta events and Cue Points embedded in the FLV video but I am not receiving any when I trace the movie. The cue points are not being created dynamically, they are in the FLV video.

Video embed code:
// Initialize net stream
nc = new NetConnection();
nc.connect (null); // Not using a media server.

[Code]....

Is there anything I am missing have wrong to capture events from my net stream?

View 2 Replies

Flash :: NetStream Object Buffer Fails To Fill And Video Just Freezes?

Nov 22, 2011

I have a Net Stream object that I am using to stream video from an Amazon Flash Media Streaming service.The video makes a connection and plays fine but randomly it seems to just freeze and the only way to get it to work again is to re-establish the connection. I have tried to put other videos in that amazon bucket as well and they seem to play fine. this happens when it is in .FLV form and .mp4 format.

I have set the buffer time to be 5 seconds and i watch the output of the buffer to see the % of full it is. when the problem occurs the buffer 5 goes from 100 to 0 and then it throws a Buffer fail error (i'm using OVP framework).I have come to the conclusion that it is either a video encoding problem or perhaps there is a firewall issue that blocks the data from getting through.

View 1 Replies

ActionScript 3.0 :: How To Access Netstream Object Of Video

Jun 18, 2009

I am doing video.attachNetstream(ns) in the videoContainer's parent movieclip. How do I access the netstream object of the video inside the container. Basically, I want something like this : video.getNetstream(). Does any equivalent exist?

View 0 Replies

ActionScript 3.0 :: Flash Project / Shifting Objects Simultaneously

Nov 2, 2011

I was given at work. I will list the details of the project below:Create a Flash presentation that a user (on a browser) could press a button and navigate through scrolling objects. Upon hovering over the object information will pop up in a info bubble. Also upon hovering over an object, the table and gauge to the side will also change in proportion to the object hovered over.Here is what I have done so far and what I can't figure out:

-Anchored background - done
-Objects slide across the screen (no interaction) -done --->I just made them motion tweens though which I've found are rather hard to work with becuase I can't manipulate them well with actionscript.
-User able to control the sliding objects (through arrows/keyboard events) - not done
-Table/guage changes on the hovering over of the object - not done
-Information pops up on the hovering over of an object - not done

Right now I am having trouble with making the user be able to make all the objects slide across the screen at the same time with ONE button click. I can make it so that when you click the object it slides over however man pixels, but what i want is that the uder clicks an arrow and all of the objects slide over x amount of pixels.

View 6 Replies

ActionScript 3.0 :: Detecting Audio In Netstream Object / Video

Jan 20, 2012

The task seems easy: I am loading a video via a netsream object (could be FLV or an h264 mp4) and I would need to check if this video has audio available (otherwhise sound control objects should be disabled or become hidden).

View 3 Replies

ActionScript 2.0 :: Video Object - Adding Cue Points To NetStream?

Feb 16, 2009

I have a video object inside a flash file. I am using NetStream to attach a video to the video object. How can I add cue points to the video ? Should I add a cue point to the video object or to the NetStream ? (I am using Flash 8.)

View 3 Replies

ActionScript 2.0 :: Video Paused When Loading Via NetStream Object Within A Function

Apr 1, 2006

I'm having a problem loading an FLV file via the NetStream object.

The following is on frame 1 of my root timeline:

Code:
loadMovieClip();
function loadMovieClip():Void {
// Create new NetConnection object

[Code]....

The code is EXACTLY the same, except it isn't within a function, yet the latter example plays the video correctly, and the first example doesn't.

View 2 Replies

ActionScript 3.0 :: Av Video Manip - Play Simultaneously With Video

Mar 24, 2010

I have 1 flv with only 12 seconds of audio. another flv that is 10 seconds with only video another flv that is 2 seconds with only video Lets assume both video files are as long as my audio file. Which actionscript commands should I look further into to: 1. play audio simultaneously with video 2. play the 2 second video smoothly/seamlessly after the 10 second video is over as if it were a 12 second vide 3. if my audio or video were mp3/wma instead of flv would I run into trouble 4. I imagine a flash media server would be mandatory if my videos were other formats like avi/mpg and had to encode on the fly

View 1 Replies

ActionScript 3.0 :: Moving Several Objects Simultaneously

Nov 3, 2011

Code:
var arrowleft_btn:Button;
var arrowright_btn:Button;
arrowleft_btn.addEventListener(MouseEvent.MOUSE_DOWN, startScroll, false, 0, true);

[Code]....

What I am trying to do to solve my first problem is have the image (which holds several smaller images in it) scroll across the screen when the user clicks on either the right or left arrow found at the top of the screen. If anyone is interested I can send them the file to have a look at? All of the instance names are the samer though, the arrows are buttons and the 'housecompilation3_mc' is a movie clip.

View 2 Replies

Flash - Using NetConnection Class To Live Video Feed?

Oct 11, 2010

I'm trying to use the NetConnection class to connect to a live video feed on an external server. I have it set up to start playing my video when the user clicks a Play button, however, this appears in my output every time I click the Play button:

ArgumentError: Error #2126: NetConnection object must be connected.
at flash.net::NetStream/ctor()
at flash.net::NetStream()
at Over/connectLiveStream()[Over::frame2:31]

Here is the (I think relevant) code:
if (playVid.label == "Play") {
nc = new NetConnection();
nc.objectEncoding = flash.net.ObjectEncoding.AMF0;
nc.connect("rtmp://my.rtmp.server:1935/live/");
nsPlay = new NetStream(nc);
nsPlay.play("livestream.flv");
}

View 1 Replies

Flash :: Embed RTSP Video Feed On Website?

Jan 25, 2012

I'm creating website which needs video stream from surveillance camera implemented. Camera is GeoVision GV-FD120D 1.3Mpix LowLux IR 2.7-9mm and it is linked to server which I have full access to (I dont have direct access to camera)

I was playing around with settings on this cam and I managed to turn on RTSP protocol access for this camera. Then I used VLC (on server) to open network stream with address: [URL]Works!

Ideally I would like to show the video in player like jwplayer , however it does not support RTSP protocol, but RTMP instead.

So I guess I would need some kind of software on this server to:

1) transcode the video stream from RTSP -> RTMP

2) stream it out from server so I can connect to it with jwplayer later

I heard of Wowza media server but the budget is pretty tight for this project so would rather use free solution here.

View 1 Replies

Java :: How To Capture And Save Live Feed Of Flash Video

Mar 1, 2010

Is there a tool, any type of programming library, or a way to capture live feed of Flash video and save it? I don't want to capture the screen but rather like to capture the actual feed.

View 1 Replies

Javascript :: Feed Video Byte Data To Flash Player?

Jan 21, 2012

Is it possible to, using javascript, either create video data on the fly, or more likely download pieces of video data from various sources and feed them to a flash player instance.

Even better, is it possible to feed a html5 video stream from locally executed javascript?

View 1 Replies

ActionScript 2.0 :: Create A Live Video Feed From A Webcam Etc Into Flash?

Apr 19, 2003

Is it possible to create a live video feed from a webcam etc into Flash?

View 6 Replies

ActionScript 3.0 :: Error: "NetStream.Play.StreamNotFound" While Playing Mp4 File Using NetStream Object?

Jan 7, 2010

I am using NetStream, NetConnection and Video object to play an mp4 file which is hosted over a web server using http.This is an AIR application and the relevant code is pasted below:

var url:String = <some http url>;
connect_nc = new NetConnection();
connect_nc.connect(null);

[code]........

View 0 Replies

Actionscript 3 :: NetStream.info, Getting Error #2154 "The NetStream Object Is Invalid"

Mar 20, 2012

In my application I have a video playing from a NetStream. Every second on timer I update a text label with statistics like stream.info.currentBytesPerSecond. The problem occurs when the NetConnection associated with this NetStream closes: the getter for stream.info throws

[Code]...

View 1 Replies

Flash :: Netstream Play In The Middle Of A Video?

Jan 19, 2010

I'm using the netstream and video object to play a video in flash. Specifically a mp4 video.

What I'm trying to do is start playing the file from a specific position (Ex. 20seconds).

However with netstreamObject.seek(20) doesn't work unless the stream has been loaded past 20seconds. Is there a way to specify starting to load at 20s? Or any other way of accomplishing this?

View 5 Replies

ActionScript 2.0 :: Preloading More Then One Video Files Simultaneously?

Dec 25, 2009

I have only one FLVPlayback in the stage but i need to load more than one flv files and collect them with an Array. Then switch one video to another.

View 2 Replies

ActionScript 2.0 :: Flash Video - NetStream And Basic Fade In

Apr 17, 2007

Im a beginner at flash video, and have been using the built in FLV component which I can apply actionscript fades to easily. However I don't seem to be able to use them when I use the better method... NetStream. Here is an example fade:

[Code]...

View 1 Replies

ActionScript 3.0 :: Control Multiple Video Files Simultaneously?

Mar 11, 2010

I have five videos playing at the same time in a .swf. They are each .flv files of the exact same length, I'm keeping them external rather than embedding the files within the Flash, and it's imperative that they each play at the exact same time so I'm avoiding using streaming.They all need to be kept at the same time code as any other of the movies at any given time. Is it possible to make a scrubber or other controls that will allow the viewer to move positions within these videos simultaneously?

View 1 Replies

ActionScript 1/2 :: NetStream Video Control Button - Play Video Automatically

Jul 18, 2011

The stop button plays as expected. The play/pause button plays as expected. The issue is when you press pause which will cause the play button to appear, then press stop. the video automatically plays and it shouldn't. I have bolded the control button script for convenience.

[Code]...

View 1 Replies

ActionScript 3.0 :: Flash NetStream.Buffer.Flush When The Streaming Video Is Paused?

Dec 26, 2010

I notice that, when I pause the video, the event "NetStream.Buffer.Flush" is triggered. And according to the language reference: "Data has finished streaming, and the remaining buffer will be emptied.", I have to re-buffer it, right? However, also according to the reference, it shouldn't stop buffering:

Starting with Flash Player 9.0.115.0, Flash Player no longer clears the buffer when NetStream.pause() is called. This behavior is called "smart pause". Before Flash Player 9.0.115.0, Flash Player waited for the buffer to fill up before resuming playback, which often caused a delay.

I'm using Flash Professional to do the debugging, and the traced version number is: MAC 10,0,22,91, and it appears for both FMS4 and red5.

View 1 Replies

ActionScript 3.0 :: Flash Number Of Video - NetStream And NetConnection Instances Multiple Videos Would Require?

Dec 30, 2010

How many instances of Video, NetStream and NetConnection would be needed for multiple videos? Not sure that's the right question but essentially here's the objective:

Currently, I'm working on an interactive product tour, parts of which are to consist of short video clips, each covering a feature. While only one such clip will be playing at any given time, I'd like put them all at the application's fingertips as part of the initial preloading process before launching into it. The idea is to provide a seamless instant-play user experience without hitting the breaks before individual segments.

[Code]....

View 2 Replies

Flash :: NetStream.Buffer.Full Not Fired After Call To NetStream.pause?

Jul 6, 2011

I'm making a small video players in AS3, and I've found that after calling NetStream.pause() or NetStream.togglePause(), no status messages are being fired any more.If I click the "pause" button while the video is buffering, I never get the Buffer.Full message.Here is some code:

_connection = new NetConnection();
_connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
_connection.connect(null);[code].....

View 1 Replies

ActionScript 3.0 :: Flash Player 10.1.85.3 - If The Object Is Not Found In The Dictionary Object, It Will Be Searched For In The Delegate Objects?

Oct 29, 2010

I am encountering a problem in my app only when it is run in flash player 10.1.85.3. Some earlier player versions I have tried are working fine.From what I can tell it seems related to the following:

Quote:

from here: h[url].....

When searching for objects (not strings) in Dictionary objects using the 'in' operator, if the object is not found in the Dictionary object, it will be searched for in the delegate objects. With 10.1, the toString operator will be called on the Object if not found in the Dictionary. This can cause problems with Proxy objects who need to define the callProperty function or it will generate a RTE. ...what it means "it will be searched for in the delegate objects"?

View 1 Replies

ActionScript 3.0 :: Stale Data In Playing NetStream Objects

Apr 27, 2010

I am reusing a NetStream object to play different live streams.

What annoys me is that even though I start playing another stream name on this same stream object, when it is attached to a new Video object after issuing the "play" call, there is stale data after the previous playback. It's NOT the video object obviously, as I already create a new Video object every time I play another stream name on this NetStream object (Video.clear does not work anyway - known player bug).

I can rectify the situation by "resetting" the NetStream object - creating and setting up a new one for each playback, assigning it to the old reference - essentially transparent to the application. The problem is performance - there is the overhead of creating and setting up a new stream object every time. I wish to avoid such overheads.

I wish there was some form of "clear" call for the NetStream class as well...

View 0 Replies

Actionscript 2.0 :: Automatic Pause At Start Of Video Feed?

Jul 9, 2009

I finished with the video basics tutorials, however with the tutorial the video automatically plays at the beginning. Is there a way for the video to start off paused? [code]...

View 1 Replies







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