John,

Railo is capable of reading information from a multimedia file. This can 
be done with the new CFVIDEO tag:

<cfvideo action="info" result="info" source="myFile.wav">

the resulting struct contains several different information strings, 
including a key called "duration".

-- 
Greetings from Switzerland
Gert Franz
Railo Technologies GmbH
[EMAIL PROTECTED]
www.railo.ch

Join our Mailing List
german:    http://de.groups.yahoo.com/group/railo/
english:   http://groups.yahoo.com/group/railo_talk/
linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1



Burns, John D schrieb:
> You may look out there at some java classes and see if you can find
> something that can read the attributes of the wav file or even load the
> whole wav into memory and then pull the length or something. I don't
> know of any specific classes that do it for wav but I know I've used
> some for mp3s and ID3 tagging and such. If you can find one, anything
> you can do in java you can do in CF. Hope that gets you going in the
> right direction.
>
> John Burns
>
> -----Original Message-----
> From: Dave Phillips [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 01, 2008 9:24 PM
> To: CF-Talk
> Subject: Re: Get length of .WAV file
>
> As a follow up, I installed the CFX tag and it is returning 0 seconds on
> my .WAV files, so it doesn't seem to work anyway.  I really need to find
> a way to identify the length in time of a .WAV file.  Please let me know
> if you know how.
>
> Thanks!
>
> Dave 
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:306677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to