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 

ICEs Transcoding a stream

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



Joined: 02 Oct 2009
Posts: 2

PostPosted: Fri Oct 02, 2009 7:57 pm    Post subject: ICEs Transcoding a stream Reply with quote

Hi All
I'm in need of a quick bit of help please.
I am sending one high quality stream up to my CentOS server and I would like to transcode to a lower bit rate. I have the mount points set up on Icecast server. How ever i'm wondering how would I get ICEs to use this stream as the input as just pointing it at the m3u file or the mp3 fails as it is a URL.
I read on another post here KarlH mentioned this can be done using wget but didn't say how. So if Karl could be willing to supply the details as to getting ICEs to read a stream as input or any one please.
Thank you
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 02, 2009 8:54 pm    Post subject: Reply with quote

sounds like you are taling about ices0 not ices2. IIRC using a - in the playlist will tell ices0 to read stdin for mp3 content. You then just get wget/curl to read the stream and pipe into ices0.

a simple command would be

curl -s http://..... | ices -c fromstdin.conf

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



Joined: 02 Oct 2009
Posts: 2

PostPosted: Fri Oct 02, 2009 10:31 pm    Post subject: Reply with quote

Hi Karl
Thanks for the reply. I currently have ices2 installed cos it's an ogg stream i'm trying to transcode.
I've included the config i was trying below. I've tried this pointing straight to the stream and the m3u file for the stream.
Any other thoughts.
I'm aware of ODDstock's stream transcoder but i'd prefer to use ices as it's in the package management system etc etc
Thank you again for your help
Regards
Mark
<input>
<module>playlist</module>
<param name="type">basic</param>
<param name="file">host.domain.com:8000/atlantic.ogg</param>
<!-- random play -->
<param name="random">0</param>
<!-- if the playlist get updated that start at the beginning -->
<param name="restart-after-reread">0</param>
<!-- if set to 1 , plays once through, then exits. -->
<param name="once">0</param>
</input>
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Fri Oct 02, 2009 10:44 pm    Post subject: Reply with quote

The setup I mentioned for ices0 will also work for ices2.

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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