Old 8th December 2003, 15:42   #1
nexxai
Junior Member
 
Join Date: Dec 2003
Posts: 1
Linux + ALSA...Am I missing something?

Ok, first off the specs:

CPU: P4 2.4 -> 3.12GHz
RAM: 1GB (2x512MB DDR400 Dual Channel)
HD: 360GB (3x120GB)
Motherboard: ASUS P4P800
OS: Gentoo Linux (2.4.23 w/ OSS compiled in)
Sound Card: Terratec DMX 6Fire 24/96 (snd-ice1712)
ALSA: 1.0.0rc2

Now for the problem.

I have the transcoder installed, and it connects to the shoutcast server itself fine. In the playlist.lst I have:
code:
DSP:/dev/dsp
This is what the client shows:
code:
nexxai@turntable sc_trans_040 $ ./sc_trans_linux
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
<12/08/03@10:24:11> [TRANSCast] DNAS/posix v0.400-LAME (Mar 4 2003) starting up...
<12/08/03@10:24:11> [MAIN] PID: 16294
<12/08/03@10:24:11> [MAIN] Loaded config from sc_trans.conf
<12/08/03@10:24:11> [MAIN] Loading playlist (playlist.lst)
<12/08/03@10:24:11> [MAIN] Found (1) entries in playlist
<12/08/03@10:24:11> [MAIN] Playlist decoder thread starting
<12/08/03@10:24:11> [DECODE] DSP (/dev/dsp) opened (16,2,44100)
<12/08/03@10:24:11> [MAIN] Streaming thread starting
<12/08/03@10:24:11> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<12/08/03@10:24:11> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<12/08/03@10:24:11> [STREAM] Creating stream socket
<12/08/03@10:24:11> [STREAM] Resolving stream host
<12/08/03@10:24:11> [STREAM] Connected to host server
<12/08/03@10:24:11> [STREAM] Host server gave success (OK2)
<12/08/03@10:24:11> [STREAM] Stream to localhost established
<12/08/03@10:24:11> [STREAM] Sending stream information
<12/08/03@10:24:13> [MAIN] Title Updated

and this is what the server shows:
code:
<12/08/03@10:23:43> [SHOUTcast] DNAS/Linux v1.9.2 (Nov 25 2002) starting up...
<12/08/03@10:23:43> [main] pid: 15740
<12/08/03@10:23:43> [main] loaded config from sc_serv.conf
<12/08/03@10:23:43> [main] initializing (usermax:2 portbase:8888)...
<12/08/03@10:23:43> [main] No ban file found (sc_serv.ban)
<12/08/03@10:23:43> [main] No rip file found (sc_serv.rip)
<12/08/03@10:23:43> [main] opening source socket
<12/08/03@10:23:43> [main] source thread starting
<12/08/03@10:23:43> [source] listening for connection on port 8889
<12/08/03@10:23:43> [main] opening client socket
<12/08/03@10:23:43> [main] Client Stream thread [0] starting
<12/08/03@10:23:43> [main] client main thread starting
<12/08/03@10:24:11> [source] connected from xxx.xxx.xxx.xxx
<12/08/03@10:24:12> [source] icy-name:dj nexxai LIVE! ; icy-genre:hard trance
<12/08/03@10:24:12> [source] icy-pub:1 ; icy-br:24 ; icy-url:http://djnexxai.com

etc...

As you can see the connection is being made, however when people connect, they don't hear anything.

I'm broadcasting from my turntables/mixer connected to the kickbox of my soundcard, which I can hear perfectly fine through the speakers attached to the computer, however it seems like no matter what I do, the transcoder won't pick up the sound that's coming into the card to deliver it to the server.

Any insight as to why this may be occuring (or better...not occurring) would be greatly appreciated.
nexxai is offline   Reply With Quote
Old 11th December 2003, 08:18   #2
cityhunter2023
Junior Member
 
Join Date: Dec 2003
Posts: 1
Same Problem

i have exactly the same problem.
Would be really nice if someone could help on this.
I can send Mp3-Files, works perfectly.
But i HAVE to make a Live-Broadcast, with mixing, voice-over and so on.

And when i try with DSP:/dev/audio it connects but no one can hear me *sigh*

It seems to be a problem with the /dev/audio or the soundcard itself.
SC_Trans sends something, the Stream is ok. But nothing can be heared !

PS: I have Suse-Linux 8.2

Last edited by cityhunter2023; 11th December 2003 at 08:48.
cityhunter2023 is offline   Reply With Quote
Old 11th December 2003, 19:38   #3
jackherer
Major Dude
 
Join Date: Aug 2003
Posts: 942
In the example.lst file it says it always ingoners the first item in the playlist and if you have a one item playlist enter it twice including DSP items. If you have done this have you tried setting the DSP item to something spurios such as /dev/wibble to see if this throws sc_trans off, if it is fine with that then it suggests that the /dev/audio setting (or whatever) does not point to your soundcard.


Do not PM me for tech support !
jackherer 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