View previous topic :: View next topic |
Author |
Message |
dash123
Joined: 20 Jul 2010 Posts: 13
|
|
Back to top |
|
|
bbk
Joined: 15 Oct 2005 Posts: 79
|
Posted: Tue Jul 27, 2010 9:23 am Post subject: audio bitrate / samplingrate |
|
|
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 |
|
|
fbricker
Joined: 28 Jul 2009 Posts: 8 Location: Tandil, Argentina
|
Posted: Wed Jul 28, 2010 2:03 pm Post subject: Re: FFmp3 < Icecast < IceS, strange behaviour |
|
|
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
_________________ Federico Bricker |
|
Back to top |
|
|
dash123
Joined: 20 Jul 2010 Posts: 13
|
Posted: Wed Jul 28, 2010 2:45 pm Post subject: Re: FFmp3 < Icecast < IceS, strange behaviour |
|
|
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 |
|
|
dash123
Joined: 20 Jul 2010 Posts: 13
|
Posted: Mon Aug 16, 2010 12:52 pm Post subject: Finally works |
|
|
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 |
|
|
|
|
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
|