Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[EZstream] audio quality

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients
View previous topic :: View next topic  
Author Message
razametal



Joined: 03 Nov 2006
Posts: 24
Location: Manta - Ecuador

PostPosted: Sat Jan 03, 2009 4:16 pm    Post subject: [EZstream] audio quality Reply with quote

Hi,

I've icecast 2.3.2 with two mountpoints (/radio1 and /radio2) when /radio1 is the main mountpoint and /radios2 is the fallback mountpoint.

For /radio1 I'm using edcast and windows to stream mp3, for the /radio2 mountpoint I'm using ezstream and debian to stream a mp3 playlist.\

Both mountpoints are working fine, when /radio1 is not streaming, /radio2 is listened as /radio2 Smile but the trouble is the audio quality.

With edcast I'm using 40kbps at 22050 stereo and with ezstream I'm using the following settings:


Code:

        <encdec>
            <!--
               Support for MP3 decoding via madplay, and encoding via LAME:
             -->
            <format>MP3</format>
            <match>.mp3</match>
            <!-- Note: madplay uses host byte order for raw samples. -->
            <decode>madplay -a 6 -b 16 -R 44100 -S -o raw:- "@T@"</decode>
            <encode>lame -q 0 -r -x -k -s 44100 --bitwidth 16 --cbr -b 40 --resample 44100 - -</encode>
        </encdec>


The sound quality of /radio1 is very very superior than /radio2 Sad

This is the output of mplayer when play both streams:
/radio1 streamed with edcast:

Code:

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 491 bits!
AUDIO: 22050 Hz, 2 ch, s16le, 40.0 kbit/5.67% (ratio: 5000->88200)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================


/radio2 streamed with ezstream:
Code:

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can't rewind stream by 115 bits!
AUDIO: 44100 Hz, 2 ch, s16le, 40.0 kbit/2.83% (ratio: 5000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================


Does any one knows how to increase the quelity with ezstream but not changin the bitrate of 40kbps? I can not stream with a higher bps because the listeners are on dialup.

Any help with be very appreciated,
_________________
Only The Good Die Young
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 03, 2009 5:08 pm    Post subject: Reply with quote

the most obvious thing is that you are trying to use 44.1khz with ezstream. I'm surprised it actually does anything but it must be having serious loss on it.

You'd need to check the specifics but I suspect you should change to --resample 22050

The other aspect of this is that you cannot expect the players to be fine with a change in the format (over fallback), going from 22050 to 44100 and back again is a change in format, some players are ok with it, others are not.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
razametal



Joined: 03 Nov 2006
Posts: 24
Location: Manta - Ecuador

PostPosted: Sat Jan 03, 2009 5:20 pm    Post subject: Reply with quote

Hi Karl,

Yes, changin the resample modifier to 22050 fix the quelity, both streams have almost the same quality now, edcast is still better Smile
_________________
Only The Good Die Young
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Jan 03, 2009 5:56 pm    Post subject: Reply with quote

well you are using the same encoder, edcast uses lame and so is your ezstream. Maybe there is a version difference or maybe there is some other setting involved making the difference. Either way, in theory, you should be able to get the exact same output from both of those.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Source Clients All times are GMT
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, 2002 phpBB Group
subRebel style by ktauber