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

2011-06-08 Thread virendra bhati
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 pabelan...@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
--
_
-- 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

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

2011-06-08 Thread Karsten Wemheuer
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


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

2011-06-08 Thread virendra bhati
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 k...@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
--
_
-- 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

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

2011-06-07 Thread virendra bhati
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
--
_
-- 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

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

2011-06-07 Thread 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

[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