[asterisk-bugs] [JIRA] (ASTERISK-25769) Asterisk 13 is unable to convert audio files to sln48 format

Ugo Viti (JIRA) noreply at issues.asterisk.org
Wed Feb 10 11:47:32 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25769?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ugo Viti updated ASTERISK-25769:
--------------------------------

    Description: 
Hi,

I already searched into forums, issues, wiki without success, so I'll report here my troubles.

I'm testing FreePBX 13 and Asterisk 13, and I have a problem when importing and converting system recordings into Asterisk sounds directory.
Since FreePBX 13 the default audio format It has become sln48 instead sln16 (if using asterisk 13 as engine).

only converting to sln or sln16 works, others sln* format can't be used.

I'm unable to discover if caused by compilation problem or system library version mismatch. Anyway, follow a brief report of problematic commands:

{code:bash}

[root at izpbx13 tmp]# file /var/spool/asterisk/tmp/test.wav
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz


izpbx13*CLI> core show version
Asterisk 13.7.0 built by root @ izpbx13.local on a x86_64 running Linux on 2016-01-22 15:09:00 UTC

izpbx13*CLI> core show file formats
Format     Name       Extensions          
------     ----       ----------          
slin       mp3        mp3                 
gsm        wav49      WAV|wav49           
h264       h264       h264                
h263       h263       h263                
siren14    siren14    siren14             
g723       g723sf     g723|g723sf         
adpcm      vox        vox                 
gsm        gsm        gsm                 
g729       g729       g729                
siren7     siren7     siren7              
g726       g726-16    g726-16             
g726       g726-24    g726-24             
g726       g726-32    g726-32             
g726       g726-40    g726-40             
g719       g719       g719                
g722       g722       g722                
ulaw       au         au                  
alaw       alaw       alaw|al|alw         
ulaw       pcm        pcm|ulaw|ul|mu|ulw  
ilbc       iLBC       ilbc                
slin16     wav16      wav16               
slin       wav        wav                 
slin192    sln192     sln192              
slin96     sln96      sln96               
slin48     sln48      sln48               
slin44     sln44      sln44               
slin32     sln32      sln32               
slin24     sln24      sln24               
slin16     sln16      sln16               
slin12     sln12      sln12               
slin       sln        sln|raw             
31 file formats registered.

izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.alaw
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.alaw in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.ulaw
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.ulaw in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.gsm
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.gsm in 7ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln12!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12' failed.
[2016-01-22 16:22:23] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:22:23] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln12, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln16
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln16 in 10ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln24!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24' failed.
[2016-01-22 16:22:56] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:22:56] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln24, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln32!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32' failed.
[2016-01-22 16:23:17] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:23:17] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln32, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln44!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44' failed.
[2016-01-22 16:23:38] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:23:38] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln44, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln48!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48' failed.
[2016-01-22 16:24:19] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:19] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln48, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln96!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96' failed.
[2016-01-22 16:24:01] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:01] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln96, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln192!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192' failed.
[2016-01-22 16:24:40] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:40] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln192, source format slin
{code}

Any idea? this is a Asterisk 13 problem? my compilation problem?

Thank you very much for the help.

With Kind Regards

  was:
Hi,

I already searched into forums, issues, wiki without success, so I'll report here my troubles.

I'm testing FreePBX 13 and Asterisk 13, and I have a problem when importing and converting system recordings into Asterisk sounds directory.
Since FreePBX 13 the default audio format It has become sln48 instead sln16 (if using asterisk 13 as engine).

only converting to sln or sln16 works, others sln* format can't be used.

I'm unable to discover if caused by compilation problem or system library version mismatch. Anyway, follow a brief report of problematic commands:

[root at izpbx13 tmp]# file /var/spool/asterisk/tmp/test.wav
test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz


izpbx13*CLI> core show version
Asterisk 13.7.0 built by root @ izpbx13.local on a x86_64 running Linux on 2016-01-22 15:09:00 UTC


{code:bash}
izpbx13*CLI> core show file formats
Format     Name       Extensions          
------     ----       ----------          
slin       mp3        mp3                 
gsm        wav49      WAV|wav49           
h264       h264       h264                
h263       h263       h263                
siren14    siren14    siren14             
g723       g723sf     g723|g723sf         
adpcm      vox        vox                 
gsm        gsm        gsm                 
g729       g729       g729                
siren7     siren7     siren7              
g726       g726-16    g726-16             
g726       g726-24    g726-24             
g726       g726-32    g726-32             
g726       g726-40    g726-40             
g719       g719       g719                
g722       g722       g722                
ulaw       au         au                  
alaw       alaw       alaw|al|alw         
ulaw       pcm        pcm|ulaw|ul|mu|ulw  
ilbc       iLBC       ilbc                
slin16     wav16      wav16               
slin       wav        wav                 
slin192    sln192     sln192              
slin96     sln96      sln96               
slin48     sln48      sln48               
slin44     sln44      sln44               
slin32     sln32      sln32               
slin24     sln24      sln24               
slin16     sln16      sln16               
slin12     sln12      sln12               
slin       sln        sln|raw             
31 file formats registered.

izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.alaw
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.alaw in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.ulaw
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.ulaw in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.gsm
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.gsm in 7ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln in 0ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln12!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12' failed.
[2016-01-22 16:22:23] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:22:23] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln12, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln16
Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln16 in 10ms


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln24!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24' failed.
[2016-01-22 16:22:56] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:22:56] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln24, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln32!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32' failed.
[2016-01-22 16:23:17] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:23:17] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln32, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln44!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44' failed.
[2016-01-22 16:23:38] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:23:38] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln44, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln48!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48' failed.
[2016-01-22 16:24:19] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:19] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln48, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln96!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96' failed.
[2016-01-22 16:24:01] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:01] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln96, source format slin


izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192
Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln192!
Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192' failed.
[2016-01-22 16:24:40] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
[2016-01-22 16:24:40] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln192, source format slin
{code}

Any idea? this is a Asterisk 13 problem? my compilation problem?

Thank you very much for the help.

With Kind Regards


> Asterisk 13 is unable to convert audio files to sln48 format
> ------------------------------------------------------------
>
>                 Key: ASTERISK-25769
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25769
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Formats/format_sln
>    Affects Versions: 13.7.2
>         Environment: CentOS 7, FreePBX 13, Asterisk 13.7.2
>            Reporter: Ugo Viti
>            Severity: Minor
>
> Hi,
> I already searched into forums, issues, wiki without success, so I'll report here my troubles.
> I'm testing FreePBX 13 and Asterisk 13, and I have a problem when importing and converting system recordings into Asterisk sounds directory.
> Since FreePBX 13 the default audio format It has become sln48 instead sln16 (if using asterisk 13 as engine).
> only converting to sln or sln16 works, others sln* format can't be used.
> I'm unable to discover if caused by compilation problem or system library version mismatch. Anyway, follow a brief report of problematic commands:
> {code:bash}
> [root at izpbx13 tmp]# file /var/spool/asterisk/tmp/test.wav
> test.wav: RIFF (little-endian) data, WAVE audio, Microsoft PCM, 16 bit, mono 8000 Hz
> izpbx13*CLI> core show version
> Asterisk 13.7.0 built by root @ izpbx13.local on a x86_64 running Linux on 2016-01-22 15:09:00 UTC
> izpbx13*CLI> core show file formats
> Format     Name       Extensions          
> ------     ----       ----------          
> slin       mp3        mp3                 
> gsm        wav49      WAV|wav49           
> h264       h264       h264                
> h263       h263       h263                
> siren14    siren14    siren14             
> g723       g723sf     g723|g723sf         
> adpcm      vox        vox                 
> gsm        gsm        gsm                 
> g729       g729       g729                
> siren7     siren7     siren7              
> g726       g726-16    g726-16             
> g726       g726-24    g726-24             
> g726       g726-32    g726-32             
> g726       g726-40    g726-40             
> g719       g719       g719                
> g722       g722       g722                
> ulaw       au         au                  
> alaw       alaw       alaw|al|alw         
> ulaw       pcm        pcm|ulaw|ul|mu|ulw  
> ilbc       iLBC       ilbc                
> slin16     wav16      wav16               
> slin       wav        wav                 
> slin192    sln192     sln192              
> slin96     sln96      sln96               
> slin48     sln48      sln48               
> slin44     sln44      sln44               
> slin32     sln32      sln32               
> slin24     sln24      sln24               
> slin16     sln16      sln16               
> slin12     sln12      sln12               
> slin       sln        sln|raw             
> 31 file formats registered.
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.alaw
> Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.alaw in 0ms
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.ulaw
> Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.ulaw in 0ms
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.gsm
> Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.gsm in 7ms
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln
> Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln in 0ms
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln12!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln12' failed.
> [2016-01-22 16:22:23] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:22:23] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln12, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln16
> Converted /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln16 in 10ms
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln24!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln24' failed.
> [2016-01-22 16:22:56] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:22:56] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln24, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln32!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln32' failed.
> [2016-01-22 16:23:17] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:23:17] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln32, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln44!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln44' failed.
> [2016-01-22 16:23:38] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:23:38] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln44, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln48!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln48' failed.
> [2016-01-22 16:24:19] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:24:19] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln48, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln96!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln96' failed.
> [2016-01-22 16:24:01] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:24:01] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln96, source format slin
> izpbx13*CLI> file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192
> Failed to convert /var/spool/asterisk/tmp/test.wav to /var/spool/asterisk/tmp/test.sln192!
> Command 'file convert /var/spool/asterisk/tmp/test.wav /var/spool/asterisk/tmp/test.sln192' failed.
> [2016-01-22 16:24:40] WARNING[19547]: translate.c:481 ast_translator_build_path: No translator path: (ending codec is not valid)
> [2016-01-22 16:24:40] WARNING[19547]: file.c:247 ast_writestream: Unable to translate to format sln192, source format slin
> {code}
> Any idea? this is a Asterisk 13 problem? my compilation problem?
> Thank you very much for the help.
> With Kind Regards



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list