Автор Тема: Shoutcast  (Прочетена 7902 пъти)

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« -: Apr 17, 2008, 01:40 »
Здравейте ,реших да пусна Shoutcast на сървър-а и да сложа хард диск да си складирам на него мп3-тата и така да се слушат из локалната мрежа (20-30 машини).Главната идея е ,когато някой реши да слуша да няма нужда от пуснат winamp който да прави листинг.За целта от ровенето из интернет разбрах ,че се ползва sc_trans_posix_040.tgz заедно с sc_serv_1.9.8_Linux.tar.gz (серв-а).Проблема е там ,че след конфигурирането на файловете и стартирането на демоните пак  неможе да се закачи и да слуша никой.Може ли някой да ми помогне с example conf файлове други настройки и стартиране?Как се сваля файла (генерираната листа с мп3) гропирането им по стилове и прочие?Доста се рових из нета ,но всичко е до ./sc_serv & и толкова.Не търся съвършенство ,а ефекта който върши работа.Благодаря предварително!
Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #1 -: Apr 19, 2008, 21:30 »
Със сървър-а се справих работи ,но пак проблем...плугин-а sc_trans_linux който ползвам да се закача към сървър-а вместо мен с winamp не тръгва.Когато обаче пусна winamp с DSP плугина се закача и стреемва без проблем. ':crazy:'
Активен

Nikolavp

  • Напреднали
  • *****
  • Публикации: 408
    • Профил
    • WWW
Shoutcast
« Отговор #2 -: Apr 20, 2008, 08:29 »
Цитат (h7d8 @ Април 19 2008,22:30)
Със сървър-а се справих работи ,но пак проблем...плугин-а sc_trans_linux който ползвам да се закача към сървър-а вместо мен с winamp не тръгва.Когато обаче пусна winamp с DSP плугина се закача и стреемва без проблем. ':crazy:'

Метни един поглед на това
Активен

http://blog-nikolavp.rhcloud.com - простотиите, с които се занимавам в свободното време

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #3 -: Apr 20, 2008, 18:21 »
Да това всичко съм го правил..все пак сега повторих и пак не става.Проблема явно не е в сървър-а ,а е в trans-a.Конфигурирам го правилно ,но когато го стартирам явно не се закача към сървър-а..сигурно неможе но каква ще е причината след като с DSP plugin-a на winamp-a щом чукна адреса и паролата ,дам конект се закача.След това вече като адна URL-то в winamp и си тръгва всичко. ':crazy:'
Активен

Bogo

  • Напреднали
  • *****
  • Публикации: 632
  • Distribution: Debian
  • Window Manager: cmd
    • Профил
Shoutcast
« Отговор #4 -: Apr 22, 2008, 00:11 »
Какво пише в лога като причина?
Активен

live free or die хард :)

eniac111

  • Напреднали
  • *****
  • Публикации: 263
  • Distribution: Debian / Ubuntu
  • Window Manager: Enlightenment DR16 / KDE4
    • Профил
    • WWW
Shoutcast
« Отговор #5 -: Apr 22, 2008, 16:50 »
Не съм много наясно, но IceCast не Ти ли върши работа?
Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #6 -: Aug 27, 2008, 18:51 »
Цитат (Bogo @ Април 22 2008,03:11)
Какво пише в лога като причина?

Примерен код
shoutcast@stoyanov:~/radio$ nohup ./sc_serv &
[1] 5108
nohup: appending output to `nohup.out'
shoutcast@stoyanov:~/radio$ nohup ./sc_trans_linux &
[2] 5172
shoutcast@stoyanov:~/radio$ nohup: appending output to `nohup.out'

nohup.out ->
Примерен код
<08/28/08@18:46:50> [STREAM] Creating stream socket
*******************************************************************************
** TRANScast Distributed Network Audio Content Provider
** Copyright (C) 2000 Nullsoft, Inc.  All Rights Reserved.
** Use "sc_trans filename.conf" to specify a config file.
*******************************************************************************
<08/28/08@18:48:41> [TRANSCast] DNAS/posix v0.400-LAME (Mar  4 2003) starting up...
<08/28/08@18:48:41> [MAIN] PID: 5172
<08/28/08@18:48:41> [MAIN] Loaded config from sc_trans.conf
<08/28/08@18:48:41> [MAIN] Loading playlist (/home/shoutcast/radio/house.m3u)
<08/28/08@18:48:41> [MAIN] Found (4) entries in playlist
<08/28/08@18:48:41> [MAIN] Playlist decoder thread starting
<08/28/08@18:48:41> [MAIN] Streaming thread starting
<08/28/08@18:48:41> [DECODE] Opened 06-steve_mac_and_paul_harris-you_(fps_remix).mp3
<08/28/08@18:48:41> [STREAM] Creating stream socket
<08/28/08@18:48:41> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<08/28/08@18:48:41> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<08/28/08@18:48:41> Warning: input file samplerate is -1208237319 Hz, must be 44100!
<08/28/08@18:48:42> [DECODE] Opened Ismael_Rivas_Luxtro_(Original_Mix).mp3

sc_serv.log ->
Примерен код

<08/28/08@18:48:35> [SHOUTcast] DNAS/Linux v1.9.8 (Feb 28 2007) starting up...
<08/28/08@18:48:35> [main] pid: 5108
<08/28/08@18:48:35> [main] loaded config from sc_serv.conf
<08/28/08@18:48:35> [main] initializing (usermax:30 portbase:8000)...
<08/28/08@18:48:35> [main] No ban file found (sc_serv.ban)
<08/28/08@18:48:35> [main] No rip file found (sc_serv.rip)
<08/28/08@18:48:35> [main] opening source socket
<08/28/08@18:48:35> [main] source thread starting
<08/28/08@18:48:35> [main] opening client socket
<08/28/08@18:48:35> [main] Client Stream thread [0] starting
<08/28/08@18:48:35> [main] client main thread starting
<08/28/08@18:48:35> [source] listening for connection on port 8001
<08/28/08@18:49:07> [dest: 192.168.2.100] server unavailable, disconnecting
<08/28/08@18:49:08> [dest: 192.168.2.100] server unavailable, disconnecting
<08/28/08@18:49:08> [dest: 192.168.2.100] server unavailable, disconnecting
<08/28/08@18:49:08> [dest: 192.168.2.100] server unavailable, disconnecting
<08/28/08@18:49:09> [dest: 192.168.2.100] server unavailable, disconnecting
<08/28/08@18:49:09> [dest: 192.168.2.100] server unavailable, disconnecting

sc_trans.log ->
Примерен код
<08/28/08@18:46:40> [STREAM] Error connecting to stream host [waiting 10s]
<08/28/08@18:46:42> [MAIN] Title Update Failed
<08/28/08@18:46:50> [STREAM] Creating stream socket
<08/28/08@18:48:41> [TRANSCast] DNAS/posix v0.400-LAME (Mar  4 2003) starting up...
<08/28/08@18:48:41> [MAIN] PID: 5172
<08/28/08@18:48:41> [MAIN] Loaded config from sc_trans.conf
<08/28/08@18:48:41> [MAIN] Loading playlist (/home/shoutcast/radio/house.m3u)
<08/28/08@18:48:41> [MAIN] Found (4) entries in playlist
<08/28/08@18:48:41> [MAIN] Playlist decoder thread starting
<08/28/08@18:48:41> [MAIN] Streaming thread starting
<08/28/08@18:48:41> [DECODE] Opened 06-steve_mac_and_paul_harris-you_(fps_remix).mp3
<08/28/08@18:48:41> [STREAM] Creating stream socket
<08/28/08@18:48:41> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<08/28/08@18:48:41> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<08/28/08@18:48:41> Warning: input file samplerate is -1208237319 Hz, must be 44100!
<08/28/08@18:48:42> [DECODE] Opened Ismael_Rivas_Luxtro_(Original_Mix).mp3

ps x
Примерен код
ps x
  PID TTY      STAT   TIME COMMAND
19865 ?        S      0:02 sshd: shoutcast@pts/0
19872 pts/0    Ss     0:02 -bash
 5108 pts/0    Sl     0:00 ./sc_serv
 5172 pts/0    Sl     0:12 ./sc_trans_linux
 6852 pts/0    R+     0:00 ps x
shoutcast@stoyanov:~/radio$

Според мен всичко е добре в конфа ,а излиза тази грешка.Толкова пък да неможе да тръгне едно радио...то това ще е голяма каръщина.



Активен

edmon

  • Гост
Shoutcast
« Отговор #7 -: Aug 28, 2008, 01:16 »
защо имам чувството че:
апт-гет инсталл ицецаст

ще ти реши всчки проблеми?
Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #8 -: Aug 28, 2008, 01:33 »
Цитат (edmon @ Авг. 28 2008,04:16)
защо имам чувството че:
апт-гет инсталл ицецаст

ще ти реши всчки проблеми?

Да ,сигурно го има този момент ,но пък съм подготвил доста скриптове за статистики и уеб приложения към shoutcast.Като цяло мисля ,че shoutcast e по-добър за подобна работа.Това е мое мнение.Незнам защо ,но съм се насочил към него.Ако наистина icecast е по-добър трябва бая предимства да изтъкеш ,че да ми излезе явното пред очите. '<img'>Занимавах се малко с icecast ,но да ти кажа след като ми поиска незнам си какви кодери декодери за работа с .mp3 формат се отказах.
Активен

Warstomp

  • Напреднали
  • *****
  • Публикации: 344
  • Distribution: Debian, Ubuntu
    • Профил
Shoutcast
« Отговор #9 -: Aug 28, 2008, 08:38 »
Какво има в този .conf файл?
Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #10 -: Aug 28, 2008, 13:48 »
Цитат (MaX_Ass @ Авг. 28 2008,11:38)
Какво има в този .conf файл?

Те са два конфиг. файла.Този на serv-a и този за листинг.
sc_serv.conf ->
Примерен код
; SHOUTcast Distributed Network Audio Server configuration file
; Copyright (C) 1998-2004 Nullsoft, Inc.
; All Rights Reserved.
; Last modified Mar 17 2004

; If you want to manage multiple configurations, just copy
; this file to another name, and run sc_serv with that name
; such as:
; sc_serv.exe sc_leet.conf

; ***************************
; Required stuff
; ***************************

; MaxUser.  The maximum number of simultaneous listeners allowed.
; Compute a reasonable value for your available upstream bandwidth (i.e. if
; you have 256kbps upload DSL, and want to broadcast at 24kbps, you would
; choose 256kbps/24kbps=10 maximum listeners.)  Setting this value higher
; only wastes RAM and screws up your broadcast when more people connect
; than you can support.
MaxUser=10

; Password.  While SHOUTcast never asks a listener for a password, a
; password is required to broadcast through the server, and to perform
; administration via the web interface to this server.  This server should
; consist of only letters and numbers, and is the same server your broadcaster
; will need to enter in the SHOUTcast Source Plug-in for Winamp.  THIS VALUE
; CANNOT BE BLANK.
Password=blablabla

; PortBase. This is the IP port number your server will run on.  The
; value, and the value + 1 must be available.  If you get a fatal error when
; the DNAS is setting up a socket on startup, make sure nothing else on the
; machine is running on the same port (telnet localhost portnumber -- if you
; get connection refused then you're clear to use that port).  Ports < 1024
; may require root privledges on *nix machines.  The default port is 8000.
PortBase=8000

; ***************************
; Optional Parameters
; ***************************

; ***************************
; Logging configuration
; ***************************

; LogFile: file to use for logging. Can be '/dev/null' or 'none'
; or empty to turn off logging. The default is ./sc_serv.log
; on *nix systems or sc_serv_dir\sc_serv.log on win32.
; Note: on win32 systems if no path is specified the location is
; in the same dir as the executable, on *nix systems it is in the
; current directory.
LogFile=sc_serv.log

; RealTime displays a status line that is updated every second
; with the latest information on the current stream (*nix and win32
; console systems only)
RealTime=0

; ScreenLog controls whether logging is printed to the screen or not
; on *nix and win32 console systems. It is useful to disable this when
; running servers in background without their own terminals. Default is 1
ScreenLog=1

; ShowLastSongs specifies how many songs to list in the /played.html
; page.  The default is 10.  Acceptable entries are 1 to 20.
ShowLastSongs=10

; TchLog decides whether or not the DNAS logfile should track yp
; directory touches.  Adds and removes still appear regardless of
; this setting.
; Default is yes
; TchLog=yes

; WebLog decides whether or not hits to http:// on this DNAS will
; be logged.  Most people leave this off because the DSP plug-in
; uses http:// calls to update titles and get the listener count,
; which takes up a lot of log space eventually.  If you want to
; see people making hits on your admin.cgi or index pages, turn
; this back on.  Note that this setting does NOT affect XML stats
; counters for hits to http:// pages.
; Default is no.
; WebLog=no

; W3CEnable turns on W3C Logging.  W3C logs contain httpd-like accounts
; of every track played for every listener, including byte counts those listeners
; took.  This data can be parsed with tools like Analog and WebTrends, or given
; to third parties like Arbitron and Measurecast for their reporting systems.
; Default is Yes (enabled).
;W3CEnable=Yes

; W3CLog describes the name of the logfile for W3C logging.  Default logfile is
; sc_w3c.log, in the same directory wherever the DNAS gets started from.
;W3CLog=sc_w3c.log


; ***************************
; Network configuration
; ***************************

; SrcIP, the interface to listen for source connections on (or to make relay
; connections on if relaying). Can and usually will be ANY or 127.0.0.1  
; (Making it 127.0.0.1 will keep other machines from being able to
; broadcast using your shoutcast server )
SrcIP=ANY

; DestIP, IP to listen for clients on (and to contact yp.shoutcast.com)
; can and usually will be be ANY. If your machine has multiple IP addresses,
; set this to the one you want it to be accessed by.
DestIP=ANY

; Yport, port to connect to yp.shoutcast.com on. For people behind caching
; webproxies, change this to the alternate port (666 is what it might be,
; check http://www.shoutcast.com if you have problems). Otherwise, leave this at 80.
; We're actively working on re-opening port 666, but as of release the only
; working port is port 80.
Yport=80

; NameLookups.  Specify 1 to perform reverse DNS on connections.
; This option may increase the time it takes to connect to your
; server if your DNS server is slow.  Default is 0 (off).
NameLookups=0

; RelayPort and RelayServer specify that you want to be a relay server.
; Relay servers act as clients to another server, and rebroadcast.
; Set RelayPort to 0, RelayServer to empty, or just leave these commented
; out to disable relay mode.
; RelayPort=8000
; RelayServer=192.168.1.58

; ***************************
; Server configuration
; ***************************

; AdminPassword.  This password (if specified) changes the
; behavior of Password to be a broadcast-only password, and
; limits HTTP administration tasks to the password specified
; here.  The broadcaster, with the password above, can still
; log in and view connected users, but only the AdminPassword
; will grant the right to kick, ban, and specify reserve hosts.
; The default is undefined (Password allows control for both
; source and admin)
; AdminPassword=adminpass

; AutoDumpUsers controls whether listeners are disconnected if the source
; stream disconnects. The default is 0.
AutoDumpUsers=0

; AutoDumpSourceTime specifies how long, in seconds, the source stream is
; allowed to be idle before the server disconnects it. 0 will let the source
; stream idle indefinately before disconnecting. The default is 30.
AutoDumpSourceTime=30

; ContentDir specifies the directory location on disk of where to stream
; on-demand content from.  Subdirectories are supported as of DNAS 1.8.2.
; Default is ./content, meaning a directory named content in the same directory
; as where sc_serv was invoked from.
; ContentDir=./content

; IntroFile can specify a mp3 file that will be streamed to listeners right
; when they connect before they hear the live stream.
; Note that the intro file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\intro%d.mp3 would be C:\intro64.mp3 if you are casting at 64kbps).
; The default is no IntroFile
; IntroFile=c:\intro%d.mp3

; BackupFile can specify a mp3 file that will be streamed to listeners over
; and over again when the source stream disconnects. AutoDumpUsers must be
; 0 to use this feature. When the source stream reconnects, the listeners
; are rejoined into the live broadcast.
; Note that the backup file MUST be the same samplerate/channels as the
; live stream in order for this to work properly. Although bitrate CAN
; vary, you can use '%d' to specify the bitrate in the filename
; (i.e. C:\backup%d.mp3 would be C:\backup32.mp3 if you are casting at 32kbps).
; The default is no BackupFile
; BackupFile=C:\intro%d.mp3

; TitleFormat specifies a format string for what title is sent to the listener.
; For example, a string of 'Justin Radio' forces the title 'Justin Radio' even
; when the source changes the title. You can use up to one '%s' in the string
; which lets you contain the title from the source. For example, if your
; TitleFormat is 'Justin Radio: %s', and the source plug-in's title is
; 'Billy plays the blues', then the net title is
; 'Justin Radio: Billy plays the blues'. Note: only works on non-relay servers.
; The default is no format string.
TitleFormat=hoho %s

; URLFormat specifies a format string for what url is sent to the listener.
; Behaves like TitleFormat (see above).
; The default is no format string.
; URLFormat=http://www.server.com/redirect.cgi?url=%s

; PublicServer can be always, never, or default (the default, heh)
; Any setting other than default will override the public status
; of the source plug-in or of a SHOUTcast server that is being relayed.
PublicServer=default

; AllowRelay determines whether or not other SHOUTcast servers will be
; permitted to relay this server.  The default is Yes.
AllowRelay=Yes

; AllowPublicRelay, when set to No, will tell any relaying servers not
; to list the server in the SHOUTcast directory (non-public), provided
; the relaying server's Public flag is set to default.  The default is
; Yes.
AllowPublicRelay=Yes

; MetaInterval specifies how often, in bytes, metadata sent.
; You should really leave this at the default of 8192, but the option is
; provided anyway.
MetaInterval=32768

; *****************************
; Access Control
; *****************************

; ListenerTimer is a value in minutes of maximum permitted time for
; a connected listener.  If someone is connected for longer than this
; amount of time, in minutes, they are disconnected.  When undefined,
; there is no limit defined.  Default is undefined.
; ListenerTimer=600

; BanFile is the text file sc_serv reads and writes to/from
; for the list of clients prohibited to connect to this
; server.  It's automatically generated via the web
; interface.
; BanFile=sc_serv.ban

; RipFile is the text file sc_serv reads and writes to/from
; for the list of client IPs which are *ALWAYS* permitted
; to connect to this server (useful for relay servers).
; This file is automatically generated via the web
; interface.  Note that if your server is FULL, and someone
; from a Reserved IP connects, the DNAS will force the person
; listening for the longest time off to make room for the new
; connection.
; RipFile=sc_serv.rip

; RIPOnly, when set to Yes, will only allow IP addresses listed in the Reserved
; IP list to connect and relay.  All other connections for listening will be denied.
; This is really only useful for servers whose sole purpose is to provide the
; primary feed to all public relays.  Setting this value to Yes also forces the
; server into Private mode, since listing this server in the directory would
; be pointless.  Default is No.
; RIPOnly=No

; *****************************
; Extended Logging
; *****************************

; The old features previously at this location, HistoryLog and CurrentLog, are
; no longer used and succeded by W3C Logging and XML, respectively.

; ***************************
; Mass Configuration
; ***************************

; Unique: assigns a variable name for use in any config item which points to a
; file.  Useful for servers running lots of SHOUTcast servers that have similar
; configuration parameters, excepting logfile names, banfile names, etc.  Any
; parameter that takes a pathname can include the character $, which will
; substitute $ for the variable assigned here.  Keep in mind that the unique
; variable can only be used after it is defined, so don't try to use a unique
; variable substitution in a path before you define it.  For example, you
; could set:
; Unique=my_server
; and then define Log=/usr/local/shoutcast/$.log in an included configuration
; file.  Default is Unique=$, so that by default any file with $ in the name
; won't substitute anything at all.

; Include: instructs the sc_serv to read from the named configuration file,
; *at the point of insertion of the Include statement*, and process as though
; the included file was part of itself.  Note that all configuration parameters
; in the DNAS config file are processed first to last, so if an item is defined
; twice in a configuration, the last item to process will be the one that takes
; effect.  For this reason, it's usually a good idea to use the Includes first
; in a config file.
; example:
; Include=/usr/local/shoutcast/common.conf
; Default is not applicable.

; *****************************
; Tweaks
; *****************************
;
; DON'T MESS WITH THIS STUFF UNLESS YOU REALLY KNOW WHAT YOU'RE DOING.
; DON'T COMPLAIN TO US IF YOU MESS WITH IT AND THINGS BREAK.
; HAVE A NICE DAY.

; CpuCount is used to explicitly limit the DNAS to dominating a finite
; amount of processors in multiprocessor systems.  By default,
; SHOUTcast creates one thread for every processor it detects in the
; host system, and assigns listeners equally across all the threads.
; In the event SHOUTcast doesn't correctly determine the number of
; CPUs in your host, or if you for whatever reason want to force
; the DNAS to not use other processors, you can say so here.
; Default behavior is to use as many processors as the DNAS detects on
; your system.
; CpuCount=1

; Sleep defines the granularity of the client threads for sending data.
; DNAS 1.7.0, per client thread, will send up to 1,024 bytes of data
; per socket (or less depending on the window available), and then
; sleep for the provided duration before repeating the whole process.
; Note that making this value smaller will vastly increase CPU usage on
; your machine.  Increasing reduces CPU, but increasing this value too far
; will cause skips.  The value which seems most optimal for 128kbps
; streaming is 833 (833 microseconds per client poll) on our test labs.
; We wouldn't recommend setting it any lower than 100, or any higher than
; 1,024.  If you have a slower machine, set this number lower to fix
; skips.
; Default value is 833.
; Sleep=833

; CleanXML strips some whitespace and linefeeds from XML output which
; confuses some (poorly written) XML parsers.  If you get XML rendering errors,
; try turning this on.  Default is No (off).
; CleanXML=No
;
; TAG RULES

sc_trans.conf ->
Примерен код
; Sample sc_trans/0.35-j config file
; j.frankel 12/05/00
; t.pepper 10/31/00
; (relays not supported, yo)
;
; sc_trans operates in one of two modes, either reading mp3s off disk, decoding,
; re-encoding, and then broadcasting them, or relaying from a shoutcast server,
; transcoding to a lower bitrate, and broadcasting to a new server.

; sc_trans accepts the following signals:
; HUP - flush logfiles (close and reopen) -- will make console logging stop
; WINCH - jump to next song
; USR1 - reload playlist off disk (will not interrupt current playing stream)
; USR2 - toggle shuffle on/off
; TERM - normal sc_trans shutdown (clean)

; PlaylistFile (required EVEN IF RELAYING) - playlist file (to create, use
; find /path/to/mp3/directory -type f -name "*.mp3" > playlist_filename.lst
PlaylistFile=/home/h7d8/radio/house.m3u

; ServerIP/ServerPort are the target server to send to
ServerIP=localhost
ServerPort=8000

; Password is the password on the sc_serv you're sending to.
Password=blablabla

; StreamTitle/URL/Genre define the data that appears on the directory and in the
; stream info.
StreamTitle=Radio
StreamURL=http://shibudabudab.dab
Genre=House

; Logfile optionally denotes a text file to log sc_trans to.  a kill -HUP
; will force a close and re-open of this file (but will also cease logging to
; the console)
LogFile=/home/h7d8/radio/sc_trans.log

; Shuffle the playlist
Shuffle=1

; Bitrate/SampleRate/Channels recommended values:
; 8kbps 8000/11025/1
; 16kbps 16000/11025/1
; 24kbps 24000/22050/1
; 32kbps 32000/22050/1
; 64kbps mono 64000/44100/1
; 64kbps stereo 64000/22050/2
; 96kbps stereo 96000/44100/2
; 128kbps stere0 128000/44100/2
Bitrate=96000
SampleRate=44100
Channels=2
; Quality is from 1-10. 1 is best, 10 is fastest.
Quality=1


; Mode=0 for none, 1 for 100/100->100/0, 2 for 0/100->100/0
CrossfadeMode=1
; Length is ms.
CrossfadeLength=8000

UseID3=0

; Public determines whether or not this station will show up in the directory
Public=1

; Put stuff here for user interaction (AOL IM, ICQ, IRC)
AIM=
ICQ=
IRC=

Мисля си дали проблема не е в това ,че са на една машина и неможе да се нагласят в локалхост.Понеже като пусна сървър-а с моя DSP-plugin се закачам т.е от *.2.100 към сървър-а *.2.1.От там всеки който се закачи снифи от моя плейлист на winamp-a.Когато обаче пробвам с sc_trans нещо се омацва.Почти съм обеден ,че причината за това е:
Примерен код
<08/28/08@18:48:41> [CONFIG] WARNING: No InputSamplerate defined, assuming 44100!
<08/28/08@18:48:41> [CONFIG] WARNING: No InputChannels defined, assuming 2!
<08/28/08@18:48:41> Warning: input file samplerate is -1208237319 Hz, must be 44100!
':crazy:'
А и категорично проблема излиза ,че е от sc_trans т.е не се закача изобщо към сървър-а.
Примерен код
<08/31/08@01:47:18> [STREAM] Creating stream socket
<08/31/08@01:50:27> [STREAM] Error connecting to stream host [waiting 10s]
<08/31/08@01:50:37> [STREAM] Creating stream socket
<08/31/08@01:53:46> [STREAM] Error connecting to stream host [waiting 10s]
<08/31/08@01:53:56> [STREAM] Creating stream socket
което ме свежда до мисълта ,че проблема е по-сериозен.Портове ,хостове ,firewall.Даже nmap ми отказва.
Примерен код
nmap 127.0.0.1

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-31 03:09 EDT
Note: Host seems down. If it is really up, but blocking our ping probes, try -P0
Nmap finished: 1 IP address (0 hosts up) scanned in 0.284 seconds

->
Примерен код
nmap 192.168.2.100

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2008-08-31 03:09 EDT
Interesting ports on 192.168.2.100:
Not shown: 1675 closed ports
PORT    STATE SERVICE
80/tcp  open  http
135/tcp open  msrpc
139/tcp open  netbios-ssn
443/tcp open  https
445/tcp open  microsoft-ds
MAC Address: 00:08:C7:2B:D1:01 (Compaq Computer)

Nmap finished: 1 IP address (1 host up) scanned in 1.527 seconds




Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #11 -: Sep 01, 2008, 01:56 »
Реших си проблема.
Активен

bulg

  • Напреднали
  • *****
  • Публикации: 916
  • Distribution: *bsd/linux
  • Животът е тръпка... иначе живот ли е това...
    • Профил
    • WWW
Shoutcast
« Отговор #12 -: Sep 01, 2008, 02:05 »
Kak?
Активен

http://www.youtube.com/watch?v=9rX8Fn-YJpI
---------------------------------------------------------------------
http://cleargreen.com

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #13 -: Sep 03, 2008, 16:35 »
Цитат (bulg @ Сеп. 01 2008,05:05)
Kak?

Проблем с loopback.. уш работи ,а всъщност неработи.ifiup ifdown ifup ifdown reboot и тръгна.
Активен

h7d8

  • Напреднали
  • *****
  • Публикации: 197
  • Distribution: Debian;Ubuntu
  • Window Manager: Gnome
    • Профил
Shoutcast
« Отговор #14 -: Sep 16, 2008, 20:08 »
Искам да махна Current title: от Info Box-a понеже е гадно потребителите да виждат коя песен върви в момента,ако някой го е махал да пише.Аз поне неможах да го махна от там. '<img'>
Активен

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
Shoutcast Server c Debian
Настройка на програми
icet 1 2026 Последна публикация Mar 31, 2005, 17:35
от Hapkoc
Shoutcast
Настройка на програми
DHCP 0 1452 Последна публикация Jun 25, 2008, 14:46
от DHCP
Shoutcast
Настройка на програми
broozy 3 2054 Последна публикация Jan 04, 2009, 11:07
от broozy
Shoutcast Server
Настройка на програми
lubo55 5 2072 Последна публикация Jul 07, 2010, 16:59
от lubo55
SHOUTcast на Ubuntu Server 10.10 - web интерфейс ?
Настройка на програми
testdemo 5 2407 Последна публикация Dec 22, 2010, 10:18
от Mitaka