Flex :: Flash - Getting Exect Time Of Currently Playing Flv Video Stream In VideoPlayer?

Dec 5, 2010

How to get timestamp with milliseconds or better nanoseconds of currently playing video?

View 1 Replies


Similar Posts:


Flex :: Detect Source Video Size VideoPlayer?

Apr 30, 2010

Is it possible in Flex 4's VideoPlayer control (spark.components.VideoPlayer) to detect some attributes of the source video?

In my case, it's a local file. I would need to detect the original width and height of the input source video (an h264 f4v).

View 2 Replies

Publish Real Time Video Stream Of IP Camera To Flash Media Server With Flash?

Jul 22, 2010

Does flash provide an api to deal with remote stream like IP camera does?

View 2 Replies

Javascript :: Detect Time On A Playing Flash Video?

May 13, 2010

I have a video playing on my page. I want to show and hide some div's when the video reaches a certain point. Lets say hide something on 10th second and show it again on 20th second.I can easily do it in HTML5 with video tag and currentTime attribute but for IE I have to create the same functionality and I think with flash based videos (from YouTube or something like that).Is there a way to detect the current time of a video playing on my website, embeded from YouTube, Metacafe or any other video sharing site?I know I could detect it in flash and make it run some JavaScript function but I don't have flash nor have the skills to do it in AS3.

View 2 Replies

Actionscript 3 :: Seek Function Donīt Work On Flex VideoPlayer After The Video Finish?

Jan 22, 2012

The video seeks normally when first playing but when it finishes i canīt seek the video again. I used a listener to call a function after the event TimeEvent.COMPLETE occurs(video finishes). In the function i call the function player.seek(20) for example but it doesnīt work. The video keeps in the end of it.

View 1 Replies

Webcam - Retrieve Real Time Video Stream (from Web Camera) From Flash Media Server In A Browser?

Jun 12, 2010

How does the url of FMS real time video stream look like?

View 1 Replies

Media Server :: Know When A Playing Video Stream Has Anything To Show?

Jul 4, 2010

How can I tell after issuing a NetStream::play call when there is any video arrived which I can render (Video::attachNetStream)? I can see that most of that stuff is asynchronous and highly dependent on a number of variables like FMS latency, client latency and bandwidth, server load, weather etc. I however need a reliable dependent way of figuring when there is any picture to show. I administrate our service and need to monitor content people are publishing, for that I need to browse a hundre or so streams as fast as possible. What I do is I have a number of "player" streams that play a stream name (I use Administration API to get an array of these) , wait until there is picture, show it in a video object, disconnect video from stream, create new video object, play another stream, wait until picture, show it, and so on.

I found out that I can achieve a way to check whether video has arrived by NetStream::info.videoBufferByteLength, alternatively perhaps 'videoByteCount'. I cannot create a new stream for new video object, that is too much overhead, so I reuse streams. I close a stream, play new stream name, and wait until the either of the properties above is non zero. This has been working quite alright, but still occasionally I get stale data in the subsequent video objects, even when a stream is supposed to be playing new content. I need to avoid these.

So my question boils down to the already mentioned: what would be a reliable way to do what I am doing? It's just a stream of compressed data, there must be a way for Flash Player to know what is new data and what is stale data. In fact I don't think there is supposed to be stale data in a NetStream that is already playing something else! I know this is hardcore stuff, but we are pushing it :-)

View 2 Replies

Media Server :: Record A Live Video Stream Playing On An FLVPlayback?

Mar 22, 2012

How to record a live video stream playing on an FLVPlayback?

View 1 Replies

Media Server :: FMS / FMLE - Record And Stream Video At Same Time

Dec 15, 2010

So I have FMLE and FMS. to record and stream video at the same time.
On server side I have "main"
application.onPublish = function(client, potok){
potok.onStatus = function(info){
for(var i in info){
trace(i + "=" + info[i]);
[Code] .....

View 12 Replies

Media Server :: Possible To Adjust FPS,video Size And Quality Per The Bitrate While Playing A Live Stream?

Jul 30, 2010

So far , I only found tutorials on control these attributes while publishing the stream

View 15 Replies

ActionScript 3.0 :: Start Video Playing At Certain Time

Sep 18, 2009

How do I play at video, but starting from say 20 seconds in?

View 1 Replies

Flex :: Send Custom Animation As A Video Stream In Flash?

Mar 15, 2010

I'm using NetStream class to create p2p video conferension. Is it possible to add overlay pictures or animation into video captured from webcam and then send reencoded stream to other user?

View 2 Replies

Flash :: Send A Video Stream To A Red5 Server Using Flex?

Jul 2, 2010

I'm trying to send a video stream to a Red5 server using Flex.

My Red5 setup seems to work for remote method invocations and shared objects, but I've yet to succeed in getting video working.

This is the AS3 code that connects to Red5:

# connect to RTMP server
netConnection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
netConnection.connect("rtmp://localhost/context_name");
# omitted code for waiting for connection success, and setting up shared

[Code].....

As said, note that the Red5 setup works flawlessly for remote method invocations and shared objects, but not for video which is strange.

View 2 Replies

ActionScript 3.0 :: Creating Flash DVD - Put Video Window Playing Certain Amount Of Time Then Repeats Itself In Main Window?

Oct 20, 2011

I am preparing a presentation DVD... DVD will contain wmv video, user manual and another flash exe file... So DVD interface will contain three elements; user manual, a flash exe file and video.. Flash video window will be short-time video, playing like 5-10 seconds then repeats itself... My question is, how could I accomplish to put video window playing certain amount of time then repeats itself, in main window? I need as3 fla example, which could be so useful for me..

View 1 Replies

Flex :: Use Flash Player To Play Video Stream From Other Media Server(rather Than FMS)?

Oct 10, 2010

is it possible to play video stream from non-adobe(or homebrew server), in the newest flash player(10).It looks like the VideoPlayer only plays the stream from FMS? Is it the business model of Adobe?

View 2 Replies

ActionScript 3.0 :: Load New Video Into VideoPlayer?

Jul 15, 2011

I've made a very simple video player from bits I've found on the internet and it's working great provided I want to only use 1 video...

I have added two buttons on the stage and the idea is, if you click "videoBtn1_mc" it plays video1 and if you click "videoBtn2_mc" it plays video2.

I can't seem to eject/unload the first video that is loaded in. Once it loaded in it will just play that one no matter which btn I click...

Here is my code. The buttons I'm referring to are right at the bottom...

ActionScript Code:
import flash.events.MouseEvent;
//------------------------------------------------------------------------------------------
////CONSTANTS////

[Code].....

What must I add to eject/unload the current video so the new one can load in?

View 4 Replies

Professional :: Sound Stream From One Clip Playing Over Stream From Another

Jan 23, 2011

I have a layout with narration and a nav bar. When I click a nav button for section 2, the audio from section 1 (set to stream) continues to play over the audio for section 2. This cumulates so if I click buttons for sections 3, 4 and 5, I get five audio files playing on top of each other. Sections are individual movie clips with embedded audio streaming on a Sounds layer in each movie clip.

View 3 Replies

ActionScript 3.0 :: Seek To A Not-yet-loaded Second In Fl.video.VideoPlayer?

May 11, 2009

I'm using fl.video.VideoPlayer and I'd like to be able to seek arbitrarily within the video. seek() works unless the given time isn't yet loaded, in which case the video hiccups and continues playing normally. I'd like it to seek to the specified second even if it's not yet loaded, loading/buffering as necessary. I've tried seek() and play() and haven't been able to make this work.

View 1 Replies

Html :: Fl.video.VideoPlayer Loads Flv Relative To Swf?

Nov 9, 2009

Update: Turns out this is undocumented behaviour of the NetStream class - NetStream loads relative to the swf, as opposed to URLRequest which loads relative to the HTML doc...annoying.I am having a strange issue where loading an FLV file using thefl.video.VideoPlayer class that comes with CS4: Adobe docs hereUsually when loading external content into flashplayer, the path is relative to the HTML page that the swf is embedded in - but when I try and load an FLV using the VideoPlayer class the player looks for a path relative to the swf, not to the HTML (as you would expect).

eg:
My file setup is:index.html (which contains the swf)swf/my-video-player.swfvideo/my-video.flv

[code].....

View 1 Replies

ActionScript 3.0 :: Toggling Video Fullscreen And Positioning Videoplayer UI?

Oct 12, 2011

I've landed a project which is centered around building a custom video player with some special functionality (so I can't just use the default Flash video player, unfortunately). I have two small 'problems' in the sense that I could probably solve them myself, but I'd like some input on best practice for solving them:(The project is for Flash Player 10 and the video is intended to run inside a browser.)

Toggling between normal / fullscreen playback Ok, so my custom video player needs to be able to toggle between fullscreen and normal embedded-in-webpage player size. How does fullscreen toggling currently work in AS3 -is there a specific AS3 method for fullscreening a specified video object in the swf (without stretching the video player UI in the swf itself), and if so, does it automatically black out the background if the screen format doesn't match the video format? - or do I need to download a class for this?

Positioning video player UI when going fullscreen As opposed to YouTube, I want the player UI to still show up when the video is toggled to fullscreen mode - but as mentioned above, I don't want to stretch its size along with the video. So is there a best practice for repositioning the video player UI to the vertical bottom and horizontal center of the screen when the user clicks full screen? I'm not entirely familiar with what happens to the Flash stage when it goes full screen,. How to deal with not knowing the coordinates of the vertical bottom/horizontal center when screens have different ratios and resolutions?

View 3 Replies

ActionScript 3.0 :: Toggling Video Fullscreen And Positioning Videoplayer UI - Best Practice?

Oct 12, 2011

I've landed a project which is centered around building a custom video player with some special functionality (so I can't just use the default Flash video player, unfortunately). I have two small 'problems' in the sense that I could probably solve them myself, but I'd like some input on best practice for solving them: (The project is for Flash Player 10 and the video is intended to run inside a browser.)

Problem 1: Toggling between normal / fullscreen playback Ok, so my custom video player needs to be able to toggle between fullscreen and normal embedded-in-webpage player size. How does fullscreen toggling currently work in AS3 -is there a specific AS3 method for fullscreening a specified video object in the swf (without stretching the video player UI overlay), and if so, does it automatically black out the background if the screen format doesn't match the video format? - or do I need to download a class for this?

Problem 2: Positioning video player UI when going fullscreen As opposed to YouTube, I want the player UI to still show up when the video is toggled to fullscreen mode - but as mentioned above, I don't want to stretch its size along with the video. So is there a best practice for repositioning the video player UI to the vertical bottom and horizontal center of the screen when the user clicks full screen? I'm not entirely familiar with what happens to the Flash stage when it goes full screen, How to deal with not knowing the coordinates of the vertical bottom/horizontal center when screens have different ratios and resolutions?

View 3 Replies

ActionScript 3.0 :: VIDEO Stops Playing, Continue Playing Flash Movie?

Aug 7, 2009

I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...

If the VIDEO (FLV) is done playing, gotoAndPlay(X)?

View 4 Replies

Flash :: Save Video Stream From Webcam As An Image Instead Of An Flv Video File Using ?

Jun 30, 2010

This will create an flv video file on flash media server:

var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
ns.publish("yourCamera", "record");
ns.attachVideo(Camera.get());

How can I generate an image for the current video frame every 2 seconds?

View 1 Replies

Flash :: Video Broadcasting - Stream Webcam Video From One Computer To Another

Feb 16, 2010

For fun I'd like to recreate [URL]. Basically i need to be able to stream webcam video from one computer to another using flash.

View 1 Replies

Professional :: Flash - Animation With Stream Sound Not Playing In Mac?

Jul 29, 2011

I have made a 5 min animation with stream sound. Its playing perfectly in PC. But in mac, its not playing. Stream sound starts from frame 60. So mac plays the swf plays till 60 frame, after that it pauses. I tried importing different sound format (wav, aif, mp3) and tried with all sound export setting but the problem remain same; its playing only till 60.When i removed the sound, it played till end. Even with event sound, it plays till end. But with stream sound, the problem. The problem is only in mac; in pc its perfect.I am using VMware Mac OS x leopard in window xp for testing purpose.

View 2 Replies

Flash :: Adobe Crash After Several Hours Of Playing Mp3 Stream

Mar 16, 2012

I have made a mp3 player that is working fine, it plays a mp3 radio stream for several hours (last crash was after 6,5 hours) and then it crashes without any message or exception. This is very difficult to debug because it only happen after a couple of hours with the same stream. It appear in all browsers so it is a Adobe Flash problem or is this a buffer problem?

Must i use other buffering settings to play MP3 streams? Does anybody know this problem and what can be done to avoid this? Also another question is why memory consumption after hibernation of the pc is growing dramaticly (every second it eats a couple of 10Kb). After refreshing the page it is stable again. Why is this happening? Mp3 player is made in Flash 9 (CS3) with AS3 and the player is Flash 10 (latest). Running on Windows XP Prof with 3GB RAM.

View 1 Replies

Flex :: Send Video Stream From Script To Netstream?

Jul 9, 2011

How to send a video data stream from one side written by java to another side written by flex and then display it? I just know that on flex one method is to use netstream class get the real-time video stream and bind with a videodisplay to display it. But which class I should use to send this video stream in java and which class I need to use in flex to receive this flow and pass it to the NetStream class?

View 1 Replies

Media Server :: Play Live Video Stream With Flex?

Sep 23, 2010

I'm trying to get Flex Builder 3 to play a live video stream with Flash Media Server and Flash Live Media Encoder.
 
I'm able to stream pre-recrorded (vod) flvs in flex from flash media server.
I'm able to stream live video using Flash/FMS/Flas Live Media Encoder, but not with Flex.
 
This code streams pre-recorded Video on Demand flvs, but not live streams:
If I change source to "rtmp://localhost/live/livesream.flv, I get nothing.
 
<?xml version="1.0"?><!-- controlsvideodisplayVideoDisplayFMS.mxml --><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox>        <mx:Label text="RTMP FMS 2.0"/>        <mx:VideoDisplay autoBandWidthDetection="false"             source="rtmp://localhost/vod/Legend.flv"/>    </mx:HBox></mx:Application>

View 3 Replies

Media Server :: Stream Is No Longer Play From Time To Time (5-8 Seconds)?

Aug 24, 2009

I'm testing Live streaming with FMSS. The stream is pushed to FMSS buy Adobe FMLE software. Streaming works fine until I reach 1300-1400 simultaneous connections.No matter what the encoding ratebit is (150kbps or 2000kbps) the stream is no longer play from time to time (5-8 seconds).

The CPU (2xIntel Quad) is loaded less than 20% and memory used is about 2 GB (there is plenty of memory installed 32G). The OS is RedHat 5.3 64bit platform. Network uplink maximum rate is 4Gbps.I disabled the Queue but the problem still persist.

View 1 Replies

ActionScript 3.0 :: Get Total Time And Time Played From Flash Video Component?

Jul 6, 2009

I've loaded a video into the FLVPlayback component and I'm looking for a way to get the total time and the time played so far and output them to two text fields so the end result would look something like "00:12/00:50".

Right now I'm defining the video by the components inspector but I'm eventually hoping to define this bit by actionscript as well.

View 6 Replies







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