ActionScript 3.0 :: Time Information From Video?
Sep 28, 2010
What I need to obtain is the playhead location of a playing video when the Stop button is pressed. I need this to be either in milliseconds or hours:minutes:seconds. Either format is fine as I can work with either.I need this so that I can add a cue point to the video so that when the user returns to the presentation, it will start playing again at that point.
View 1 Replies
Similar Posts:
Oct 21, 2011
I want to read Meta tag information of a video file like Artist,Album,Year,etc.... I tryed "onMetaData" for a video file.But i didnt get information like rtist,Album,Year,etc... The video file can be mp4,avi,mpg,mov. I dont want them to play in swf... I just want to load the file and show the meta tag information as text. For audio files i can get id3 information after loading the song.But is there any other way to get them with out loading the sound? Each loading will take time to give the result.
View 9 Replies
Feb 5, 2011
I'm have some videos and I would like to add analytics so I can track how many times they were played. Although it sounds like a simple task, I can't seem to find much on the subject.
View 1 Replies
Mar 10, 2010
I have a video player I am trying to simply pass information from a javascript link to tell it which video to play. javascript seems fine but when it trys to call the actionscript function it comes up as undefined can anyone post a simple example of the actionscript and javascript call?
View 7 Replies
Jan 20, 2011
I'm now saving the snapshot this way:
vidBmpHolder.draw(main.media.videoLocal);
var jpgEncoder:JPGEncoder = new JPGEncoder(85);
var jpgStream:ByteArray = jpgEncoder.encode(vidBmpHolder);
[code].....
View 2 Replies
Mar 28, 2012
I don't know how to ask this, but the thing is that i was thinking that how does youtube or videofy.me like video blogs send the video path & all info to a flash video player i mean when e click on any video link how does it sets up everything and displays the chosen video, because actually i've created one but in that i had to set up the whole page via flash so that it can manipulate the information like path & name of the video, and cannot use html links, php and all.. so can u people tell me how do i start up & how this process is done & what i need to do & other important things on this.. i mean sending any info to a flash player via any scripting or server side language.
View 1 Replies
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
Dec 18, 2011
I'm looking for a Flash Video Player (something like JWPlayer) that I can embed in an html page, that provides a JavaScript API with a method to get the exact timestamp (aka position, or frame-count) for the current frame.
View 1 Replies
Jul 5, 2009
I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:
[Code]...
I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.
View 1 Replies
Feb 11, 2011
I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?
View 2 Replies
Oct 13, 2011
i set up a function to check and display the duration of my video in a dynamic text field. It works fine but I am trying to have it display as min and sec.(00:00). What would be the best way to do this?
Here is my code so far:
var playProgressTM:Timer = new Timer(100,0);
playProgressTM.addEventListener(TimerEvent.TIMER, playProgressHandler);
function playProgressHandler(evt:TimerEvent):void
[code]...
View 1 Replies
May 26, 2011
basic coding plan for scaling up and down the video at run time when I open a digital scrap book.The idea is very simple.. I have a Digital Interactive scrap book which will flip to the page which has the event housed on that page and will show a Thumbnail of the event. In the meantime the Loader will keep loading the movie file and show a progress bar. Once when the loader is done with, I want the Video to scale up to the size of the Stage and then play the video and once the file has reached the end it should scale down the video and go back to the Index page-the home page whioch started this..
View 1 Replies
Feb 22, 2011
Here is the situation : When a user watches the full duration of a video, I would like to add a new row to the database. For example, if there is a video of 100 MB with a duration of 2 hours and the user watches the full video add a new row, else do nothing. I am using JW player and js.
View 1 Replies
Dec 22, 2011
Is that possible to streaming a video from a certain time.
For an example i want to start the video from the time of 1.23 min but its always start from 0 only
time= something in millisecond;
I gave nsStream.seek(time) but even its start from 0 only.This is because the stream is not available for that time.
So can we start video streaming from mentioned timing is that possible.
I don't want to use FMS or Red5 for this.I know there is a possibility using server.
View 1 Replies
Nov 7, 2009
How can i get the time duration of video has been loaded?[code]...
View 1 Replies
Oct 11, 2010
I am working in AS2 and I am wondering if someone knows how to make a video so it doesn't reset everytime the user logs in - it just remembers where they are and what they already clicked.I created a video that will be uploaded in a learning management system.Students can click on movie clips and make them disappear.What I would like to have happen is have the flash video remember which movie clips the student already clicked (and made disappear) so that the next time they log in the movie clips that should be invisable remain invisable (rather than starting over)Basically, it is like a little game, once saved you do not need to start at the beginning every time you go back to it.....it remembers where you left off.
View 5 Replies
Oct 22, 2010
I want to capture webcam video at run time.user can preview and save the video.
I am able to capture video using camara.get();
View 1 Replies
Nov 11, 2011
I use FMLE to publish h264 video to FMS , my server side code (main.asc)[code]...
View 10 Replies
Sep 18, 2009
How do I play at video, but starting from say 20 seconds in?
View 1 Replies
Nov 16, 2009
I'm using this code and basically I want it to start like .5 seconds in.
ActionScript Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
[code]...
View 1 Replies
Jan 15, 2012
is it possible import many video files at a time.
View 0 Replies
Apr 29, 2010
I have published some videos with flash, but I need to find a way to display a very simple timer showing the elapsed time. I tried to use a dynamic text with AS3 without any success. I would like to use one of the ready-made skin for my player, and just add anywhere on the stage a dynamic text field with my time inside.
View 2 Replies
Nov 7, 2009
How can i get the time duration of video has been loaded?
Example: Total length - 1minute.
loaded length - 30second.
Then How can I get this loaded length?
I am not talking about the total duration of video. and I am using web hosting server not RTMP server.
View 2 Replies
Dec 21, 2009
I want to develop a player , which shows images.URL...but I am so much confused about the progress bar or scrubber which can be moved or how to arrange with respect to time just like VIDEO Player every image will have to play 10 sec , so if 20 images , so there will be 200 sec.so how i should control this time bar or even when user move the scrubber, it moves to exact image with respect to time
View 3 Replies
Mar 16, 2010
How can I play an embedded flv video automatically in a Flash website every time it loads a page?
For example: When I click on the "About" button, I'll go to the About page. On that page, there's an embedded flv that I want to play automatically every time I go to the "About" page.
View 1 Replies
Jan 30, 2010
How to record Audio and Video at the same time into flv in Adobe air 2.0 ? So that Video and Audio will be sinchronised?
View 1 Replies
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
Jan 2, 2012
I am recording FLV videos with Red5 server and playing them back in a Flex app. I am aware that Red5 does not properly inject the FLV MetaData, so I am using an external commandline tool to get the metadata in there.
Because I am injecting the metadata, my duration of the video is correct.
The problem I am having, and this is true with all FLV players I try to play the video with (even 3rd party stand-alone video players), is the PlayHead time is never started at 0. When I load up the FLV to play and lets say the video is 10 seconds long, the current time label on the playhead starts at 1-2seconds instead of 0 and the horizontal slider current time indicator also is moved away from 0 and is set to 1-2 seconds along the slidebar. the video plays back fine from what I can see though.
Is there a byte in the FLV that I need to change so that it will start the playhead at 0? I realize this is probably something to do with Red5, so if anyone has any work-arounds or potential things to watch out for that may be causing this
View 1 Replies
Apr 4, 2011
I just want to know, howto add time duration and time ellapse on a flash video player.
View 1 Replies
Jun 17, 2011
I have built a flash video player where-in the player is sending some data to the back-end at periodic intervals. Now I have been asked to send the actual amount of time the video was played. I cannot send netstream.time value in this case.Because the user may watch a video for first 5 mins and then seek to the say 30th minute and then close the video. So here the netstream.time value is 30 minutes whereas the actual playtime of the video is just over around 5 mins. I am not sure if the Flash media server maintains this actual playtime of a video. If it does how can I access this? And if it doesn't whats the best way to get the actual play-time?
View 0 Replies