PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : butt 0.1.1 - neues audio stream programm



bip
19.09.07, 11:44
Hi,

bisher hatte ich immer mein Windowsrechner gebootet um mit dem Shoutcast-Plugin für Winamp zu streamen.
Da mir die verfügbaren Lösungen für Linux nicht wirklich gefallen,
habe ich mal ein eigenes Projekt gestartet.
Würde mich freuen, wenn sich hier der ein oder andere findet, der das tool mal ausprobiert :)


Mehr Infos findet ihr unter
http://danielnoethen.de/butt

Grüße,
Daniel

Domi2005
19.09.07, 14:59
Sieht ganz gut aus, kann man damit auch Mikrofone richtig kontrollieren?

bip
19.09.07, 15:05
Hi,
was verstehst du denn unter "Mikrofone richtig kontrollieren"?

Domi2005
19.09.07, 15:40
Push 2 Talk zum Beispiel, einschalten, ausschalten, während des Liedes sprechen usw

ProfBunny
19.09.07, 17:19
werdes testen, mein server ist nur gerade besetzt.

deine sample-buttrc solltest du überarbeiten, in meinem editor total zerhackt:cool:

solltest auch mit den sourcen eine sample-buttrc mitliefern.

ohne .buttrc führt ein klick auf den play knopf zum seg fault

schön wäre wenn man sich eine buttrc "zusammen klicken" kann

mfg

bip
19.09.07, 20:41
@Domi: Ne sowas ist leider vorerst nicht vorgesehen

@ProfBunny:
>> sample-buttrc solltest du überarbeiten, in meinem editor total zerhack
Hmm werd ich mal schauen. jedit und vim zeigen sie schön an :)

>> solltest auch mit den sourcen eine sample-buttrc mitliefern.
Ups, keine dabei? Keine Absicht.
Edit: Hmm, da ist in jedem package eine drinn. Musst du übersehen haben ;)

>> ohne .buttrc führt ein klick auf den play knopf zum seg fault
Sollte eigentlich ohne buttrc gar nicht starten... Da hab ich wohl etwas zu viel messages von stdout zu dem info fenster umgeleitet ;)
Wird behoben.

>> schön wäre wenn man sich eine buttrc "zusammen klicken" kann
Da hab ich heute mit angefangen :)

Vielen Dank!

ProfBunny
26.09.07, 09:22
ich habs jetzt mal geschaft.

der server ist frei, dennoch führt ein klick auf play zu einem seg fault.

poll([{fd=8, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(8, "6\331\1\0\0\1\0\0\0\0\0\0\twdb-group\3com\0\0\1\0\1", 31, MSG_NOSIGNAL) = 31
poll([{fd=8, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(8, FIONREAD, [132]) = 0
recvfrom(8, "6\331\201\200\0\1\0\1\0\2\0\2\twdb-group\3com\0\0\1\0\1"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("172.16.20.57")}, [16]) = 132
close(8) = 0
connect(7, {sa_family=AF_INET, sin_port=htons(8001), sin_addr=inet_addr("xxxxxxxxxxxxx")}, 16) = 0
write(7, "xxxxxxxxxxx", 8) = 8
write(7, "\n", 1) = 1
read(7, "OK2\r\nicy-caps:11\r\n\r\n", 99) = 20
write(7, "icy-name:", 9) = 9
write(7, "profbunny", 9) = 9
write(7, "\n", 1) = 1
write(7, "icy-genre:", 10) = 10
write(7, "Metal", 5) = 5
write(7, "\n", 1) = 1
write(7, "icy-url:", 8) = 8
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 5143 detached

bip
27.09.07, 08:39
Hi, danke fürs testen.

Ich vermute, dass du leere values in der icy section in deinem config file hast.
Somit führt er ein strlen auf einen NULL pointer aus und stürzt ab.

Wird in der 0.1.2 gefixt sein.

ProfBunny
27.09.07, 09:30
profbunny@sysiphus:~/source/butt-0.1.1$ cat ../../.buttrc
#This is a sample configuration file for butt
#please change it to your needs and move it
#to $HOME/.buttrc
[main]
server = server1 #select the server section
icy = icy_server1 #select icy section (shoutcast meta data)

[audio]
device = default #if you dont have more than one soundcard
#this should work for you

samplerate = 44100 #44100Hz is a common value for the samplerate
#dont change it unless you know what you are doing

bitrate = 128 #selects the bitrate of your mp3 data
#if the xrun indicator is blinking
#try a lower value
#valid values are:
#32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256, 320

channel = 2 #1 = mono; 2 = stereo

codec = mp3 #only mp3 implementet yet


[record]
bitrate = 192 #selects the bitrate of the recording file
channel = 2 #1 = mono; 2 = stereo
codec = mp3 #nothing else supported yet
#further quality settings will be available in
#future releases

#This is the relevant data of your first server
#you can change its name to what ever you want
#but take care to update the "server" value in the
#main section

[server1]
address = www.com

port = 8000 #butt connects to port+1 (yes that's normal in the shoutcast world)

password = sound

[icy_server1] #no whitespaces allowed
name = profbunny ###!!!values must not be empty, otherwise butt will crash (will fix this soon)!!!###
genre = Metal
url = www.de
irc = irc.com
pub = 1 #0 = make server not public; 1 = make server public


versteh nicht ganz was du damit meinst.

mfg

bip
27.09.07, 09:53
Bei dir fehlen unter [icy_server1] ein paar Werte (icq und aim).

Bei 0.1.1 ist es zwingend erforderlich, dass alle Variablen irgend einen Wert haben.
Wie gesagt, ist schon gefixt, nur noch nicht veröffentlicht, weil ich für die 0.1.2 noch an was anderem dran bin.


Versuchs mal hiermit:

[icy_server1]
name = profbunny
genre = Metal
url = www.de
irc = irc.com
icq = noicq
aim = noaim
pub = 0

ProfBunny
27.09.07, 15:39
jo, so klappts. obwohl kein id3tag übertragen wird.

bip
07.10.07, 16:30
Huhu, es gibt eine neue Version:

Changes:
Version 0.1.2 (2007-10-07)
==========
* added a GUI for configuring butt
* comments behind config entries are not allowed anymore.
* removed the network init part. It was nonsense
* fixed mono playblack
* fixed recording problems
* ICY entries can now be empty without causing butt to crash
* butt shows the real port in its "connecting to..."-info line now and the "pseudeo" port in parenthesis
* fixed a bug which causes pcm data loss in some cases

Bin zudem auf SourceForge umgezogen: butt project page (http://sourceforge.net/project/showfiles.php?group_id=206231)

Das alte config file ist leider unbrauchbar mit der neuen Version. Löscht bitte euer altes file und erstellt ein neues mit dem config window.

Achja, es gibt nun auch ein channel im IRC:
irc.freenode.org #butt