virendra bhati
2011-Jun-07 06:31 UTC
[asterisk-users] how to know length of file in seconds
Hi List, Is there any way by which we can get the length of any recorded files into seconds ? ----- 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/20110607/ea5111fd/attachment.htm>
Paul Belanger
2011-Jun-07 21:07 UTC
[asterisk-users] how to know length of file in seconds
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
virendra bhati
2011-Jun-08 08:03 UTC
[asterisk-users] how to know length of file in seconds
Thanks Paul, Link was too awesome. I read and check all related command too. Thank you for your help..... On Wed, Jun 8, 2011 at 2:37 AM, Paul Belanger <pabelanger at digium.com> wrote:> 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 > > -- > _____________________________________________________________________ > -- 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/7eaf15e0/attachment.htm>
Karsten Wemheuer
2011-Jun-08 11:55 UTC
[asterisk-users] how to know length of file in seconds
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 statjust 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
virendra bhati
2011-Jun-08 12:36 UTC
[asterisk-users] how to know length of file in seconds
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>