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 

FFmp3 < Icecast < IceS, strange behaviour

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



Joined: 20 Jul 2010
Posts: 13

PostPosted: Mon Jul 26, 2010 6:46 pm    Post subject: FFmp3 < Icecast < IceS, strange behaviour Reply with quote

Hi everyone,
why FFmp3 after every played song disconnect and connect to Icecast again? Like when i click to stop and than start button?
Example here http://www.serverko.sk/dychovka/
FFmp3 home page here http://ffmp3.sourceforge.net/

And what flash player (WORKING, NO ADS) are you using? (Opensource or free only)

Is there some problems with my Icecast, IceS or it's just bad coded FFmp3?

Here is output of cat /var/log/icecast/error.log | tail -1000 > output.txt
http://www.serverko.sk/tmp/output.txt

Here is output of cat /var/log/ices/ices.log | tail -100 > output2.txt
http://www.serverko.sk/tmp/output2.txt

Here is my icecast.xml http://www.serverko.sk/tmp/icecast.xml

Here is my ices.xml http://www.serverko.sk/tmp/ices.xml

Thanks!
dash
Back to top
View user's profile Send private message
bbk



Joined: 15 Oct 2005
Posts: 79

PostPosted: Tue Jul 27, 2010 9:23 am    Post subject: audio bitrate / samplingrate Reply with quote

this is a quick idea i have.... maybe the audiofiles are sent in different bitrates and/or samplingrate. this causes ffmp3 troubles.
_________________
::bbk::

http://audioasyl.net
Back to top
View user's profile Send private message Visit poster's website
fbricker



Joined: 28 Jul 2009
Posts: 8
Location: Tandil, Argentina

PostPosted: Wed Jul 28, 2010 2:03 pm    Post subject: Re: FFmp3 < Icecast < IceS, strange behaviour Reply with quote

Hi dash123,
Yes, bbk is right. The problem is that you're using OGG+Variable Bit Rate, and FFMp3, uses FOggDecoder library for decoding OGG with is a great open source library (and the only one) for playing OGG in flash, but is has some issues concerning Sample Rates, Number of channels and BirRates.
My reccomendation is for you to configure ices to resample everything to:
44100Hz, 16 bit, Stereo, at a Constant BitRate (64Kbps, or 128).
This may result also good, since streaming at 160~190 Kbps, may cause many people to have empty buffers, and a lot more traffic to your server.

Best regards,
Federico Bricker

dash123 wrote:
Hi everyone,
why FFmp3 after every played song disconnect and connect to Icecast again? Like when i click to stop and than start button?
Example here http://www.serverko.sk/dychovka/
FFmp3 home page here http://ffmp3.sourceforge.net/

And what flash player (WORKING, NO ADS) are you using? (Opensource or free only)

Is there some problems with my Icecast, IceS or it's just bad coded FFmp3?

Here is output of cat /var/log/icecast/error.log | tail -1000 > output.txt
http://www.serverko.sk/tmp/output.txt

Here is output of cat /var/log/ices/ices.log | tail -100 > output2.txt
http://www.serverko.sk/tmp/output2.txt

Here is my icecast.xml http://www.serverko.sk/tmp/icecast.xml

Here is my ices.xml http://www.serverko.sk/tmp/ices.xml

Thanks!
dash

_________________
Federico Bricker
Back to top
View user's profile Send private message
dash123



Joined: 20 Jul 2010
Posts: 13

PostPosted: Wed Jul 28, 2010 2:45 pm    Post subject: Re: FFmp3 < Icecast < IceS, strange behaviour Reply with quote

bbk wrote:
this is a quick idea i have.... maybe the audiofiles are sent in different bitrates and/or samplingrate. this causes ffmp3 troubles.

fbricker wrote:
Hi dash123,
Yes, bbk is right. The problem is that you're using OGG+Variable Bit Rate, and FFMp3, uses FOggDecoder library for decoding OGG with is a great open source library (and the only one) for playing OGG in flash, but is has some issues concerning Sample Rates, Number of channels and BirRates.
My reccomendation is for you to configure ices to resample everything to:
44100Hz, 16 bit, Stereo, at a Constant BitRate (64Kbps, or 128).
This may result also good, since streaming at 160~190 Kbps, may cause many people to have empty buffers, and a lot more traffic to your server.

Best regards,
Federico Bricker

Sorry, i forgot mention - i already tried that. Problem still persist, you can check my example with constant bitrate now
http://www.serverko.sk/dychovka/

Added this in ices.xml
<encode>
<nominal-bitrate>64000</nominal-bitrate>
<samplerate>44100</samplerate>
<channels>2</channels>
</encode>

Any ideas?
Back to top
View user's profile Send private message
dash123



Joined: 20 Jul 2010
Posts: 13

PostPosted: Mon Aug 16, 2010 12:52 pm    Post subject: Finally works Reply with quote

Ok, ffmp3 works with some specific settings. After chat with developers i checked out:

* Corrupted ogg files (like cut manually and not with an audio edition tool?).
* Ices version (if it's an old one)
* Ices configuration (to see if you can avoid EOF and ogg errors)

And finally find out working version. Just install ices 0.4 and play mp3 files. It works for me, cheers! And thanks for ffmp3 developers!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Listener 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