View previous topic :: View next topic |
Author |
Message |
MarkMcN
Joined: 02 Oct 2009 Posts: 2
|
Posted: Fri Oct 02, 2009 7:57 pm Post subject: ICEs Transcoding a stream |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 02, 2009 8:54 pm Post subject: |
|
|
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 |
|
|
MarkMcN
Joined: 02 Oct 2009 Posts: 2
|
Posted: Fri Oct 02, 2009 10:31 pm Post subject: |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Fri Oct 02, 2009 10:44 pm Post subject: |
|
|
The setup I mentioned for ices0 will also work for ices2.
karl. |
|
Back to top |
|
|
|