Old 18th June 2009, 16:41   #1
aktiveradio
Junior Member
 
Join Date: Jan 2009
Posts: 14
sc_trans as a transcoder for stream

Hi,

Has anyone setup something like this where SC_Trans is used to transcode a live stream from a SC server to different formats (ACC Plus) and different MP3 bit rates then push those back to SC servers?


I have no problems getting SC_trans to take a playlist of MP3 files and stream to many SC servers and even in MP3 and ACC+

a Sample conf file and/or playlist file of connecting to a live stream would be great.

Thanks

J.
aktiveradio is offline   Reply With Quote
Old 18th June 2009, 18:29   #2
Nick@ss
Moderator
 
Nick@ss's Avatar
 
Join Date: Nov 2004
Location: Streamsolutions Headquarters
Posts: 11,953
This cant be done with SC_Trans on its own afaik.
Nick@ss is offline   Reply With Quote
Old 18th June 2009, 21:10   #3
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
I pushed for this function to be added to sc_trans 2.0 before
dev slowed,but it was never implemented.

The solution for now is to use something like
http://www.oddsock.org/tools/streamTranscoderV3/

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 19th June 2009, 00:36   #4
aktiveradio
Junior Member
 
Join Date: Jan 2009
Posts: 14
Well that's a little disappointing, I have checked into streamtranscoderv3 and it work well for MP3 streams but not very well with ACC+

and support for it seems to lacking.

Any chance of adding this to the next beta build for SC_trans?
aktiveradio is offline   Reply With Quote
Old 19th June 2009, 02:05   #5
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
why not...

SHOUTcast server -> oddsock transcoder -> sc_trans 2.0 -> multiple SHOUTcast servers.

Its a technique that i have used and it worked fine.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 19th June 2009, 07:49   #6
bored_womble
Winamp's Womble
 
bored_womble's Avatar
 
Join Date: May 2004
Location: Wimbledon Common
Posts: 1,100
Quote:
Originally posted by Jkey
why not...

SHOUTcast server -> oddsock transcoder -> sc_trans 2.0 -> multiple SHOUTcast servers.

Its a technique that i have used and it worked fine.
There a couple of problems I see with the above

i) the audio is being re-encoded twice, once from oddsock transcoder and then by sc_trans 2.0 leaving it prone to artifacts and poorer quality. Oddsock as good as it was does lack even current lame support so quality is not brilliant.

ii) If you want to transcode from AAC+ to MP3 you are out of luck. I have noticed quite a few sources now being AAC+, not just in the Shoutcast world, so I can see this being a use in the future.

Although give the two points above, probably the only solution at the moment.

BW

Without open minds the world will die. Open yours and correct the mistakes you are making right now.
bored_womble is offline   Reply With Quote
Old 19th June 2009, 11:06   #7
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
"Worked fine" does not mean worked perfect.
Its not an ideal solution but the only public one i can think of.

I now use a custom built app during dev that adds the missing relay functionality in sc_trans 2.0.
Unlike the process i posted above there is no transcoding
of the main stream until it reaches sc_trans 2.0,plus the feeder stream is 128k aac+ to avoid problems with quality.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 1st September 2010, 18:32   #8
itibet
Junior Member
 
Join Date: Sep 2010
Posts: 4
It's been a year from this post, have an efficient solution been developed in order to transcode a live stream from a SC server to different formats (mp3 to AAC+) and bit rates then push those back to SC servers?

It seems to me that sc_trans still doesn't allow a live stream url in the playlist,
while the oddsock transcoder still doesn't support AAC+ on a linux machine.

Therefore, is this the only option: "SC server -> oddsock transcoder -> sc_trans 2.0 -> SC server"?
itibet is offline   Reply With Quote
Old 1st September 2010, 19:49   #9
Jkey
Forum King
 
Join Date: Jul 2004
Location: E*arth
Posts: 3,031
yes,Its done via the calendar.xml file /a scheduled item.

Read the sc_trans 2 thread.

So Long, and Thanks for All the Fish.
Jkey is offline   Reply With Quote
Old 2nd September 2010, 09:14   #10
itibet
Junior Member
 
Join Date: Sep 2010
Posts: 4
Great! I'll read it!
itibet is offline   Reply With Quote
Old 12th September 2010, 20:54   #11
mathx
Junior Member
 
Join Date: Aug 2010
Posts: 5
streamTranscoder for unix

seems there's no documentation on the config file usage to set the output up - what bit rate, or even where to send the stream - v 1.* had -C to generate a sample config, which I did and tried to use with V3 -

when I run v3 it overwrites the streamTranscoder_0.cfg file with its own 3 simple lines.

Anyone have config details on how to use it?
mathx is offline   Reply With Quote
Old 12th September 2010, 21:10   #12
mathx
Junior Member
 
Join Date: Aug 2010
Posts: 5
SOLVED

ok figured it out from various pieces of the oddsock forums - if you run streamTranscoder with no *cfg files around it creates them (starts with 0). if you edit it and put Encode streams = 1 it will create the _1 config file, go edit that.

this is outside the scope of shoutcast stuff I guess, technically. anyway
mathx is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump