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 

Icecast + ezstream + VLC = last second of every song cut off

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



Joined: 30 May 2010
Posts: 9

PostPosted: Sun May 30, 2010 8:33 am    Post subject: Icecast + ezstream + VLC = last second of every song cut off Reply with quote

Hi there,

I have set up a radio station using Icecast and Ezstream. However, I'm encountering quite an annoying problem. When I listen to the stream using the VLC media player, about one second at the end of each song is cut off. It seems that, at the moment ezstream starts streaming out the next song, VLC immediately stops playing the current song, starts buffering again and starts the next song.
As you can imagine, this is not desirable. Could it have something to do with my config? Is this a problem of icecast, or ezstream, or just VLC (e.g. in MediaMonkey the stream works just fine).

Icecast config:
Code:
<!-- This config file contains a minimal set of configurable parameters,
     and mostly just contains the things you need to change.  We created
     this for those who got scared away from the rather large and heavily
     commented icecast.xml.dist file. -->
<icecast>
    <limits>
        <sources>4</sources>
   <source-timeout>5</source-timeout>
   <burst-size>0</burst-size>
    </limits>
    <authentication>
        <source-password>hackme</source-password>
        <relay-password>hackme</relay-password>
        <admin-user>admin</admin-user>
        <admin-password>hackme</admin-password>
    </authentication>

    <hostname>192.168.2.3</hostname>
    <listen-socket>
        <port>8000</port>
    </listen-socket>
    <fileserve>1</fileserve>
    <paths>
        <logdir>./logs</logdir>
        <webroot>./web</webroot>
        <adminroot>./admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>
    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
         <loglevel>3</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>
    <mount>
   <mount-name>/vorbis.ogg</mount-name>
   <fallback-mount>/silence96.ogg</fallback-mount>
   <fallback-override>1</fallback-override>
    </mount>
</icecast>


ezstream config:
Code:

<ezstream>
    <url>http://192.168.2.3:8000/vorbis.ogg</url>
    <!--
      If a different user name than "source" should be used, set it in
      <sourceuser/>:
     -->
    <!-- <sourceuser>mr_stream</sourceuser> -->
    <sourcepassword>hackme</sourcepassword>
    <format>VORBIS</format>
    <filename>C:\(**)\playlist.bat</filename>
   <playlist_program>1</playlist_program>
    <!-- For demonstrational purposes, explicitly set continuous streaming: -->
    <stream_once>1</stream_once>
    <!--
      The following settings are used to describe your stream to the server.
      It's up to you to make sure that the bitrate/quality/samplerate/channels
      information matches up with your input stream files.
     -->
    <svrinfoname>**</svrinfoname>
    <svrinfourl>**</svrinfourl>
    <svrinfodescription>**</svrinfodescription>
    <!-- Allow the server to advertise the stream on a public YP directory: -->
    <svrinfopublic>0</svrinfopublic>
   
   
</ezstream>

The playlist.bat file just returns an audio file every time it's called.

Thanks in advance.
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 12:11 am    Post subject: Reply with quote

Just out of curiosity, why do you leave your burst size zero? You have no buffer issues?
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
mathijsie



Joined: 30 May 2010
Posts: 9

PostPosted: Tue Jun 01, 2010 9:20 am    Post subject: Reply with quote

Brutish wrote:
Just out of curiosity, why do you leave your burst size zero? You have no buffer issues?

Hi,

I was just experimenting in the hope it'd solve my problem. Unfortunately, it didn't, so I have already set the burst size to the default value again.
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 11:43 am    Post subject: Reply with quote

What is EZstream exactly? I tried to find out what they do, and the web page describes a whole lot of nothing. Web host, streaming support? It looks like they have an extensive support group on the site, and with the prices and clients, I would recommend this route first.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
mathijsie



Joined: 30 May 2010
Posts: 9

PostPosted: Tue Jun 01, 2010 12:29 pm    Post subject: Reply with quote

Hi,

EZstream is not the same as ezstream.
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 12:39 pm    Post subject: Reply with quote

Ahhh. Never messed with it.
_________________
www.Hobbycaster.com
Back to top
View user's profile Send private message
Brutish



Joined: 18 Mar 2010
Posts: 62

PostPosted: Tue Jun 01, 2010 1:17 pm    Post subject: Reply with quote

Playing with it right now. I have to go to work, BUT....


Just out of curiosity, Is your songs you have it streaming the same bitrate, Khz, and channel? Are they VBR or CBR?

Im just assuming here, but maybe when it switches songs to encode, the different file setting (if you have not made the music files uniform) cause error? Experiment with two files recorded in the exact same manor; Khz, sample rate, channel.
_________________
www.Hobbycaster.com


Last edited by Brutish on Tue Jun 01, 2010 1:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
mathijsie



Joined: 30 May 2010
Posts: 9

PostPosted: Tue Jun 01, 2010 1:20 pm    Post subject: Reply with quote

Hi,

Thanks for your reply.
However all files are Ogg-Vorbis, stereo, 32kHz, 96kbps CBR. All files are in the same format.
Back to top
View user's profile Send private message
IglooJordan



Joined: 22 Jun 2011
Posts: 6

PostPosted: Tue Jun 28, 2011 12:12 am    Post subject: Reply with quote

Ampache works really well with VLC, why not just make a change? It has been about a year since your post and I wanted to bring it to life to see if you fixed your problem. I am almost positive it wasn't VLC or a video converter causing the issue because every time I have used the aforementioned combo I have had not only the best experience, but easily the best audio quality especially when wearing my headphones. It's quite nice to the little eardrums in my dome.
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 -> Icecast Server 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