I am trying to convert call recordings to MP3. I have tried lame and ffmpeg. Both will convert about half of the files that I have for testing. I setup logging and I got this when using lame " Can’t init infile" Is there a way aroung this? Can Asterisk do the recording in MP3 format yet? I am using Freepbx and there isn’t an option for MP3. Would other formats be easier to convert? The whole reason for this is that I need to archive these recordings and want to keep them small to save HD space.
If you want to keep them small, use a high compression voice codec, or which Asterisk supports more than one. If MP3 was a good codec for low bandwidth telephony, the mobile networks would be using it as their native codec.
On Friday 12 July 2024 at 22:02:38, edlentz via Asterisk Community wrote:
I am trying to convert call recordings to MP3. I have tried lame and
ffmpeg. Both will convert about half of the files that I have for
testing.
What does the “file” command tell you about a recording which can be converted,
and a file which cannot?
Are you able to play the (unconverted) files and hear the recordings? If so,
which tool / application do you use to play the files, and what format/s does
it tell you the files are in?
Antony.
–
What do you call a dinosaur with only one eye? A Doyouthinkesaurus.
Please reply to the list;
please *don't* CC me.
What I found is that for some reason the script that I was using AI generated would leave off a leading character for the file path instead of var/spool/asterisk/monitor/filename.WAV it would use ar/spool/asterisk/monitor/filename.wav so it would fail. I decided not to pursue this as it seems like a real rabbit hole.
Did you try asking the AI to fix your script?
I did and it appeared to only do about 2/3 of the files with the other third still having a partial file name and then failing. I have abandoned this idea.
Thanks
Maybe try some of the AI options reviewed at ZDNet here. Might be something there that is better than what you were using.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.