Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] mod_shout and mp3 formats


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
Prometheus001 at gmx.net
Guest





PostPosted: Tue Dec 16, 2008 3:02 am    Post subject: [Freeswitch-users] mod_shout and mp3 formats Reply with quote

I try to play mp3 I generated through Cepstral TTs and which I encoded
via lame.
However they won't play, so my question is: Which mp3 formats are supported?

I generate the wav files by the following
/opt/swift/bin/swift -n Katrin -p
audio/channels=1,cst/f0_shift=.8,speech/rate=120,audio/sampling-rate=8000,audio/deadair=2
-o $wavefile $text

Then I convert to mp3 by the following variations:
lame 46.wav 46.mp3
lame -s 32 46.wav 46.mp3
lame --preset 128 46.wav 46.mp3
lame --resample 44.1 --preset 128 46.wav 46.mp3
lame --resample 32 --preset 128 46.wav 46.mp3
lame --resample 44.1 46.wav 46.mp3
lame --resample 44.1 -m s --preset 128 46.wav 46.mp3
lame --resample 44.1 -m s 46.wav 46.mp3
lame --resample 44.1 -m s -b 128 46.wav 46.mp3
lame --resample 44.1 -m s -B 24 46.wav 46.mp3
lame --preset voice -v -B 64 -a 46.wav 46.mp3

None of them worked with the playback application
(shout://localhost/tts/46.mp3). The sound files had a length of between
2 and 5 sec. 2 Times during various tries they played at least
partially. But at the next try they didn't play again. However I have a
prerecorded sound file (44.1KHz, 128 kBits stereo music) which always
plays well.
The console shows me that all files are successfully played and I get a
channel_ececute and a channel_ececute_complete after some seconds during
event_socket. But I don't hear any sound.

All above samples however played well with Totem on Ubuntu.

The wiki tells me that almost any mp3 format should play. What am I
doing wrong here?

Another question: Should normal wav files play as well? Also with wav I
cannot hear any sound.

Best regards
Peter





_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Thu Dec 18, 2008 12:37 pm    Post subject: [Freeswitch-users] mod_shout and mp3 formats Reply with quote

Today I also tried playing a wav file with the "play" application and it
worked. However accessing the same file through shout:// didn't work
with freeswitch (with Totem it worked).
The point is that FS plays the file for several seconds, but I don't
hear any sound.
I also looked at the libraries according to the wiki wiich should be
iunstalled, and they are there: Configure does not show any warnings.

Nobody has a clue what may be the problem here?

Best regards
Peter



Peter P GMX schrieb:
Quote:
I try to play mp3 I generated through Cepstral TTs and which I encoded
via lame.
However they won't play, so my question is: Which mp3 formats are supported?

I generate the wav files by the following
/opt/swift/bin/swift -n Katrin -p
audio/channels=1,cst/f0_shift=.8,speech/rate=120,audio/sampling-rate=8000,audio/deadair=2
-o $wavefile $text

Then I convert to mp3 by the following variations:
lame 46.wav 46.mp3
lame -s 32 46.wav 46.mp3
lame --preset 128 46.wav 46.mp3
lame --resample 44.1 --preset 128 46.wav 46.mp3
lame --resample 32 --preset 128 46.wav 46.mp3
lame --resample 44.1 46.wav 46.mp3
lame --resample 44.1 -m s --preset 128 46.wav 46.mp3
lame --resample 44.1 -m s 46.wav 46.mp3
lame --resample 44.1 -m s -b 128 46.wav 46.mp3
lame --resample 44.1 -m s -B 24 46.wav 46.mp3
lame --preset voice -v -B 64 -a 46.wav 46.mp3

None of them worked with the playback application
(shout://localhost/tts/46.mp3). The sound files had a length of between
2 and 5 sec. 2 Times during various tries they played at least
partially. But at the next try they didn't play again. However I have a
prerecorded sound file (44.1KHz, 128 kBits stereo music) which always
plays well.
The console shows me that all files are successfully played and I get a
channel_ececute and a channel_ececute_complete after some seconds during
event_socket. But I don't hear any sound.

All above samples however played well with Totem on Ubuntu.

The wiki tells me that almost any mp3 format should play. What am I
doing wrong here?

Another question: Should normal wav files play as well? Also with wav I
cannot hear any sound.

Best regards
Peter







_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Prometheus001 at gmx.net
Guest





PostPosted: Thu Dec 18, 2008 1:36 pm    Post subject: [Freeswitch-users] mod_shout and mp3 formats Reply with quote

Today I also tried playing a wav file with the "play" application and it
worked. However accessing the same file through shout:// didn't work
with freeswitch (with Totem it worked).
The point is that FS plays the file for several seconds, but I don't
hear any sound.
I also looked at the libraries according to the wiki wiich should be
iunstalled, and they are there: Configure does not show any warnings.

Nobody has a clue what may be the problem here?

Best regards
Peter



Peter P GMX schrieb:
Quote:
I try to play mp3 I generated through Cepstral TTs and which I encoded
via lame.
However they won't play, so my question is: Which mp3 formats are supported?

I generate the wav files by the following
/opt/swift/bin/swift -n Katrin -p
audio/channels=1,cst/f0_shift=.8,speech/rate=120,audio/sampling-rate=8000,audio/deadair=2
-o $wavefile $text

Then I convert to mp3 by the following variations:
lame 46.wav 46.mp3
lame -s 32 46.wav 46.mp3
lame --preset 128 46.wav 46.mp3
lame --resample 44.1 --preset 128 46.wav 46.mp3
lame --resample 32 --preset 128 46.wav 46.mp3
lame --resample 44.1 46.wav 46.mp3
lame --resample 44.1 -m s --preset 128 46.wav 46.mp3
lame --resample 44.1 -m s 46.wav 46.mp3
lame --resample 44.1 -m s -b 128 46.wav 46.mp3
lame --resample 44.1 -m s -B 24 46.wav 46.mp3
lame --preset voice -v -B 64 -a 46.wav 46.mp3

None of them worked with the playback application
(shout://localhost/tts/46.mp3). The sound files had a length of between
2 and 5 sec. 2 Times during various tries they played at least
partially. But at the next try they didn't play again. However I have a
prerecorded sound file (44.1KHz, 128 kBits stereo music) which always
plays well.
The console shows me that all files are successfully played and I get a
channel_ececute and a channel_ececute_complete after some seconds during
event_socket. But I don't hear any sound.

All above samples however played well with Totem on Ubuntu.

The wiki tells me that almost any mp3 format should play. What am I
doing wrong here?

Another question: Should normal wav files play as well? Also with wav I
cannot hear any sound.

Best regards
Peter








_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
mike at jerris.com
Guest





PostPosted: Thu Dec 18, 2008 1:46 pm    Post subject: [Freeswitch-users] mod_shout and mp3 formats Reply with quote

shout does not play wav files it plays mp3 files.

Mike

On Dec 18, 2008, at 1:29 PM, Peter P GMX wrote:

Quote:
Today I also tried playing a wav file with the "play" application
and it
worked. However accessing the same file through shout:// didn't work
with freeswitch (with Totem it worked).
The point is that FS plays the file for several seconds, but I don't
hear any sound.
I also looked at the libraries according to the wiki wiich should be
iunstalled, and they are there: Configure does not show any warnings.

Nobody has a clue what may be the problem here?

Best regards
Peter


_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services