[flexcoders] FLV dimensions from Flex or CF

2008-01-10 Thread Anzer
Hi,

I have a Flex app that will allow users to upload FLV videos. I want to find
out the width and height of the uploaded file and do some logic accordingly.
I have done a lot of research to find out the FLV dimensions from ColdFusion
but I couldn't find a solution. 

Please let me know if there is any method to find out the FLV dimensions
from Flex?

 

Best Regards,

Anz

http://www.digitalmesh.com http://www.digitalmesh.com/  |
http://www.FlickrMailer.com http://www.flickrmailer.com/  



Re: [flexcoders] FLV dimensions from Flex or CF

2008-01-10 Thread Abdul Qabiz
FLV metadata contains it's dimensions, provided if right tool was used to
encode the video to FLV. In any case, you can use open-source tool called
flvtool2 (it's written in ruby and open-source) and hook it with your Upload
process, so you can run this tool on uploaded flv file. This way, you can
inject most of the metadata in flv and read it from Flex/ActionScript while
playback starts.

I am sure, there are such tools available in PHP/C#/Java, just search for
it. Burak (of ASV fame) has written FLVMDI, that can be used also along with
CFEXECUTE (if your are using windows as server), if you are using linux
based server, you might check for RUBY on your server and use flvtool2.

-abdul

On Jan 10, 2008 5:29 PM, Anzer [EMAIL PROTECTED] wrote:

Hi,

 I have a Flex app that will allow users to upload FLV videos. I want to
 find out the width and height of the uploaded file and do some logic
 accordingly. I have done a lot of research to find out the FLV dimensions
 from ColdFusion but I couldn't find a solution.

 Please let me know if there is any method to find out the FLV dimensions
 from Flex?



 Best Regards,

 Anz

 http://www.digitalmesh.com | 
 http://www.FlickrMailer.comhttp://www.flickrmailer.com/
  




-- 
-abdul
---
http://abdulqabiz.com/blog/
---