| View previous topic :: View next topic |
| Author |
Message |
Problem :( Guest
|
Posted: Mon May 01, 2006 11:27 pm Post subject: Problem writing stream to file |
|
|
Hi everyone.
I'm having a small (read:big) problem writing my stream to a file.
Here's my set up :
PC : Linux box with Ices running to record in ogg our class ( yes for school )
I know it's not the problem since it's been working all along.. and we can listen to the stream.
Server : Another linux box, running Icecast 2.3.1 with this config file.
<icecast>
<limits>
<clients>150</clients>
<sources>2</sources>
<threadpool>5</threadpool>
<queue-size>400</queue-size>
<client-timeout>30</client-timeout>
<header-timeout>15</header-timeout>
<source-timeout>10</source-timeout>
<!-- If enabled, this will provide a burst of data when a client
first connects, thereby significantly reducing the startup
time for listeners that do substantial buffering. However,
it also significantly increases latency between the source
client and listening client. For low-latency setups, you
might want to disable this. -->
<burst-on-connect>1</burst-on-connect>
<!-- same as burst-on-connect, but this allows for being more
specific on how much to burst. Most people won't need to
change from the default 64k. Applies to all mountpoints -->
<burst-size>50000</burst-size>
</limits>
<authentication>
<!-- Sources log in with username 'source' -->
<source-password>a password</source-password>
<!-- Relays log in username 'relay' -->
<relay-password>another password</relay-password>
<!-- Admin logs in with the username given below -->
<admin-user>an admin</admin-user>
<admin-password>his password</admin-password>
</authentication>
<!-- Uncomment this if you want directory listings -->
<!--
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://dir.xiph.org/cgi-bin/yp-cgi</yp-url>
</directory>
<directory>
<yp-url-timeout>15</yp-url-timeout>
<yp-url>http://www.oddsock.org/cgi-bin/yp-cgi</yp-url>
</directory>
-->
<!-- This is the hostname other people will use to connect to your server.
It affects mainly the urls generated by Icecast for playlists and yp
listings. -->
<hostname>(my hostname)</hostname>
<!-- You can use these two if you only want a single listener -->
<!--<port>8000</port> -->
<!--<bind-address>127.0.0.1</bind-address>-->
<!-- You may have multiple <listener> elements -->
<listen-socket>
<port>8000</port>
<!-- <bind-address>127.0.0.1</bind-address> -->
</listen-socket>
<!--
<listen-socket>
<port>8001</port>
</listen-socket>
-->
<!--<master-server>127.0.0.1</master-server>-->
<!--<master-server-port>8001</master-server-port>-->
<!--<master-update-interval>120</master-update-interval>-->
<!--<master-password>hackme</master-password>-->
<!--
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
-->
<!-- Only define a <mount> section if you want to use advanced options,
like alternative usernames or passwords
<mount>
<mount-name>/example-complex.ogg</mount-name>
<username>user</username>
<password>pass</password>
<max-listeners>1</max-listeners>
<dump-file>/tmp/dump-example1.ogg</dump-file>
<burst-size>65536</burst-size>
<fallback-mount>/example2.ogg</fallback-mount>
<fallback-override>1</fallback-override>
<hidden>1</hidden>
<no-yp>1</no-yp>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
-->
<fileserve>1</fileserve>
<!-- set the mountpoint for a shoutcast source to use, the default if not
specified is /stream but you can change it here if an alternative is
wanted or an extension is required
<shoutcast-mount>/live.nsv</shoutcast-mount>
-->
<paths>
<!-- basedir is only used if chroot is enabled -->
<basedir>/usr/local/share/icecast</basedir>
<!-- Note that if <chroot> is turned on below, these paths must both
be relative to the new root, not the original root -->
<logdir>/usr/local/var/log/icecast</logdir>
<webroot>/usr/local/share/icecast/web</webroot>
<adminroot>/usr/local/share/icecast/admin</adminroot>
<!-- <pidfile>/usr/local/share/icecast/icecast.pid</pidfile> -->
<!-- Aliases: treat requests for 'source' path as being for 'dest' path
May be made specific to a port or bound address using the "port"
and "bind-address" attributes.
-->
<!--
<alias source="/foo" dest="/bar"/>
-->
<!-- Aliases: can also be used for simple redirections as well,
this example will redirect all requests for http://server:port/ to
the status page
-->
<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>
On the PC I have scripts to start the recording and diffuse it on the server.. as well as saving them to a file as they record. We record one file for low bandwidth and one for high bandwidth. The lower one never works no more, and i know the scripts on the PC are not faulty.. as they used to work with another server.
The high bandwidth one works like maybe 15% of the time... and when it doesn't I get this error log.
[2006-05-01 18:45:21] INFO connection/_handle_source_request Source logging in at mountpoint "/high.ogg"
[2006-05-01 18:45:21] DBUG connection/connection_complete_source sources count is 0
[2006-05-01 18:45:21] DBUG source/source_apply_mount Applying mount information for "/high.ogg"
[2006-05-01 18:45:21] DBUG source/source_update_settings public set to 0
[2006-05-01 18:45:21] DBUG source/source_update_settings max listeners to -1
[2006-05-01 18:45:21] DBUG source/source_update_settings queue size to 400
[2006-05-01 18:45:21] DBUG source/source_update_settings burst size to 50000
[2006-05-01 18:45:21] DBUG source/source_update_settings source timeout to 10
[2006-05-01 18:45:21] DBUG source/source_update_settings fallback_when_full to 0
[2006-05-01 18:45:21] DBUG connection/connection_complete_source source is ready to start
[2006-05-01 18:45:21] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2006-05-01 18:45:21] DBUG source/source_init Source creation complete
[2006-05-01 18:45:21] DBUG format-vorbis/initial_vorbis_page checking for vorbis codec
[2006-05-01 18:45:21] INFO format-vorbis/initial_vorbis_page seen initial vorbis header
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page processing incoming header packet (1)
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page processing incoming header packet (2)
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page we have the header packets now
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_headers Adding the 3 header packets
[2006-05-01 18:45:21] DBUG format-ogg/format_ogg_attach_header attaching BOS page
[2006-05-01 18:45:21] DBUG format-ogg/format_ogg_attach_header attaching header page
[2006-05-01 18:45:21] INFO connection/_handle_source_request Source logging in at mountpoint "/low.ogg"
[2006-05-01 18:45:21] DBUG connection/connection_complete_source sources count is 1
[2006-05-01 18:45:21] DBUG source/source_apply_mount Applying mount information for "/low.ogg"
[2006-05-01 18:45:21] DBUG source/source_update_settings public set to 0
[2006-05-01 18:45:21] DBUG source/source_update_settings max listeners to -1
[2006-05-01 18:45:21] DBUG source/source_update_settings queue size to 400
[2006-05-01 18:45:21] DBUG source/source_update_settings burst size to 50000
[2006-05-01 18:45:21] DBUG source/source_update_settings source timeout to 10
[2006-05-01 18:45:21] DBUG source/source_update_settings fallback_when_full to 0
[2006-05-01 18:45:21] DBUG connection/connection_complete_source source is ready to start
[2006-05-01 18:45:21] DBUG fserve/fserve_add_client_callback Adding client to file serving engine
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node clients (1)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node connections (1)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node clients (2)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node connections (2)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node sources (1)
[2006-05-01 18:45:21] DBUG stats/process_source_event new source stat /ul-loli-hv.ogg
[2006-05-01 18:45:21] DBUG stats/process_source_event new node public (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_name (server)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_description (Class)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_url (my hostname)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node genre (Public)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_type (application/ogg)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node max_listeners (unlimited)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node source_ip (PC's IP)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node user_agent (IceS 2.0.1)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node source_client_connections (1)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listeners (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node samplerate (44100)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node channels (2)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node quality (5.00)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_info (samplerate=44100;channels=2;quality=5%2e00)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listenurl (http://myhostname:8000/high.ogg)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node source_total_connections (1)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node slow_listeners (0)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node listeners (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listener_peak (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node stream_start (Mon, 01 May 2006 18:45:21 -0400)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node total_bytes_read (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node total_bytes_sent (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_samplerate (44100)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_channels (2)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_bitrate (65534)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node ice-bitrate (65)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node sources (2)
[2006-05-01 18:45:21] DBUG stats/process_source_event new source stat /low.ogg
[2006-05-01 18:45:21] DBUG stats/process_source_event new node public (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_name (server)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_description (Class)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_url (myhostname)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node genre (Public)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node server_type (application/ogg)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node max_listeners (unlimited)
[2006-05-01 18:45:21] DBUG source/source_init Source creation complete
[2006-05-01 18:45:21] DBUG format-vorbis/initial_vorbis_page checking for vorbis codec
[2006-05-01 18:45:21] INFO format-vorbis/initial_vorbis_page seen initial vorbis header
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page processing incoming header packet (1)
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page processing incoming header packet (2)
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_page we have the header packets now
[2006-05-01 18:45:21] DBUG format-vorbis/process_vorbis_headers Adding the 3 header packets
[2006-05-01 18:45:21] DBUG format-ogg/format_ogg_attach_header attaching BOS page
[2006-05-01 18:45:21] DBUG format-ogg/format_ogg_attach_header attaching header page
[2006-05-01 18:45:21] DBUG stats/process_source_event new node source_ip (PC's IP)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node user_agent (IceS 2.0.1)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node source_client_connections (2)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listeners (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node samplerate (22050)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node channels (1)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node quality (-1.00)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_info (samplerate=22050;channels=1;quality=%2d1%2e00)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listenurl (http://myhostname:8000/low.ogg)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node source_total_connections (2)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node slow_listeners (0)
[2006-05-01 18:45:21] DBUG stats/modify_node_event update node listeners (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node listener_peak (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node stream_start (Mon, 01 May 2006 18:45:21 -0400)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node total_bytes_read (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node total_bytes_sent (0)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_samplerate (22050)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_channels (1)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node audio_bitrate (33000)
[2006-05-01 18:45:21] DBUG stats/process_source_event new node ice-bitrate (33)
[2006-05-01 18:45:22] DBUG stats/process_source_event new node subtype (Vorbis)
[2006-05-01 18:45:22] DBUG stats/process_source_event new node subtype (Vorbis)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node total_bytes_read (20087)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node clients (3)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node connections (3)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node total_bytes_read (33352)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node total_bytes_sent (0)
[2006-05-01 18:45:26] DBUG auth/add_client_to_source max on /high.ogg is -1 (cur 0)
[2006-05-01 18:45:26] DBUG auth/add_client_to_source Added client to /high.ogg
[2006-05-01 18:45:26] DBUG auth/add_authenticated_client client authenticated, passed to source
[2006-05-01 18:45:26] DBUG source/source_main Client added
[2006-05-01 18:45:26] INFO source/source_main listener count on /high.ogg now 1
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node client_connections (1)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node listener_connections (1)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node listener_peak (1)
[2006-05-01 18:45:26] DBUG stats/modify_node_event update node listeners (1)
[2006-05-01 18:45:26] DBUG format/format_check_http_buffer processing pending client headers
[2006-05-01 18:45:27] INFO source/send_to_listener Client 2 (132.203.51.57) has fallen too far behind, removing
[2006-05-01 18:45:27] DBUG source/source_main Client removed
[2006-05-01 18:45:27] INFO source/source_main listener count on /high.ogg now 0
[2006-05-01 18:45:27] DBUG stats/modify_node_event update node slow_listeners (1)
[2006-05-01 18:45:27] DBUG stats/modify_node_event update node clients (2)
[2006-05-01 18:45:27] DBUG stats/modify_node_event update node listeners (0)
[2006-05-01 18:45:28] DBUG auth/add_client_to_source max on /low.ogg is -1 (cur 0)
[2006-05-01 18:45:28] DBUG auth/add_client_to_source Added client to /ul-loli-bv.ogg
[2006-05-01 18:45:28] DBUG auth/add_authenticated_client client authenticated, passed to source
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node clients (3)
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node connections (4)
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node client_connections (2)
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node listener_connections (2)
[2006-05-01 18:45:28] DBUG source/source_main Client added
[2006-05-01 18:45:28] INFO source/source_main listener count on /low.ogg now 1
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node listener_peak (1)
[2006-05-01 18:45:28] DBUG stats/modify_node_event update node listeners (1)
[2006-05-01 18:45:29] DBUG format/format_check_http_buffer processing pending client headers
[2006-05-01 18:45:29] INFO source/send_to_listener Client 3 (132.203.51.57) has fallen too far behind, removing
[2006-05-01 18:45:29] DBUG source/source_main Client removed
[2006-05-01 18:45:29] INFO source/source_main listener count on /low.ogg now 0
[2006-05-01 18:45:29] DBUG stats/modify_node_event update node slow_listeners (1)
[2006-05-01 18:45:29] DBUG stats/modify_node_event update node clients (2)
[2006-05-01 18:45:29] DBUG stats/modify_node_event update node listeners (0)
[2006-05-01 18:45:31] DBUG stats/modify_node_event update node total_bytes_read (40143)
[2006-05-01 18:45:31] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:31] DBUG stats/modify_node_event update node total_bytes_read (67006)
[2006-05-01 18:45:31] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:45:36] DBUG stats/modify_node_event update node total_bytes_read (60808)
[2006-05-01 18:45:36] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:36] DBUG stats/modify_node_event update node total_bytes_read (100747)
[2006-05-01 18:45:36] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:45:41] DBUG stats/modify_node_event update node total_bytes_read (130364)
[2006-05-01 18:45:41] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:45:41] DBUG stats/modify_node_event update node total_bytes_read (81677)
[2006-05-01 18:45:41] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:46] DBUG stats/modify_node_event update node total_bytes_read (164347)
[2006-05-01 18:45:46] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:45:46] DBUG stats/modify_node_event update node total_bytes_read (102809)
[2006-05-01 18:45:46] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:50] DBUG slave/_slave_thread checking master stream list
[2006-05-01 18:45:51] DBUG stats/modify_node_event update node total_bytes_read (198254)
[2006-05-01 18:45:51] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:45:51] DBUG stats/modify_node_event update node total_bytes_read (123471)
[2006-05-01 18:45:51] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:56] DBUG stats/modify_node_event update node total_bytes_read (144476)
[2006-05-01 18:45:56] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:45:56] DBUG stats/modify_node_event update node total_bytes_read (232128)
[2006-05-01 18:45:56] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:46:01] DBUG stats/modify_node_event update node total_bytes_read (165402)
[2006-05-01 18:46:01] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:46:01] DBUG stats/modify_node_event update node total_bytes_read (265940)
[2006-05-01 18:46:01] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:46:06] DBUG stats/modify_node_event update node total_bytes_read (295723)
[2006-05-01 18:46:06] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:46:06] DBUG stats/modify_node_event update node total_bytes_read (186538)
[2006-05-01 18:46:06] DBUG stats/modify_node_event update node total_bytes_sent (257)
[2006-05-01 18:46:11] DBUG stats/modify_node_event update node total_bytes_read (329683)
[2006-05-01 18:46:11] DBUG stats/modify_node_event update node total_bytes_sent (254)
[2006-05-01 18:46:11] DBUG stats/modify_node_event update node total_bytes_read (207285)
[2006-05-01 18:46:11] DBUG stats/modify_node_event update node total_bytes_sent (257) |
|
| Back to top |
|
 |
Problem :( Guest
|
Posted: Mon May 01, 2006 11:29 pm Post subject: |
|
|
| Anyway thanks for future responses.. and I apologize for my terrible english! |
|
| 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
|