Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 17 Sep 2014, 05:43
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Icecast
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [7 Posts]  
Author Message
OscarTalks

Joined: 05 Feb 2012
Posts: 873
Location: London, England

PostPosted: Thu 28 Jun 2012, 07:52    Post subject:  Icecast
Subject description: Multimedia Streaming Server
 

***********************************

LATER VERSION A FEW POSTS BELOW
http://www.murga-linux.com/puppy/viewtopic.php?t=79340&start=4

***********************************

Uses include public broadcasting or point-to-point sending of audio feeds over the internet.

(Version 2.3.3 for Slacko 5.3.3 download links left here for now.)

The normal ./configure make make install process leaves out some of the needed log files and directories.

There is also a snag that it refuses to run as user "root".

I made a .pet in Slacko with the files and folders manually created and set the permissions for those. I also did a bit of editing to the .xml config file so icecast runs as user "nobody".

It does all now seem to work in Slacko, including listing of streams in the Icecast Stream Directory.

After installation you need to do a bit of manual editing of the config file which is found at /etc/icecast.xml

For basic operation this is only a few essential items like passwords, hostname and uncommenting of the little section if you want directory listing(s) of your stream(s).

There is no GUI. To start it you just enter the following into the terminal:-

Code:
icecast -c /etc/icecast.xml

or
Code:
icecast -b -c /etc/icecast.xml

(to run icecast in the background)

It responds with "changed userid to 65534". Not sure what the significance of this is although this number is one below 65535 which is the burst-size defined in the .xml file. As I say, it all seems to work though.

I am also attaching .pet packages of Darkice and Darksnow.
Darkice is a source client which produces the stream for Icecast (others are available). It runs from command line. Darksnow is a GUI front end (with menu entry) for Darkice if you prefer the convenience of that.
icecast-2.3.3-i486-slacko.pet
Description  Icecast Multimedia Streaming Server
pet

 Download 
Filename  icecast-2.3.3-i486-slacko.pet 
Filesize  254.67 KB 
Downloaded  215 Time(s) 
darkice-1.1-i486-slacko.pet
Description  Darkice CLI streaming source client for Icecast Server
pet

 Download 
Filename  darkice-1.1-i486-slacko.pet 
Filesize  116.57 KB 
Downloaded  211 Time(s) 
darksnow-0.6.1-i486.pet
Description  GUI front end for Darkice streaming source client
pet

 Download 
Filename  darksnow-0.6.1-i486.pet 
Filesize  25.33 KB 
Downloaded  197 Time(s) 

_________________
Oscar in England


Last edited by OscarTalks on Mon 02 Jun 2014, 09:40; edited 2 times in total
Back to top
View user's profile Send private message 
traderbob

Joined: 28 May 2014
Posts: 1

PostPosted: Thu 29 May 2014, 01:59    Post subject: ogg in Darkice
Subject description: OGG can be added?
 

Is it possible to add ogg and AAC+ in this

regards

Robert
Back to top
View user's profile Send private message 
trapster


Joined: 28 Nov 2005
Posts: 2003
Location: Maine, USA

PostPosted: Thu 29 May 2014, 12:27    Post subject:  

Icecast does .ogg
_________________
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Puppeee4.31 + 1.0, Puppy4.10 + Lupu52
Currently using Slacko AND lupu52 w/ fluxbox
Back to top
View user's profile Send private message Visit poster's website 
OscarTalks

Joined: 05 Feb 2012
Posts: 873
Location: London, England

PostPosted: Thu 29 May 2014, 12:48    Post subject:  

It has been a while since I used it so I can't remember all the details for sure.
I am fairly certain that the icecast server will stream ogg vorbis and aac plus without any problems. These packages were compiled and used in Slacko 533.

The stream format is determined in the source client. The server then broadcasts whatever you are feeding into it. I think darkice does produce ogg streams but would have to double check. Not sure about aac plus but other source clients are available. I'm sure I have streamed aac plus in the past but it may have been with something else.

It is a shame that ogg vorbis has not been more widely adopted because it gives excellent audio quality even at low bitrates. One of the reasons for using mp3 (even though it doesn't sound as good) used to be that Windows Media Player would not play ogg or aac unless the user installed a plugin. Not sure if this is still the case.

EDIT:-
Just took a quick look at http://icecast.org and it seems that darkice will stream AAC via libfaac. If you want true AAC+ it will do that as well but you may need to add libaacplus because it is not usually included in Puppy. Note that libaacplus will need libfftw as well. Also it would probably be a good idea to compile the latest version (2.4.0) of icecast server.

LATER EDIT:-
I compiled latest icecast, darkice and darksnow and confirm I am able to stream ogg vorbis, aacplus and even opus. I had to add the libaacplus as a shared library, it did not want to link statically into darkice for some reason. The libaacplus does have statically linked fftw though. Some players will not have opus support as it is still quite new. My VLC does so I was also able to verify that this works too.

_________________
Oscar in England

Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 873
Location: London, England

PostPosted: Sat 31 May 2014, 11:35    Post subject:  

I have uploaded icecast-2.4.0 and darksnow-0.7.1 (which contains darkice-1.2)
Compiled in Slacko 5.7
May be OK in other recent 32bit Slackware 14.0 Pups

http://smokey01.com/OscarTalks

With these two pakages you can broadcast audio streams in the following formats:-

mp3
ogg vorbis
aac
aacplus
opus

Much of the information in the first post still applies. You need to do a bit of editing of /etc/icecast.xml to set up the server. You may also need to set up port forwarding if you are behind a router and make sure any firewall is configured to allow incoming connections to the specified port(s). Start the server with the command icecast -c /etc/icecast.xml or set up a script to start it.

Then you need a little bit of knowledge to configure the settings in darksnow, but once you have done that correctly and made sure your source audio is coming from the right place and set to the right level you just click to start streaming and you are "On The Air".

LATER:-
I have been conducting some (subjective) tests of audio quality of the different formats at a fixed low bitrate of 24kbps. There are several reasons why it is desirable to be able to achieve acceptable quality at the lowest possible bitrate.
To my ears OPUS sounds the best. This is to be expected as it is the newest and has been getting rave reviews. Because it is new, some media players will not have been built with support for OPUS, but if you have a recent Firefox or SeaMonkey you can just play OPUS streams directly in your browser, which for some people may be preferable to having to use a media player anyway.
I am adding another screenshot (hope you can see it) showing the listing of my OPUS test stream in the icecast directory. This is SeaMonkey 2.12.1 and you can see that you get an embedded player for listening to the stream if it is OPUS or Vorbis.
icecast-directory.jpg
 Description   Directory listing works - OPUS streams play directly in Mozilla browsers
 Filesize   59.75 KB
 Viewed   226 Time(s)

icecast-directory.jpg

darksnow-aacp.jpg
 Description   Darksnow encoding and streaming aacPlus
 Filesize   107.17 KB
 Viewed   248 Time(s)

darksnow-aacp.jpg

darksnow.jpg
 Description   Darksnow / darkice / icecast broadcasts audio streams in several formats
 Filesize   74.16 KB
 Viewed   263 Time(s)

darksnow.jpg


_________________
Oscar in England

Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2539
Location: New Zealand

PostPosted: Mon 25 Aug 2014, 21:53    Post subject:  

Hi OscarTalks,
i have a work colleague who wants to be able to jam along with another member of his band who lives in another part of the city. I suggested the idea of two audio streams - one broadcasting from himself to the other person and one broadcasting from them to him.

Do you think this software is capable of doing what he needs? cheers
Back to top
View user's profile Send private message 
OscarTalks

Joined: 05 Feb 2012
Posts: 873
Location: London, England

PostPosted: Tue 26 Aug 2014, 06:47    Post subject:  

I'm afraid it isn't really ideal for what you describe. It is designed more for broadcasting or distribution and has high latency to ensure robustness of the stream. Normally there will be several seconds of delay.

I saw the application you mentioned in the other thread, but synchonising audio from remote parties in real time is a physical impossibility over internet as I understand it. So if they need to hear each other and respond to each other I don't think it would ever work.

Even over Skype you have a delay of half a second to a second or so. The audio is good and you can have conversations and play music or other sounds to one another with reasonable quality, but if you have ever heard people try to sing together you notice that the delay does not allow this to work smoothly. The limitation becomes blatantly apparent.

What you can do is add stuff to a mix, so for example a backing track comes to you with several instruments and/or voices and you play something extra or sing something extra and record the combination as a new track.

_________________
Oscar in England

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [7 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0722s ][ Queries: 12 (0.0040s) ][ GZIP on ]