Actionscript :: Streaming Video Using VideoDisplay In Flex?

Nov 30, 2011

i use this tag:

<mx:VideoDisplay id="myVid" bottom="0" width="100%" height="100%" live="true" autoPlay="true" source="http://localhost:5080/oflaDemo/{myvideo}"/>

but the only thing i get is the sound of the video and not the video itself,

View 1 Replies


Similar Posts:


Flex :: Video Or VideoDisplay When Does It Make Sense To Use One Or The Other

Nov 19, 2009

Flex appears to have 2 video classes: Video and VideoDisplay. My question is when does it make sense to use one or the other?

What I can tell from initial glancing is that VideoDisplay responds to mouse events because it inherits from IntaractiveObject, but I'm not sure if it's a real difference, because Video seems to have a workaround for this in that you can add your own event listeners.

There's probably more to it, but this is the only difference I can see now. So my question for those who used these objects extensively, can you share your experience when you use one over the other.

View 1 Replies

Flex :: Spark VideoDisplay - Telling Whether The Video Is Currently Playing?

Jan 26, 2011

I'm writing a Flex video player with a "slow advance" button, and my first approach is to simply toggle between play() and pause() on a timer. I'd like to say something like

if (video.isPlaying) {
video.pause();
} else {
video.play();
}

But I can't find anything like an 'isPlaying' property.

View 2 Replies

Flex :: Resize Video Child Of VideoDisplay To The Same Size?

Nov 23, 2011

i have the following code to play a video stored in the media server:

<?xml version="1.0" encoding="utf-8"?>
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]......

View 1 Replies

Flex :: VideoDisplay Child Always To Be Same Size As VideoDisplay

Sep 9, 2009

i have a VideoDisplay [code]and i want to make the child inside VideoDisplay to resize with him to make his size 100%/100% (size of the child)cuz video.height and width accept only integers and ican't put % in there

View 1 Replies

Flash :: Get Dimension Of Video In VideoDisplay

Nov 2, 2011

I'm trying to get the dimensions of the videosource in a VideoDisplay:

private function loadMovie () : void {
vid = new VideoDisplay();
vid.source = _item.itemLg;

[Code]....

View 3 Replies

ActionScript 3.0 :: Prevent VideoDisplay From Loading The Entire Video

Nov 10, 2011

I want to use VideoDisplay components just to show the first frame of the videos, as a preview. So, what I do is

video.autoPlay = false;
video.autoDisplayFirstFrame = true;
 
But the problem is that they start downloading the entire videos. I've read some topics and docs and I feel that there is a way to avoid it For example, I've tried this line: video.mx_internal::videoPlayer.bufferTime = 1;

View 10 Replies

Flex :: Streaming Video From YouTube

Apr 12, 2011

Is it possible to use the VideoPlayer or VideoDisplay components in Flex 4 to stream a video from YouTube rather than just use the custom YouTube player? How? I want to serve a video inside a banner.

View 1 Replies

Flex :: Possible To Record Video Without Streaming To A Server?

Aug 26, 2010

I want to give my users the ability to record a video from WebCam (maximum 60 seconds) so the file should be big with proper quality settings.Do you know of a way to record it in memory (as Flash running in browser can't access file System) and then send it to server to save the file? I have build a functionality to capture a photo with Webcam and send it to the server but not sure about Video.(I prefer not to stream to Red5/FMS or similar as it's more relaible to keep things contained in the Flash file in my opinion) plus I had issues with quality of recording with Red5

View 1 Replies

Progressive Streaming Flv Video Files Using Php And Flex

May 17, 2011

I have been trying to use the example from xmoov.com to fetch only a part of video, as explained in the blog:URL...The code works fine for the video link they have, but when i change the link to a video file on my server, I get null object error for onMetaData( e:MetadataEvent ) function on the line "Alert.show(e.info.keyframes.filepositions.toString());" [code]

View 1 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

ActionScript 3.0 :: Playing Streaming .nsv Video Files In Flex?

Aug 28, 2009

For past couple of days i have been trying to make the .nsv streaming files to work in my flex framework. when i call it the data starts getting downloaded but i figured it out that the video object is unable to play this . I tried this for Shoutcast TV streams where i got lots of .nsv file formats.

So i just want to ask Whether somebody has tried to play the .nsv streams from shoutcast into flex.

View 0 Replies

Flex :: Streaming Server (for Pushing Data Not Video) Setup With GraniteDS

Apr 21, 2011

I have a streaming server (for pushing data not video) setup with GraniteDS and it works great. I have to include multiple swf files in a web page. Each of these swf files has a data table which includes streaming data(this is a specific requirement - so I really cant combine all data tables into 1 huge data table/swf file). All the swf files however, connect to the same gravity channel/streaming endpoint.

How many connections are there from the web page to the streaming server? Does each swf file start a new streaming connection? Or do all them share the same connection since they are just connecting to a single channel?

View 1 Replies

Media Server :: Video Chat Over IP Using Flex IDE And Flash Media Server For Live Streaming Video And Audio?

Feb 15, 2011

I am developing Video Chat over Ip (including audio and text too). But I am unable to get the proper startup material for my desktop application.

View 2 Replies

Flex :: Detect When A Remote Client Has Started/stopped Streaming Video Over His NetStream With RTFMP ?

May 1, 2011

Am building a video chat application and i was wondering if there are any native events for the NetStream that fire,that can help in detecting when a remote client starts/stops streaming video over his outgoing stream (NetStream) to which the other client has subscribed over P2P/RTFMP in AS3 ?I maybe able to dispatch custom messages since the two clients are already connected, but i don't want to add the extra overhead.

View 1 Replies

Flex :: Removing VideoDisplay In Flash

Nov 12, 2009

I have a videoDisplay object in a popup.When I remove the popup the video continues to play.How do I remove the videoDisplay object from memory?I have tried setting the variable to null but with no luck. I can just call the stop() function and forget about it but am wondering whether this won't come back and bite me.

View 1 Replies

Flex :: VideoDisplay Reconnect After Idletimeout?

Mar 26, 2010

I have a VideoDisplay that is able to connect to a source and play. After the connection times out I want the connection to be re-established when my play button is clicked. Right now when I reset the source and play the videoDisplay, it gets stuck in the loading state.

View 1 Replies

Flex :: VideoDisplay Can Play MP3 Files?

Apr 12, 2011

Is it possible to play MP3 files using the VideoDisplay or VideoPlayer components?

View 2 Replies

Flex :: VideoDisplay MetaDataReceived Ready Totaltime

Nov 2, 2009

I'm building a video player that run's FLVs and cannot overcome the fact that flex foes not fire the metadataReceived event sometimes. Sometimes it does and sometimes it does not. Therefore the total time of the FLV remains -1. I understand its a known bug , I'm researching about it for a long time now , but could not find a good workaround by now, found one that says to set the buffer time to 0 and try that, but it's also does not work.

View 1 Replies

Flex :: Adobe - Take Screenshots Of A Spark VideoDisplay?

Mar 2, 2010

I want to build a component, where the user can play a video in a Flex Spark VideoDisplay. There will be a button and whenever the button is pressed, I want to save the current time of the VideoDisplay plus a screenshot. The screenshot needs to be someway saved, because I want to display all times and screenshots in a DataGrid (screenshots should appear when the user hovers a time in the DataGrid). So, how can I take screenshots of the Spark VideoDisplay and save/display them?

View 2 Replies

Flex :: Random Point On VideoDisplay Isn't Accurate Enough

Mar 17, 2010

For a schoolassigment me and some buddies of mine are creating an application that is showing many similarities with the C-Mon & Kypski musicvideo on [URL]. The application is being developed in Flex.

We want to get a random point of a clip, let it pause so a user can mimic the pose and make a snapshot out of it.

What i managed to do is get a random point of the movie. I did this by getting a random value between 0 and de total duration of the movie.

But what i didn't managed to do is let the screen pause on every 24st of a frame. As the movie concist out of 24FPS. It looks like the the random value of the movie that is being requested is being rounded by the movie itself. As example: There appears to be no difference between the frames requested at 2.40 or 2.41.

It appears it got something to do with keyframing i've read on the Adobe® Flex™ 3.5 Language Reference. The movie is a FLV file and i use the VideoDisplay object to display the movie.

View 1 Replies

Flex :: VideoDisplay: How To Autoload Without Auto-running

Apr 15, 2010

I'm using videoDisplay MXML component for my Flex app.I would like to autoload videos (in order to display the first frame) without automatically run them.

View 2 Replies

Flex :: VideoDisplay Cannot Load Local Flv Files?

Jun 28, 2010

I have noticed that I have to put flv files in the same or sub-directories of the application file, for example myproject/bin-debug/flvs/1.flv, and use videodisplay.source="flvs/1.flv" to load.

If I put it in myproject/flvs/1.flv, I cannot load it in VideoDisplay, using videodisplay.source="../flvs/1.flv". However the metadata (duration for example) is retrieved, but play() cannot start it.

View 1 Replies

Flex :: Url To Play Rtmpe On Videodisplay Component

Feb 1, 2011

I'm trying to play a video from amazon cloudfront in a videoDisplay component in flex3. My problem is that the source url is a rtmp with expire, key-pair-id and Signature parameters. I don't know what final url pass to the videoDisplay source. [URL]..

View 1 Replies

Flex :: VideoDisplay Control Does Not Open Stream

Jul 9, 2011

I'm trying to make VideoDisplay playing media with FlashDevelop. Here's the source of my application:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="[URL]">
<mx:Script>
<![CDATA[
import mx.events.VideoEvent;
private function pause():void {
[Code] .....

The problem is when I build application and run it (unfortunately, got no idea how to run it without KMPlayer or Mozilla - Flash Player is a plugin afaik) I got no video. The movie file is in the same directory as application's "Application.flv" one. But if I reload application (within player or browser) a few times, video starts. So, here are my questions: What's wrong with VideoDisplay component and how to fix this 'non-playing'? What's the better way to execute application than running it within movie player or browser?

View 4 Replies

Flex :: Restore Spark VideoDisplay Stream?

Dec 8, 2011

how to receive an event when the streams disconnects that would be great.

The documentation for this control is simply horrible. I have an application that will have a live video stream and I'm looking for a way to make the VideoDisplay control restore its connection in case of the occurrence of any of these specific scenarios:

The application starts and the stream is not online yet. The application is streaming and the user is disconnected from the internet. The application is streaming and the video server crashes and reboots.

I'm using Wowza Media Server and Wirecast to test this. 1 and 3 don't work, I'm not sure number 2 does. I made number 1 work by adding this very questionable piece of code:

[Code]....

View 2 Replies

Flex :: Spark VideoDisplay In Popup Causes Memory Leak

Jun 3, 2010

I'm currently building an air app with FB 4.

I have a custom control that contains a VideoDisplay control, and which loaded using the PopupManager.

Using the profiler, i've noticed that every time the my popup is loaded the memory for it gets allocated, but when it's closed the memory is never recovered.

There's nothing else holding a reference to the popup. And if I don't set the source of the VideoDisplay object, then there is no leak - but as soon as the source is set I get a leak.

I can't see any method to force close the stream or anything on the spark VideoDisplay control.

EDIT: I have tried setting the source to null before closing the popup but that doesn't change anything.

Also, I'm not holding any event listener to the video.

Edit 2: It doesn't happen if I replace the spark VideoDisplay with an mx VideoDisplay. Bug in the spark component?

View 1 Replies

Flex :: Attach Camera To Spark.components.VideoDisplay?

Nov 14, 2010

I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component does not have that method. I know I can use mx controls inside a Spark app but I want to know:

What is the real difference between spark.components.VideoDisplay and mx.controls.VideoDisplay?How do I attach camera to spark. components.VideoDisplay?Is there any advantages if I go with spark (since it's newer to mx library)?

EDIT: In the documentation this is mentioned: "Starting with Flex 4.0, Adobe recommends that you use the spark.components.VideoPlayer class as an alternative to this class. (mx.controls.VideoDisplay)"

View 4 Replies

Flex :: Make VideoDisplay Not To Save All Data It Played?

Nov 27, 2010

How to make s:VideoDisplay not to save all data it played?

View 1 Replies

Flex :: Cancel 'seeking' State Of VideoDisplay Class?

Jan 12, 2011

I have a VideoDisplay instance playing some video. When I click on the video slider (also my component) the property videoDisplay.playheadTime is set and the videoDisplay.state goes from 'playing' into a 'seeking' state for a brief moment (the videoDisplay seeks for a new position and then plays the video again). Intended bevaiour. But if I'm (or any random user) fast enough, I can set the playheadTime again while the player is still in 'seeking' state. When repeated several times every click is enqueued and the videoDisplay jump on every place of the video I have clicked(this is happening in an interval about 10-15 second after my last click). When I use live dragging the videoDisplay, overwhelmed by seekings, goes into 'error' state.My question is - is there any way to cancel seeking state of the VideoDisplay class? For example player is in 'seeking' state, I set playheadTime, and the player forgets about last seeking and try to find the new place of the video.

View 1 Replies







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