Solved

SWF capture the time on the Video

Posted on 2014-02-26
3
240 Views
Last Modified: 2014-03-17
How do I capture the time on a SWF
0
Comment
Question by:smares323
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 500 total points
ID: 39890704
I haven't tried it, but this blog says one way to get the duration is extract the metadata. Then divide the frameCount/frameRate

http://coldfused.blogspot.com/2008/02/reading-flash-swf-metadata-from.html

<cfscript>
  fis = createObject("java", "java.io.FileInputStream").init("C:\test.swf"); // Create the FileInputStream
  decoder = createObject("java", "macromedia.swf.TagDecoder").init(fis); // create TagDecoder
  header = decoder.decodeHeader(); // Decode the header.
  fis.close();
  duration = header.framecount / header.rate;
</cfscript>
0
 

Author Closing Comment

by:smares323
ID: 39934565
Good advice.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 39934589
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question