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 

problems using ezstream w/ playlists

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






PostPosted: Wed Oct 19, 2005 9:53 am    Post subject: problems using ezstream w/ playlists Reply with quote

Hi icecasters,

here is my case :
i want to stream a bunch of mp3 files in some directory to my icecast server. I already achieved to stream 1 file with ezstream, everything is ok, i can listen to the stream. i tried different ways of sending these mp3s to the server, but never got it to work... maybe you have some hints/explanations...

(i compiled from src icecast 2.3.0 & ezstream 0.2.0 w/ libshout 2.1 on a FC4)

Part 1
so i tried to use ezstream with a playlist (.m3u), but ran into problems.

here is my config file, located in the directory where the mp3s are :
Code:
<ezstream>
   <url>http://localhost:8000/ss.mp3</url>
   <sourcepassword>*****</sourcepassword>
   <format>MP3</format>
   <filename>list.m3u</filename>
   <svrinfobitrate>192</svrinfobitrate>
   <svrinfoquality>4.0</svrinfoquality>
   <svrinfochannels>2</svrinfochannels>
   <svrinfosamplerate>44100</svrinfosamplerate>
   <svrinfopublic>1</svrinfopublic>
</ezstream>


i cannot swear that the svrinfo tags are right (but this is only for info?)

list.m3u is :
Code:
Piste_01.mp3
Piste_02.mp3
Piste_03.mp3
Piste_04.mp3
Piste_05.mp3
Piste_06.mp3
Piste_07.mp3
Piste_08.mp3
Piste_09.mp3
Piste_10.mp3
Piste_11.mp3
Piste_12.mp3
Piste_13.mp3
Piste_14.mp3
Piste_15.mp3
Piste_16.mp3
Piste_17.mp3
Piste_18.mp3
Piste_19.mp3
Piste_20.mp3
Piste_21.mp3
Piste_22.mp3
Piste_23.mp3
Piste_24.mp3
Piste_25.mp3
Piste_26.mp3
Piste_27.mp3
Piste_28.mp3


with that config, ezstream say continuously "cannot open file", "no metadata support" and nothing is sent to the server. Crying or Very sad

Part 2

seeing smhtg wrong with m3us, i tried the 'stdin' option, & write this little shell script :


Code:

#!/bin/sh
cd $1 && for i in *.mp3 ; do echo "now trying to stream : $i"; cat $i | ezstream -c /opt/etc/stdin-stream.xml >& /opt/etc/ez.log; echo "done;next?"; done


with the following stdin-stream.xml :
Code:
<ezstream>
   <url>http://localhost:8000/ss.mp3</url>
   <sourcepassword>grenze</sourcepassword>
   <format>MP3</format>
   <filename>stdin</filename>
   <svrinfobitrate>192</svrinfobitrate>
   <svrinfoquality>4.0</svrinfoquality>
   <svrinfochannels>2</svrinfochannels>
   <svrinfosamplerate>44100</svrinfosamplerate>
   <svrinfopublic>1</svrinfopublic>
</ezstream>


this way i get the first file sent to the server and i can listen to it via Rythmbox, but when it should start to send the second file, the stream get broken and the CPU usage peaks at 100%!

here is my server config :
Code:

<icecast>
    <limits>
        <clients>100</clients>
        <sources>2</sources>
        <threadpool>5</threadpool>
        <queue-size>524288</queue-size>
        <client-timeout>30</client-timeout>
        <header-timeout>15</header-timeout>
        <source-timeout>10</source-timeout>
        <burst-on-connect>1</burst-on-connect>
        <burst-size>65535</burst-size>
    </limits>

    <authentication>
        <source-password>****</source-password>
        <relay-password>****</relay-password>
        <admin-user>****</admin-user>
        <admin-password>*****</admin-password>
    </authentication>
    <hostname>81.57.**.**</hostname>
    <port>6666</port>
    <!-- <bind-address>127.0.0.1</bind-address> -->
    <listen-socket>
        <port>8000</port>
        <!-- <bind-address>127.0.0.1</bind-address> -->
    </listen-socket>
    <fileserve>1</fileserve>
    <paths>
        <basedir>/opt/share/icecast</basedir>
        <logdir>/opt/var/log/icecast</logdir>
        <webroot>/opt/share/icecast/web</webroot>
        <adminroot>/opt/share/icecast/admin</adminroot>
        <alias source="/" dest="/status.xsl"/>
    </paths>

    <logging>
        <accesslog>access.log</accesslog>
        <errorlog>error.log</errorlog>
        <!-- <playlistlog>playlist.log</playlistlog> -->
         <loglevel>4</loglevel> <!-- 4 Debug, 3 Info, 2 Warn, 1 Error -->
    </logging>
    <security>
        <chroot>0</chroot>
        <!--
        <changeowner>
            <user>icecast</user>
            <group>icecast</group>
        </changeowner>
        -->
    </security>
</icecast>


I hope someone here w/ a little experience of ezstreaming can point me to the mistakes...

Thanks in advance

BTW, it's worth saying it :: very good piece of gpl-ware (i'm serious!)

oDDsKooL
Back to top
Anonymous
Guest





PostPosted: Wed Oct 19, 2005 4:42 pm    Post subject: Re: problems using ezstream w/ playlists Reply with quote

Anonymous wrote:


with that config, ezstream say continuously "cannot open file", "no metadata support" and nothing is sent to the server.

this means ezstream cannot open the files in your m3u list. Try fully qualifying the paths inside the m3u and also make sure the user that you are running ezstream as has permissions to read those files..

oddsock
Back to top
Anonymous
Guest





PostPosted: Tue Nov 22, 2005 11:48 pm    Post subject: Reply with quote

got the exact same problem

tried a shitload of various ways to make the playlist but no results, also tried playing it as root so i wouldn't have any permission probs but no luck...

any further ideas..

all those files are sourced nicely by ezstream when filename is a direct path to the files and not the playlist..
Back to top
Anonymous
Guest





PostPosted: Tue Feb 14, 2006 2:48 pm    Post subject: Reply with quote

I am having this same problem with "open error" trying to play the file (fully qual's path) in the playlist.

Has anyone solved it?
Back to top
Anonymous
Guest





PostPosted: Tue Feb 14, 2006 3:25 pm    Post subject: Reply with quote

I just figured it out by inserting some printf's and recompiling. The text editor that created the m3u inserted ^M at the end of each line. EZSTREAM read that control character as part of the file name.

Re-entering the playlist using VI solved the problem.
Back to top
reitchelazan



Joined: 09 May 2010
Posts: 1
Location: Moscow

PostPosted: Sun May 09, 2010 2:51 pm    Post subject: Re: problems using ezstream w/ playlists Reply with quote

Anonymous wrote:
Hi icecasters,
here is my case :
i want to stream a bunch of mp3 files in some directory to my icecast server.


Try to use mp3player winamp.
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37y37
y37y37y37y37y37y37y37y37y37y37y37y37y37
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
инфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфоинфо
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 -> 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