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

virendra bhati virbhati at gmail.com
Wed Jun 8 07:36:20 CDT 2011


Hi,

I am using CentOS 5.6 and I am getting error message....
In my case old command is find.

On Wed, Jun 8, 2011 at 5:25 PM, Karsten Wemheuer <kwem at gmx.de> wrote:

> 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
>
>
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 



-----
Thanks and regards

 Virendra Bhati
+91-9172341457
Asterisk Engineer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110608/9e8feacd/attachment.htm>


More information about the asterisk-users mailing list