Solved

SWF capture the time on the Video

Posted on 2014-02-26
3
233 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

763 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