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 

Using TRANSCast to stream to IceCast2 server

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





PostPosted: Fri Jan 12, 2007 1:35 pm    Post subject: Using TRANSCast to stream to IceCast2 server Reply with quote

Hi,

I've set up my IceCast2 server so it works fine when streamed to from the Winamp Shoutcast DSP plugin, but what I can't seem to get to work is streaming to the IceCast server from Nullsoft's TRANSCast program.
I'm assuming it uses exactly the same protocols as the DSP plugin does to connect, so why - I ask, does it not work?

Here's the error I get. (I've tried it on both 9000 and 9001 ports, and this is the error I get from 9000)

Code:
<01/12/07@07:18:57> [DECODE] Opened rsteadypre.mp3
<01/12/07@07:18:58> [MAIN] Title Updated
<01/12/07@07:19:07> [STREAM] Creating stream socket
<01/12/07@07:19:07> [STREAM] Error connecting to stream host [waiting 10s]
<01/12/07@07:19:17> [STREAM] Creating stream socket
<01/12/07@07:19:17> [STREAM] Error connecting to stream host [waiting 10s]


Confused

Edit:
I'd use one of the programs designed to stream MP3s to an IceCast2 server, but I can't get any of them to work as well as I'd like them to Crying or Very sad
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Jan 12, 2007 2:45 pm    Post subject: Reply with quote

Hard to say exactly from that output only, but if you have the DSP already connected to the icecast then you won't be able to send another stream to the same icecast as the shoutcast protocol doesn't allow for it. If you are transcoding from somewhere else then you should be ok, and therefore I would check the icecast log files to see if anything is seen at that point.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Anonymous
Guest





PostPosted: Fri Jan 12, 2007 3:08 pm    Post subject: Reply with quote

Thanks for your speedy reply - I'm always amazed as I read through this forum how quickly you get problems solved Very Happy

Here's the error from the icecast log:

Code:
[2007-01-12  09:04:09] EROR connection/_handle_connection HTTP request parsing failed


and here's what transcast has to say:

Code:
<01/12/07@09:04:02> [TRANSCast] DNAS/posix v0.400-LAME (Mar  4 2003) starting up...
<01/12/07@09:04:02> [MAIN] PID: 17952
<01/12/07@09:04:02> [MAIN] Loaded config from sc_trans.conf
<01/12/07@09:04:02> [MAIN] Loading playlist (/home/ibreaks/sc_trans-custom/playlist.lst)
<01/12/07@09:04:02> [MAIN] Found (2) entries in playlist
<01/12/07@09:04:02> [MAIN] Playlist decoder thread starting
<01/12/07@09:04:02> [MAIN] Streaming thread starting
<01/12/07@09:04:02> [STREAM] Creating stream socket
<01/12/07@09:04:02> [STREAM] Connected to host server
<01/12/07@09:04:02> [DECODE] Opened www.ibreaks.co.uk.mp3
<01/12/07@09:04:02> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<01/12/07@09:04:02> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<01/12/07@09:04:02> [STREAM] Host server gave success (OK2)
<01/12/07@09:04:02> [STREAM] Stream to 127.0.0.1 established
<01/12/07@09:04:03> [DECODE] Opened rsteadypre.mp3
<01/12/07@09:04:09> [MAIN] Title Updated
<01/12/07@09:04:17> [STREAM] Disconnecting from stream host [waiting 10s]


That shed any light?
Back to top
Anonymous
Guest





PostPosted: Fri Jan 12, 2007 3:11 pm    Post subject: Reply with quote

Oh! I've just seen it myself..

It's when the title updates Confused

I'll have a look around in the transcast config file to see if I can do anything with that..
Back to top
Anonymous
Guest





PostPosted: Fri Jan 12, 2007 3:16 pm    Post subject: Reply with quote

No, actually - I don't think it is that..

Code:
<01/12/07@09:14:03> [MAIN] Loaded config from sc_trans.conf
<01/12/07@09:14:03> [MAIN] Loading playlist (/home/ibreaks/sc_trans-custom/playlist.lst)
<01/12/07@09:14:03> [MAIN] Found (1) entries in playlist
<01/12/07@09:14:03> [MAIN] Playlist decoder thread starting
<01/12/07@09:14:03> [MAIN] Streaming thread starting
<01/12/07@09:14:03> [DECODE] Opened rsteadypre.mp3
<01/12/07@09:14:03> [STREAM] Creating stream socket
<01/12/07@09:14:03> [STREAM] Connected to host server
<01/12/07@09:14:03> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<01/12/07@09:14:03> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<01/12/07@09:14:03> Warning: input file samplerate is 25113664 Hz, must be 44100!
<01/12/07@09:14:03> [DECODE] Opened rsteadypre.mp3
<01/12/07@09:14:03> [STREAM] Host server gave success (OK2)
<01/12/07@09:14:03> [STREAM] Stream to 127.0.0.1 established
<01/12/07@09:14:04> [MAIN] Title Updated
<01/12/07@09:14:18> [STREAM] Disconnecting from stream host [waiting 10s]
<01/12/07@09:14:28> [STREAM] Creating stream socket
<01/12/07@09:14:28> [STREAM] Connected to host server
<01/12/07@09:14:43> [STREAM] Disconnecting from stream host [waiting 10s]
<01/12/07@09:14:53> [STREAM] Creating stream socket
<01/12/07@09:14:53> [STREAM] Connected to host server
<01/12/07@09:14:58> [MAIN] SIGINT; exiting!


and icecast says:

Code:
[2007-01-12  09:14:03] DBUG stats/modify_node_event update node clients (1)
[2007-01-12  09:14:03] DBUG stats/modify_node_event update node connections (3)
[2007-01-12  09:14:04] DBUG stats/modify_node_event update node clients (2)
[2007-01-12  09:14:04] DBUG stats/modify_node_event update node connections (4)
[2007-01-12  09:14:04] EROR connection/_handle_connection HTTP request parsing failed
[2007-01-12  09:14:04] DBUG stats/modify_node_event update node clients (1)
[2007-01-12  09:14:18] DBUG stats/modify_node_event update node clients (0)
[2007-01-12  09:14:28] DBUG stats/modify_node_event update node clients (1)
[2007-01-12  09:14:28] DBUG stats/modify_node_event update node connections (5)
[2007-01-12  09:14:43] DBUG stats/modify_node_event update node clients (0)
[2007-01-12  09:14:53] DBUG stats/modify_node_event update node clients (1)
[2007-01-12  09:14:53] DBUG stats/modify_node_event update node connections (6)
[2007-01-12  09:14:58] DBUG stats/modify_node_event update node clients (0)


Question
Back to top
Anonymous
Guest





PostPosted: Fri Jan 12, 2007 3:40 pm    Post subject: Reply with quote

This wouldn't be a problem if Ices 0.4 responded to signals like transcast does..

Code:
; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)


Does it do anything similar to that?
Back to top
Anonymous
Guest





PostPosted: Fri Jan 12, 2007 3:43 pm    Post subject: Reply with quote

Oh look, here I am solving my own problems.. it DOES - and has a lot more other features to boot! Smile

Thankyou for your help, but I think I'll use Ices instead.. Laughing

Cheers!
Back to top
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