[asterisk-users] how to know length of file in seconds
Karsten Wemheuer
kwem at gmx.de
Wed Jun 8 06:55:33 CDT 2011
Hi,
Am Dienstag, den 07.06.2011, 17:07 -0400 schrieb Paul Belanger:
> 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
just a remark for people using newer(?)/other version of sox: In version
v14.3.0 (ubunto lyquid lynx) or v14.3.1 (Debian Squeeze) the above
command results in an error. You can use
sox foo.wav --null stat
instead.
Karsten
More information about the asterisk-users
mailing list