Old 25th August 2011, 23:21   #1
apanga
Junior Member
 
Join Date: Aug 2011
Posts: 5
MP3 unlock

Hello,

Recently purchased an unlock key code for mp3 broadcasting. On a linux machine, I was able to get my server streaming 'with no sound'. I killed the sc_trans service, then restarted it and am now getting

[SOURCEANDENDPOINTMANAGER] Unknown encoder type mp3. Ensure you have entered the license key and name fully.

I did not edit my unlockkeycode section. I went ahead and copy/pasted it back in. Unable to get it back to streaming.

Also, why would there be no audio?

Any help is appreciated.
apanga
apanga is offline   Reply With Quote
Old 26th August 2011, 07:37   #2
DrO
Winamp & SHOUTcast Team
 
DrO's Avatar
 
Join Date: Sep 2003
Posts: 26,678
if either unlockkeycode or unlockkeyname has changed / isn't present then that would cause the issue you're seeing. with not much to go on, that's all i can suggest checking since if it worked ok before then the code should be fine still (there's no remote killing of codes).

Quote:
why would there be no audio?
if the encoder cannot be created then no audio will be created. without one you cannot have the other - is how it's all meant to work.

-daz

If you have issues with Winamp or still want to get it, ensure
you get v5.666 build 3516 and the required plug-in updates
DrO is offline   Reply With Quote
Old 26th August 2011, 10:35   #3
apanga
Junior Member
 
Join Date: Aug 2011
Posts: 5
I have copy/pasted my registration code several times now. I commented out the mp3 section so I could continue testing. It only worked one time. There was no audio coming from my site, but I could see in the dnas that it was streaming and also the console messages, also the player in my site was receiving metadata. Since there was no audio, I killed the service to try and troubleshoot, and when I restarted it - I started receiving the error. That is the only error that I receive when starting the service. I am using DNAS V1 and TRANS V2 if that helps. This is also a centos linux vps.


Quote:
; ENCODER OPTIONS
unlockkeyname:#### ####
unlockkeycode:####-####-####-####
;encoder=mp3
encoder=aac
mp3mode=0
bitrate=56000
samplerate=44100
Quote:
2011-08-26 06:25:44 I msg:[MAIN] Logger updating log file to use
2011-08-26 06:25:44 I msg:[MAIN] Loaded config from ./sc_trans.conf
2011-08-26 06:25:44 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2011-08-26 06:25:44 I msg:[VUPUSH] 101 VU images loaded for left channel
2011-08-26 06:25:44 I msg:[VUPUSH] 101 VU images loaded for right channel
2011-08-26 06:25:44 I msg:[PLAYLISTMGR] Playlist load from file playlists/main.lst
2011-08-26 06:25:44 I msg:[PLAYLISTMGR] Caching playlist playlists/main.lst
2011-08-26 06:25:44 I msg:[PLAYLISTMGR] Load complete
2011-08-26 06:25:44 I msg:[MAIN] Streaming thread starting
2011-08-26 06:25:44 I msg:[SOURCERELAY] Thread starting
2011-08-26 06:25:44 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2011-08-26 06:25:44 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2011-08-26 06:25:44 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Giving replay gain calculator a head start
2011-08-26 06:25:44 I msg:[MAIN] Playlist decoder thread starting
2011-08-26 06:25:44 I msg:[RGCALC] Thread running
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Running
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Creating stream socket
2011-08-26 06:25:44 I msg:[MICROSERVER] Listening for connection on port 8052
2011-08-26 06:25:44 I msg:[DECODE] Giving replay gain calculator a head start
2011-08-26 06:25:44 I msg:[DECODE] Begin decoding
2011-08-26 06:25:44 I msg:[MAIN] Broadcast Receiver thread starting
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Connected to host server
2011-08-26 06:25:44 I msg:[DECODE] Next file is ./playlists/../music/####.mp3
2011-08-26 06:25:44 I msg:[AAC] AAC setup complete
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Host server gave success (OK2)
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Stream to ###.##.##.## established
2011-08-26 06:25:44 I msg:[STREAM] 2055339346 Sending stream information
2011-08-26 06:25:48 I msg:[SHOUTCASTMETADATA] Metadata string [#### - ####]
2011-08-26 06:25:48 I msg:[SHOUTCASTMETADATA] Sending metadata
If I uncomment mp3 and also aac

Quote:
; ENCODER OPTIONS
unlockkeyname:#### ####
unlockkeycode:####-####-####-####
encoder=mp3
encoder=aac
mp3mode=0
bitrate=56000
samplerate=44100

this is the result

Quote:
2011-08-26 06:27:05 I msg:[MAIN] Logger updating log file to use
2011-08-26 06:27:05 I msg:[MAIN] Loaded config from ./sc_trans.conf
2011-08-26 06:27:05 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2011-08-26 06:27:05 I msg:[VUPUSH] 101 VU images loaded for left channel
2011-08-26 06:27:05 I msg:[VUPUSH] 101 VU images loaded for right channel
2011-08-26 06:27:05 I msg:[PLAYLISTMGR] Playlist load from file playlists/main.lst
2011-08-26 06:27:05 I msg:[PLAYLISTMGR] Caching playlist playlists/main.lst
2011-08-26 06:27:05 I msg:[PLAYLISTMGR] Load complete
2011-08-26 06:27:05 I msg:[MAIN] Streaming thread starting
2011-08-26 06:27:05 I msg:[SOURCERELAY] Thread starting
2011-08-26 06:27:05 I msg:[RESAMPLER] Deactivated 44100/2 == 44100/2
2011-08-26 06:27:05 I msg:[SOURCEANDENDPOINTMANAGER] Encoder thread 1 starting
2011-08-26 06:27:05 I msg:[SOURCEANDENDPOINTMANAGER] Broadcast thread 1 starting
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Giving replay gain calculator a head start
2011-08-26 06:27:05 I msg:[MAIN] Playlist decoder thread starting
2011-08-26 06:27:05 I msg:[MICROSERVER] Listening for connection on port 8052
2011-08-26 06:27:05 I msg:[RGCALC] Thread running
2011-08-26 06:27:05 I msg:[MAIN] Broadcast Receiver thread starting
2011-08-26 06:27:05 I msg:[DECODE] Giving replay gain calculator a head start
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Running
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Creating stream socket
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Connected to host server
2011-08-26 06:27:05 I msg:[DECODE] Begin decoding
2011-08-26 06:27:05 I msg:[DECODE] Next file is ./playlists/../music/####.mp3
2011-08-26 06:27:05 I msg:[AAC] AAC setup complete
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Host server gave success (OK2)
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Stream to ###.##.##.## established
2011-08-26 06:27:05 I msg:[STREAM] 1047092616 Sending stream information
2011-08-26 06:27:09 I msg:[SHOUTCASTMETADATA] Metadata string [#### - ####]
If mp3 is uncommented, and aac is commented

Quote:
; ENCODER OPTIONS
unlockkeyname:#### ####
unlockkeycode:####-####-####-####
encoder=mp3
;encoder=aac
mp3mode=0
bitrate=56000
samplerate=44100
This is the result

Quote:
2011-08-26 06:30:35 I msg:[MAIN] Logger updating log file to use
2011-08-26 06:30:35 I msg:[MAIN] Loaded config from ./sc_trans.conf
2011-08-26 06:30:35 I msg:[MAIN] TimeMultiplier = 1, TimeShift = 0
2011-08-26 06:30:35 I msg:[VUPUSH] 101 VU images loaded for left channel
2011-08-26 06:30:35 I msg:[VUPUSH] 101 VU images loaded for right channel
2011-08-26 06:30:35 I msg:[PLAYLISTMGR] Playlist load from file playlists/main.lst
2011-08-26 06:30:35 I msg:[PLAYLISTMGR] Caching playlist playlists/main.lst
2011-08-26 06:30:35 I msg:[PLAYLISTMGR] Load complete
2011-08-26 06:30:35 I msg:[MAIN] Streaming thread starting
2011-08-26 06:30:35 E msg:[SOURCEANDENDPOINTMANAGER] Unknown encoder type mp3. Ensure you have entered the license key and name fully.
2011-08-26 06:30:35 I msg:[SOURCERELAY] Thread starting
2011-08-26 06:30:35 I msg:[SOURCERELAY] Thread exiting
2011-08-26 06:30:36 I msg:<***> Logger shutdown
apanga is offline   Reply With Quote
Old 26th August 2011, 11:23   #4
DrO
Winamp & SHOUTcast Team
 
DrO's Avatar
 
Join Date: Sep 2003
Posts: 26,678
firstly, can you confirm what version of the Transcoder you're using please? if you're not using the current version from http://forums.winamp.com/showthread.php?t=324877 then you need to upgrade that (as there was a bug with some older versions with the handling of the unlock name if it wasn't just standard english characters).

if you are using the current version then you'll need to pm me your unlock code and unlock name and i'll check if it is valid against my developer build.

-daz

If you have issues with Winamp or still want to get it, ensure
you get v5.666 build 3516 and the required plug-in updates
DrO is offline   Reply With Quote
Old 26th August 2011, 11:44   #5
apanga
Junior Member
 
Join Date: Aug 2011
Posts: 5
this is the package that was downloaded.

sc_trans_linux_x64_07_29_2011.tar.gz

this is the serv package

sc_serv_1.9.8_Linux.tar.gz
apanga is offline   Reply With Quote
Old 26th August 2011, 11:53   #6
DrO
Winamp & SHOUTcast Team
 
DrO's Avatar
 
Join Date: Sep 2003
Posts: 26,678
ok, so was the current version of the Transcoder. you'll need to follow the second step in my post then.

-daz

If you have issues with Winamp or still want to get it, ensure
you get v5.666 build 3516 and the required plug-in updates
DrO is offline   Reply With Quote
Old 26th August 2011, 12:05   #7
apanga
Junior Member
 
Join Date: Aug 2011
Posts: 5
Thanks, PM sent.
apanga is offline   Reply With Quote
Old 26th August 2011, 12:51   #8
DrO
Winamp & SHOUTcast Team
 
DrO's Avatar
 
Join Date: Sep 2003
Posts: 26,678
have replied to your pm. basically it's working with the details you received which i've then used in the example config i've included in the pm.

-daz

If you have issues with Winamp or still want to get it, ensure
you get v5.666 build 3516 and the required plug-in updates
DrO is offline   Reply With Quote
Old 26th August 2011, 18:45   #9
apanga
Junior Member
 
Join Date: Aug 2011
Posts: 5
For anyone reading this after the fact...Moving the unlock information to the bottom of the file seems to have fixed it for me.
apanga 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