IDE :: FLVPlayback Display Timecode?
Mar 12, 2007I am streaming video from a flash server. I am using the FLVPlayback Component. Is it possible to display the time code?
View 9 RepliesI am streaming video from a flash server. I am using the FLVPlayback Component. Is it possible to display the time code?
View 9 RepliesI'm working on a Flash Projector CDROM with around 10 FLVs. These FLVs are loaded dynamically into the SWF projector using actionscript from the CD. There are 10 buttons to load each movie into the same FLVPlayback instance.
However, when I click the button to view/load the FLV, sometimes the video does not display but the audio can be heard playing. Furthermore this is happenning erratically and on randomly. It seems to get worse as the CD has been playing for a longer period.
This sounds like an issue of Flash clogging the computer's memory. Is there a way to get around this without using a 3rd-party software like Jugglor? [URL]
I'm working on a Flash Projector CDROM with around 10 FLVs. These FLVs are loaded dynamically into the SWF projector using actionscript from the CD. There are 10 buttons to load each movie into the same FLVPlayback instance.However, when I click the button to view/load the FLV, sometimes the video does not display but the audio can be heard playing. Furthermore this is happenning erratically and on randomly. It seems to get worse as the CD has been playing for a longer period.This sounds like an issue of Flash clogging the computer's memory. Is there a way to get around this without using a 3rd-party software like Jugglor?
View 1 RepliesI am overlooking something, but why won't my FLVPlayback component, which is in my library, be added to the display list? When the code executes, there is now FLV component on stage.[code]...
View 1 RepliesI've done a six minute video and posted it as an flv/swf for the client to review. I'm using a the standard video player component that comes with Flash. I'm working with AS2. Actually, there's nothing else in the swf except for the video.What I need to do has have a simulated time code box in the corner that starts and stops on the push of the play button of the flv.
View 0 RepliesHow would you go about turning timecode into milliseconds. My timecode is in xml and comes in as a string. Timecode examples:
00:20
00:45
01:10
My end result is to call a nsStream.seek( milliseconds );
Is there anyway to get a timecode into a video player withoutusing netconnection/stream (i.e. using the flv playback componentand captioner?)
View 5 RepliesI need to convert timecode to seconds!
The timecode would be in HH:MM:SS:MS (eg. 00:01:07:00).
I need to determine how to take that timecode and convert it to seconds which in the above example would equal 67.
We are sending a multiple streams from FMLE to FMS, and then playing them with NetStream instances. We could have several streams playing on the same flash canvas. The idea is to use ActionScript to synchronize the playback of these streams using embedded system timecode from FMLE, so all the camera angles are playing at the same place in the stream. However if we use the onFI handler to receive timecode data we see one of the streams reporting valid timecode, and the other seems to get 'stale', reporting the same infoObj.st value for multiple onFI events.
Example: NS2 is great:
NS2 20:14:19.215
NS2 20:14:19.246
NS2 20:14:19.277
NS1 20:14:07.443
NS2 20:14:19.324
NS1 20:14:07.443
NS2 20:14:19.355 ... etc
However NS1 traces out like this with stale data:
NS1 20:14:07.990
NS1 20:14:07.990
NS1 20:14:08. 52
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.443
NS1 20:14:08.474
NS1 20:14:08.506
NS1 20:14:08.552
NS1 20:14:08.943
NS1 20:14:08.943
NS1 20:14:08.943
NS1 20:14:08.943
NS1 20:14:08.943
NS1 20:14:08.943
NS1 20:14:08.943
All FMLE /FMS instances are configured identically - either stream will decode valid timecode it played on its own - just not while both are running in the same stage!
i am wondering is it possible to get embeded timecode from HTTP Stream?Flash Media Live Encoder contains a special built-in handler, onFI, that subscribing clients can use in their ActionScript code to access timecode information. The following client-side ActionScript code shows how to get timecode information using the onFI handler. The object ns is the NetStream object. You can get timecode and system date and time information, if timecode and system date and time were embedded in the stream, by accessing the tc, sd, and st properties of the info object that is passed as an argument to onFI():i am using this onFI method succesfully with netStream object when i am getting stream from RTMP.is it possible to get somehow same results with HTTP Streaming (f4m and osmf)
View 3 RepliesI've been constructing a flash video player from scratch using tutorials online, and I cannot figure out how to add a timecode (elapsed time/total time) or a way to have a pre-roll video. I'm using flash cs4 and AS3.
View 1 RepliesI've managed to publish video now: ns.attachAudio (mic);ns.attachCamera (cam);ns.publish ("name","record"); But without time information.
View 22 RepliesI wnat to display a FLVPlayback full screen the same as when you click on the Full Screen component button.
function goFullScreen():void {
vidPlayer.enterFullScreenDisplayState();
}
var vidPlayer:FLVPlayback;
[code]....
I have attached a video on a frame of my website in Flash. When I preview the movie the film plays as it should.But when I export the Fla. as a Swf. file it then doesn't have the movie there anymore?It does show this error:
**Warning** The linkage identifier 'FLVPlayback' was already assigned to the symbol 'Video/FLVPlayback', and cannot be assigned to the symbol 'FLVPlayback', since linkage identifiers must be unique.
I really don't know what that refers too.
When using Loader class to load display objects (bitmaps, SWFs...) from remote URLs, is there any way for them to be instantiated (referenced as we know, by Loader::content property) as some user specified valid subclass? For example if I had a class that extended a Bitmap, is there any way for the loaded object to be of this class?
View 9 RepliesI am a complete rookie in ActionScript2.0/Flash.I just started learning regarding a project. My problem is I want to display data from MySQL in a DropDown Menu in Flash. the SendAndRecieve functionality only aids us to receive any responses,right?(Please correct me If I am Wrong.
View 2 RepliesI have tried to fix this error but I just cant get it to work.
View 2 RepliesIs there any way to display flash objects which are outside the display area when flash is embeded in HTML
The reason i ask is my current project has a rotating + enlarging effect which is largely dynamic so sometimes an object may clip the edge of the stage areathis looks messy but i dont want to increase the stage area to cover the largest possible area any object could enter because most of the time the objects are at the center and small so i would end up with a lot of white space
I have a list containing display objects from throughout the application (insertion order). I want to process the list either top-down (parent, child) or bottom up (child, parent). The only requirement is that either a parent is processed before any child or vice versa a child before its parent. What is a good approach? This question is not about sorting a list. It's about retrieving the depth of a particular display object.
Example
Display list:
A (root)
B1
C1
C2
D1
B2
......
My list:
list = [E1, F4, A, B2, B1, C3, ..., N9, N8]
Bottom-up:
N9, N8, F4, E1, C3, B2, B1, A
Top-down:
A, B2, B1, C3, E1, F4, N9, N8
Does not matter if N9 before N8 or N8 before N9. Important is that any N is before M (first run) or any M before its children N* (second run).
Is there any way to test if a display object has been added to the display list?
View 9 Repliescan I resize a display object (container) without its contents (children) are resized?
For example, in the following code when I resize the green square, red is also resized. I wanted to resize only the green.
ActionScript Code:
import flash.display.Sprite;
var sprite:Sprite = new Sprite();
sprite.graphics.beginFill(0xff0000);
[Code].....
What's a simple way to detect if a display object is currently on the display list?
View 1 RepliesHow do I identify all the display objects in the display list in ActionScript, bellow the one that I have clicked? All the other objects are shadowed by the first one. What if other objects have visible parameter as hidden?
View 1 Repliesi have attached the fla and xml file. i need to display the html embeded in the xml and display in the flash.
View 0 RepliesI was wondering if there is a shortcut so i can always set a MovieClip to display at the tippy top of the display list?
Also i understand that WebViewLayer will always display above the display list.
Can you make one Bitmap Object (I'm using an external jpg) or something similar, and then display it many times simultaneously without creating a separate object each time?
Also, would they be easily removed or hidden?
I've got a little checkmark jpg graphic loaded here, but I'm not sure how to go about using it in many places at once.. I can only display it in the one place at any one time...
I'm thinking there might be a way to load the picture once, then use its bitmapData elsewhere in new display objects somehow, without needing to reload the image over and over?
I have to make time so the hours to be starting with 0 for the numbers less then 10 for example 9:30 to be 09:30 and in my code it works for the minutes but not for the hours. I have written the following code here:
function UpdateClock () {
myDate = new Date ()
hours = Number(myDate.getHours())
minutes = Number(myDate.getMinutes())
seconds = Number(myDate.getSeconds())
[Code] .....
It's my understanding that a display object cannot be in the display list more that once.So if I add something to the stage shouldn't a second addition of the same object replace the first? for instance:
[code]...
there should now only be one "myDisplayObject" on the stage.
I went to start a video project this morning and can't get the FLVPlayback component to do anything. Opening a new Flash file, dragging and dropping a FLVPlayback object from the Components panel onto the stage and then building the movie results in the following laundry list of errors:
1119: Access of possibly undefined property isRTMP through a reference with static type VideoPlayer.[code]...
All these errors take place in the UIManager.as file.
I have a little Flash 8 FLVPlayback-based video player, designed to read a list of video URLs (pointing to a demo version of FMS 3.5) from XML. The player works the first couple of times you select a video but then stops displaying anything when you select more videos. The seek bar seems to move but there is not picture or sound. You can see it here:
[URL]
My ActionScript is as follows:
Code:
var vidList:XML = new XML();
vidList.ignoreWhite = true;
vidList.onLoad = function() {
[code]....