MP3-Streaming unter Linux auf Shoutcast

Status
Für weitere Antworten geschlossen.
AW: MP3-Streaming unter Linux auf Shoutcast

Gut, das es jetzt funktioniert.

Du schreibst etwas von einem lizenzpflichtigen Codec, erwähnst aber nicht die Art der Lizenz. Kannst du dazu näheres sagen? (Ich geh mal davon aus, der Blogeintrag ist von dir ;))
 
AW: MP3-Streaming unter Linux auf Shoutcast

Soweit ich das bei http://www.codingtechnologies.com/licensing/aacplus.htm verstanden habe, benötigt man eine Lizenz wenn man Software erstellt, welche den Codec benutzt - aacplusenc ist allerdings unter der GPL veröffentlicht, da wird dann keine Lizenz benötigt => http://www.vialicensing.com/Licensing/AAC_FAQ.cfm?faq=1#1

Also das von mir geschrieben Howto fällt dann hier nicht unter die Lizenzpflicht afaik -wer sicher gehen will kann ja seinen Anwalt fragen.
 
AW: MP3-Streaming unter Linux auf Shoutcast

Moin hab da mal ne frage.
Ich besitze nen ubuntu server version und habe deine gesamte installationsanleitung verfolgt netzguru. Das hat bis vor 2 tagen auch alles wunderbar funktioniert. Allerdings habe ich mein System neu aufgestetzt und bekomme jetzt immer folgende Fehlermeldung vom Mplayer.

Code:
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
[AO PCM] File: streamin (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
input file streamin:
sr = 44100, nc = 2

output file -:
br = 32000 sr-OUT = 44100  nc-OUT = 2

A:   1.1 (01.1) of -0.0 (unknown) 11.5% 20%

MPlayer interrupted by signal 13 in module: play_audio
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Weißt du eventuel woran das liegen könnte? Eventuell ein Falscher codec auf welchen der mplayer zugreift oder kA ... eventuell fehlt mir ja auch noch ein Package.

Auf jedenfall ist Mplayer korrekt installiert worden und aacplusenc läuft auch.
Ich hab echt kp woran das liegt ich sitze hier jetzt schon seit 2 tagen dran -.-

Ich hoffe du kannst mir helfen
 
AW: MP3-Streaming unter Linux auf Shoutcast

Moin hab da mal ne frage.
Ich besitze nen ubuntu server version und habe deine gesamte installationsanleitung verfolgt netzguru. Das hat bis vor 2 tagen auch alles wunderbar funktioniert. Allerdings habe ich mein System neu aufgestetzt und bekomme jetzt immer folgende Fehlermeldung vom Mplayer.

Code:
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================
[AO PCM] File: streamin (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
input file streamin:
sr = 44100, nc = 2

output file -:
br = 32000 sr-OUT = 44100  nc-OUT = 2

A:   1.1 (01.1) of -0.0 (unknown) 11.5% 20%

MPlayer interrupted by signal 13 in module: play_audio
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Weißt du eventuel woran das liegen könnte? Eventuell ein Falscher codec auf welchen der mplayer zugreift oder kA ... eventuell fehlt mir ja auch noch ein Package.

Auf jedenfall ist Mplayer korrekt installiert worden und aacplusenc läuft auch.
Ich hab echt kp woran das liegt ich sitze hier jetzt schon seit 2 tagen dran -.-

Ich hoffe du kannst mir helfen

Sieht so aus als sei das hier das Problem:

Code:
Audio file file format detected.
==========================================================================
Forced audio codec: mad
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mad] afm: libmad (libMAD MPEG layer 1-2-3)
==========================================================================

Versuche mal mp3lib zu verwenden:

Code:
Audio file file format detected.
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
mpg123: Can’t rewind stream by 680 bits!
AUDIO: 44100 Hz, 2 ch, s16le, 96.0 kbit/6.80% (ratio: 12000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)

Ansonsten downgrade mplayer oder installiere es von den sourcen...
 
AW: MP3-Streaming unter Linux auf Shoutcast

Ich hab ein ähnliches Problem mein Broadcast stürzt auch jedesmal nach einer gewissen Zeit ab.
Poste Logfile und meine Config


Log file:
2009-10-28 16:52:15 I msg:<***> Logger startup
2009-10-28 16:52:15 I msg:<***> version 0.2.0.0 build 0.0.25.0
2009-10-28 16:52:15 D msg:<***>
2009-10-28 16:52:15 I msg:[calendarMgr] Adding DJ event m_djName=neil m_archive=0 m_id=1 m_startDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_endDate=year:0,mon:0,mday:0,hour:0,min:0,sec:0,isdst:0,wday:0,yday:0 m_duration=0 m_timeOffset=year:0,mon:0,mday:0,hour:158491456,min:0,sec:0,isdst:0,wday:0,yday:0 m_hasStartDate=0 m_hasEndDate=0 m_hasDuration=0 m_hasTimeOffset=0 m_repeat=0
2009-10-28 16:52:15 I msg:[VUPush] 0 VU images loaded
2009-10-28 16:52:15 I msg:[VUPush] 0 VU images loaded
2009-10-28 16:52:15 I msg:[playlistMgr] playlist load from file ./playlist_win32.lst
2009-10-28 16:52:15 W msg:[playlistMgr]The playlist entry ./mp3/Musik/The Last Unicorn [Cansis Remix Edit].mp3 generated no entries
2009-10-28 16:52:15 W msg:[playlistMgr]The playlist entry ./mp3/Musik/[- Eminem - Without Me (Happy HardCore Remix) -].flv.MP3 generated no entries
2009-10-28 16:52:15 I msg:[playlistMgr] Caching playlist ./playlist_win32.lst
2009-10-28 16:52:15 I msg:[playlistMgr] load complete
2009-10-28 16:52:15 I msg:*******************************************************************************
2009-10-28 16:52:15 I msg:** TRANScast Distributed Network Audio Content Provider
2009-10-28 16:52:15 I msg:** Copyright (C) 2000 Nullsoft, Inc. All Rights Reserved.
2009-10-28 16:52:15 I msg:** Use "sc_trans filename.conf" to specify a config file.
2009-10-28 16:52:15 I msg:*******************************************************************************
2009-10-28 16:52:15 I msg:[TRANSCast] DNAS/posix v 0.2.0.0 b 0.0.25.0 (Feb 3 2009) starting up...
2009-10-28 16:52:15 I msg:[MAIN] PID: 28537
2009-10-28 16:52:15 I msg:[MAIN] Loaded config from sc_trans.conf
2009-10-28 16:52:15 I msg:[MAIN] Streaming thread starting
2009-10-28 16:52:15 I msg:[resampler] deactivated 44100/2 == 44100/2
2009-10-28 16:52:15 I msg:[MAIN] Encoder thread 0 starting
2009-10-28 16:52:15 I msg:[MAIN] broadcast thread 0 starting
2009-10-28 16:52:15 I msg:[mp3enc] 357560642/44100/2/256000 Fraunhofer IIS MP3s Encoder V04.01.00 (build 2007-03-15)
2009-10-28 16:52:15 I msg:Using internal encoder sample rate of 44100 Hz, bandwidth 22050 Hz, MDCT low pass active

2009-10-28 16:52:15 I msg:[mp3enc] 357560642/44100/2/256000 mp3 setup complete
2009-10-28 16:52:15 I msg:[MAIN] Playlist decoder thread starting
2009-10-28 16:52:15 I msg:[microServer] Listening for connection on port 9877
2009-10-28 16:52:15 I msg:[MAIN] Broadcast Receiver thread starting
2009-10-28 16:52:15 I msg:[rgCalc] thread running
2009-10-28 16:52:15 I msg:[STREAM] 492728533 giving replay gain calculator a head start
2009-10-28 16:52:15 I msg:[STREAM] 492728533 running
2009-10-28 16:52:15 I msg:[STREAM] 492728533 Creating stream socket
2009-10-28 16:52:15 I msg:[STREAM] 492728533 Resolving stream host
2009-10-28 16:52:15 E msg:thread::start() - Could not start thread
2009-10-28 16:52:15 I msg:[STREAM] 492728533 Connected to host server
2009-10-28 16:52:15 I msg:[decode] giving replay gain calculator a head start
2009-10-28 16:52:15 I msg:[decode] begin decoding
2009-10-28 16:52:15 I msg:[decode] Exiting decoder thread
2009-10-28 16:52:15 I msg:[mp3enc] 357560642/44100/2/256000 Exiting encoder thread
2009-10-28 16:52:16 I msg:[rgCalc] thread exiting
2009-10-28 16:52:16 I msg:[resampler] tIn=0 tOut=0 bIn=0 bOut=0
2009-10-28 16:52:16 I msg:[crossfader] in=0 out=0
2009-10-28 16:52:16 I msg:<***> Logger shutdown


Config:
;; VU Images
vuimagedirectory=./vuimages/

;; ENCODER OPTIONS
encoder=mp3
bitrate=256000
samplerate=44100
channels=2

;;; NETWORK OPTIONS
outprotocol=1
serverip=*******.stratoserver.net
serverport=8000
password=******


;;;; LOGGING OPTIONS:
;where does the log file go
logfile=./log/sc_trans.log
; 1 to do screen logging else 0
screenlog=1

;;;;;; METADATA CONTROL
; my stream name
streamtitle=Sendepause
; url related to my stream
streamurl=http://******.de
; my genre
genre=All kinds
; other assorted stuff
;aim=
;irc=
;icq=
; register with yp
public=1

;;;; PLAYLIST CONTROL
; your playlist
playlistfile=./playlist_win32.lst
; by default we shuffle the playlist. Lets turn that off
shuffle = 1
; set our crossfade time to 2 seconds. zero means no xfade
xfade=2
; file must be at least 20 seconds or we don't crossfade
xfadethreshold=20
; drop folder for priority playlists
playlists=./sc_trans/playlists/
; where finished priority playlists get copied
archive=./sc_trans/playlists/archive/

;;; LIVE CAPTURE:
; don't capture
capture=0
; set capture parameters
;capturedevice=Sound Blaster
;captureinput=Line-In
;capturesamplerate=44100
;capturechannels=2

;;;; DJ SUPPORT:
; dj listen port
djport=9876
; dj password
djpassword=********
; idle time until auto-dump
autodumpsourcetime=30
; record dj broadcasts here
djbroadcasts=./sc_trans/recorded/


;; REPLAY GAIN CONTROL:
applyreplaygain=0
calculatereplaygain=0

;;; OTHER:
adminport=5555
adminuser=admin
adminpassword=******

Erbitte schnelle Antwort
Vielen dank im Vorraus
 
AW: MP3-Streaming unter Linux auf Shoutcast

Nur mit einem Unterschied:
Du bist hier im Thread fehl am Platz, denn du hast eine Frage zur sc_trans - und nicht zum streamen (als Moderator) unter Linux.
 
AW: MP3-Streaming unter Linux auf Shoutcast

leute ich habe auf alle fragen jetzt eine antowort kuckt euch das mal an vieleicht könnt ihr damit ja was anfangen http://www.shoutcastadmin.info/

ein shoutcast admin panel mit auto dj zwa noch eine beta aber ich hoffe es hilft euch weiter ist eine free version soll wohl auch so bleiben ihr müst nix weiter tun als das zusätzlich auf euren root installieren

ich selber habe es seit gestern drauf und leuft super klasse und das alles kosten los


cd /usr/local
sudo mkdir pecl
cd pecl
sudo -s
svn co http://svn.php.net/repository/pecl/ssh2/trunk/ ssh2-trunk
cd ssh2-trunk
make clean
phpize && ./configure --with-ssh2=/usr
make
make install
exit

dan braucht sich keiner mehr abquellen mit dem auto dj und so hoffe es hilft weiter viel spass damit

lieben gruss Matrix
 
AW: MP3-Streaming unter Linux auf Shoutcast

Es ist ja toll dass du so begeistert von der Anwendung zu sein scheinst, aber deswegen musst du nicht gleich in jedem Thread ein 'Crossposting' hinterlassen.
Es reicht, wenn du in einem Thread das Posting hinterlaesst - und in einem anderen auf diesen verweist.

Ohh man!
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben