[asterisk-users] how to know length of file in seconds

Paul Belanger pabelanger at digium.com
Tue Jun 7 16:07:10 CDT 2011


On 11-06-07 02:31 AM, virendra bhati wrote:
> Hi List,
>
> Is there any way by which we can get the length of any recorded files into
> seconds ?
>

$ sox foo.wav -e stat

[1] - 
http://www.thegeekstuff.com/2009/05/sound-exchange-sox-15-examples-to-manipulate-audio-files/

-- 
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode)
Check us out at: http://digium.com & http://asterisk.org



More information about the asterisk-users mailing list