Re: [flexcoders] Re: FLV Duration

2006-12-05 Thread Tom Chiverton
On Tuesday 05 December 2006 13:58, john_69_11 wrote:
 really figure it out.  I ran an flv through it and couldn't see how to
 get the duration out of it.It looked to me like all you could do was
 add stuff to the flv, not get information out of it.  If I am wrong

Looks like it adds the missing meta data.
You run all your video through the tool as it's uploaded, and then it's 
available when you load the video into your app.

-- 
Tom Chiverton
Helping to quickly disintermediate corporate ROI



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] Re: FLV Duration

2006-12-05 Thread Sönke Rohde
Hi,

If it was not encoded with metadata why not inject that metadata with
FLVTool2?
If there is no metadata you will not be able to get the duration. Another
possibility would be to use the print command of FLVTool2 to determine the
duration instead of injecting it.

Cheers,
Sönke 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of john_69_11
 Sent: Tuesday, December 05, 2006 6:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: FLV Duration
 
 again, only works if the flv was encoded correctly with the metadata
 
 --- In flexcoders@yahoogroups.com, Matt Horn [EMAIL PROTECTED] wrote:
 
  If you're using the VideoDisplay component, you can get the 
 length of
  the FLV file using the totalTime property. 
  
  hth,
  matt horn
  flex docs 
  
   -Original Message-
   From: flexcoders@yahoogroups.com 
   [mailto:[EMAIL PROTECTED] On Behalf Of john_69_11
   Sent: Monday, December 04, 2006 4:13 PM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] FLV Duration
   
   Is there an easy way to figure out the duration of an FLV 
   thati s being played? I have been looking at the NetStream 
   object and the onMetaData event, but it seems like the FLV 
   does not always have the metadata set. The FLVs I want to 
   play are created my other people, so there is no way to force 
   them to add the metadata. is there any way to easily get 
 around this?
   
   
   

  
 
 
 
 
 
 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.com 
 Yahoo! Groups Links