Page 1 of 1

WAV to MP3 cron

PostPosted: Thu Aug 19, 2010 9:46 pm
by gmcust3
If I use

1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3

in cron ,

It should automatically save the file in MP3 ?

If so , then do I need this also :

### recording mixing for Asterisk run every 5 minutes
1,6,11,16,21,26,31,36,41,46,51,56 * * * 1,2,3,4,5,6 /usr/share/astguiclient/AST_CRON_mix_recordings_MP3_DATE.pl

PostPosted: Fri Aug 20, 2010 3:49 pm
by williamconley
1) have you read the instructions inside the files?

2) i don't have any AST_CRON_mix_recordings_MP3_DATE.pl files in my 2.0.5, where is that file from? (maybe from vNOW? special file?)

3) didja know you can use 1-6 in place of 1,2,3,4,5,6? and 0-59/5 in place of ... well, that other stuff for every 5 minutes? :)

PostPosted: Fri Aug 20, 2010 5:18 pm
by mmixx
1. listed below are the flags you can use for compression codecs
Code: Select all
--GSM = GSM 6.10 codec
--MP3 = MPEG Layer3 codec
--OGG = OGG Vorbis codec


2. as far as i know... there is no AST_CRON_mix_recordings_MP3_DATE.pl file on vNOW 1.3 version only AST_CRON_mix_recordings_DATE_MixMonitor.pl.

PostPosted: Fri Aug 20, 2010 8:37 pm
by gmcust3
Anyway to save File in "arm" format ?

PostPosted: Fri Aug 20, 2010 9:25 pm
by williamconley
if sox does it, modify one of the existing scripts