I am an active sourcefabric follower, and I was contributing a little
with some bug reports of campsite.
In this case, I have compiled and installed succesfully Campcaster under
Centos 5.5 32bits. I was reading all the information and documentation I
found in the site, but there are some issues I can't understand.
I want to make an internet streaming radio. Both scheduled and live
broadcasting. I also contracted a VPS for this purpose. Campcaster is
currently running ok (1.4.0) with a minnor issues fixes for
postinstallation (I will post them below at the end).
So, the configuration is: in the Virtual Private Server i was
contracted, is running Scheduller and StorageServer with a lot of gb of
mp3 music already imported. At the other end, in my house, I have
Campcaster Studio running under ubuntu.
Well, the main dude I have is how campcaster scheduller streaming the
playback mp3 included under the playing playlists? When compiling
campcaster, it's need for GStreamer. So, What is the use of gstreammer
in campcaster? It is used for streamming (if this is the case, what is
the URL I will get the streammed music) or it is only used for convert
between formats (like oog - mp3)?
AFAIK campcaster not have streamming server. So what streamming server
you can advice? Darwing? Icecast? What is the URL I use to get the
output from campcaster to imput at the streamming server?
What is the mean of "Station URL" under Station Settings? this is only
informative, or this is the output streamming?
In the same options, "Scheduler startup script" I have configurated
/etc/init.d/campcaster-scheduler but when I select Scheduller->Status I
get "Scheduler startup script does not appear to be valid. Please check
the value you have set in "Preferences->System Settings". Scheduller is
currently running, but I don't know why I get this message.
The main idea for the radio, is streamming throught a web page using
campcaster as scheduller, but at some times I want to connect from my
home campcaster studio to scheduller to broadcast live shows, and after
that, resummin to the campcaster scheduller only.
Because the information is very hard to find, I can't found a real
answer to thi issue. (BTW: it is possible to fix all broken links in
sourcefabric dev, forums and wiki? Because is very very hard to follow a
thread or found somethings. A better one if you can replace the current
forum with a new that can publish threaded all the messages of the
lists, like mailman archive, ezmlm, mhonarc, etc).
To finish this long message I post all the steps I use to compiling and
install sucesfully campcaster in centos5.5 32 bits.
Firs of all you need to activate https, ntpd, and postgresql (I used 8.4.x)
The install the repositories epel, rpmforge and pgdg84 (this last if you
want postgresql 8.4) with yum plugin prioritize and configured too.
Then install all the php modules, like php-pgsql, etc. Also you want to
install phpPgAdmin to acces via web you postgresql server.
Then install all the require software as say in the campcaster
requirements software (look inside doc folder). Because we are
compiling, install all the software and the develpment packages
(followed by -devel), for instance: "yum install libtar libtar-devel".
Don't miss to install "yum install gstreamer gstreamer-devel
gstreamer-plugins-base gstreamer-plugins-base-devel
gstreamer-plugins-good gstreamer-plugins-good-devel gstreamer-tools"
Because the packages lcov and libserial are not under any repository,
you need to compile and install them befor you continue. If this help
you, I attached them (source rpm and binary)
to:
$this->addCron($ct[0], $ct[1], $ct[2], $ct[3], $ct[4], $ct[5]);
Then type:
make install
Now copy some missing files from the source directory (where you
compiled) to the installation directory.
So, following this example paths:
Copy the file
/yoursourcedirectory/src/modules/htmlUI/var/ui_twitterCron.p hp to
/home/campcaster/var/Campcaster/htmlUI/var
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/twitte r to
/home/campcaster/var/Campcaster/htmlUI/var/templates
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/backup to
/home/campcaster/var/Campcaster/htmlUI/var/templates
Now go to your postgresql server and create a database named
"campcaster, and add a user "Campcaster" with a password "campcaster"
and assign with full privileges to the database "campcaster". You can do
this thorugh phpPgAdmin
Finnaly, go to your campcaster installed directory (/home/campcaster)
and type:
./bin/postInstallStation.sh --directory=/home/campcaster
--postgresql-dir=/var/lib/pgsql/data
and also type:
./bin/campcaster-scheduler.sh install
Now copy the file /bin/etc/campcaster-scheduler to /etc/init.d/
To start scheduling type:
/etc/init.d/campcaster-scheduler start
Sorry for this, But I don't know if this message was send to all suscribers because I not received. Following is the original message.
Hello to all.
I am an active sourcefabric follower, and I was contributing a little
with some bug reports of campsite.
In this case, I have compiled and installed succesfully Campcaster under
Centos 5.5 32bits. I was reading all the information and documentation I
found in the site, but there are some issues I can't understand.
I want to make an internet streaming radio. Both scheduled and live
broadcasting. I also contracted a VPS for this purpose. Campcaster is
currently running ok (1.4.0) with a minnor issues fixes for
postinstallation (I will post them below at the end).
So, the configuration is: in the Virtual Private Server i was
contracted, is running Scheduller and StorageServer with a lot of gb of
mp3 music already imported. At the other end, in my house, I have
Campcaster Studio running under ubuntu.
Well, the main dude I have is how campcaster scheduller streaming the
playback mp3 included under the playing playlists? When compiling
campcaster, it's need for GStreamer. So, What is the use of gstreammer
in campcaster? It is used for streamming (if this is the case, what is
the URL I will get the streammed music) or it is only used for convert
between formats (like oog - mp3)?
AFAIK campcaster not have streamming server. So what streamming server
you can advice? Darwing? Icecast? What is the URL I use to get the
output from campcaster to imput at the streamming server?
What is the mean of "Station URL" under Station Settings? this is only
informative, or this is the output streamming?
In the same options, "Scheduler startup script" I have configurated
/etc/init.d/campcaster-scheduler but when I select Scheduller->Status I
get "Scheduler startup script does not appear to be valid. Please check
the value you have set in "Preferences->System Settings". Scheduller is
currently running, but I don't know why I get this message.
The main idea for the radio, is streamming throught a web page using
campcaster as scheduller, but at some times I want to connect from my
home campcaster studio to scheduller to broadcast live shows, and after
that, resummin to the campcaster scheduller only.
Because the information is very hard to find, I can't found a real
answer to thi issue. (BTW: it is possible to fix all broken links in
sourcefabric dev, forums and wiki? Because is very very hard to follow a
thread or found somethings. A better one if you can replace the current
forum with a new that can publish threaded all the messages of the
lists, like mailman archive, ezmlm, mhonarc, etc).
To finish this long message I post all the steps I use to compiling and
install sucesfully campcaster in centos5.5 32 bits.
Firs of all you need to activate https, ntpd, and postgresql (I used 8.4.x)
The install the repositories epel, rpmforge and pgdg84 (this last if you
want postgresql 8.4) with yum plugin prioritize and configured too.
Then install all the php modules, like php-pgsql, etc. Also you want to
install phpPgAdmin to acces via web you postgresql server.
Then install all the require software as say in the campcaster
requirements software (look inside doc folder). Because we are
compiling, install all the software and the develpment packages
(followed by -devel), for instance: "yum install libtar libtar-devel".
Don't miss to install "yum install gstreamer gstreamer-devel
gstreamer-plugins-base gstreamer-plugins-base-devel
gstreamer-plugins-good gstreamer-plugins-good-devel gstreamer-tools"
Because the packages lcov and libserial are not under any repository,
you need to compile and install them befor you continue. If this help
you, I attached them (source rpm and binary)
to:
$this->addCron($ct[0], $ct[1], $ct[2], $ct[3], $ct[4], $ct[5]);
Then type:
make install
Now copy some missing files from the source directory (where you
compiled) to the installation directory.
So, following this example paths:
Copy the file
/yoursourcedirectory/src/modules/htmlUI/var/ui_twitterCron.p hp to
/home/campcaster/var/Campcaster/htmlUI/var
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/twitte r to
/home/campcaster/var/Campcaster/htmlUI/var/templates
Copy the directory
/yoursourcedirectory/src/modules/htmlUI/var/templates/backup to
/home/campcaster/var/Campcaster/htmlUI/var/templates
Now go to your postgresql server and create a database named
"campcaster, and add a user "Campcaster" with a password "campcaster"
and assign with full privileges to the database "campcaster". You can do
this thorugh phpPgAdmin
Finnaly, go to your campcaster installed directory (/home/campcaster)
and type:
./bin/postInstallStation.sh --directory=/home/campcaster
--postgresql-dir=/var/lib/pgsql/data
and also type:
./bin/campcaster-scheduler.sh install
Now copy the file /bin/etc/campcaster-scheduler to /etc/init.d/
To start scheduling type:
/etc/init.d/campcaster-scheduler start
Thanks so much for the instructions on how to compile on CentOS. Support for CentOS (and other RPM-based distributions) has been high on my wishlist for quite some time.
As for streaming, we've used DarkIce, which was developed by one of the first Campcaster developers, Akos Maroy. It's an Icecast client, and it works pretty well.
The Campcaster documentation is something we're planning on improving in the next few weeks. In our old wiki, there was a howto there on how to connect Campcaster to Darkice using Jack, but that must have gotten lost in the switch to the new system. I'll look into ways to retrieve that.
Regardless, thanks for the CentOS info. Would you happen to know how to make RPMs?
Douglas Arellanes Director of Innovation Sourcefabric, o.p.s.
Hi both - does this help? Towards the bottom of the page is some how-to hints on Darkice, perhaps taken from the wiki... http://cpr.iowafm.org/CC6.html
Thank you very much for your quick reply. I still a big problem I will
related at the bottom of this message.
Yes, I can make RPMs because I daily make RPMs :)
There are two ways to make RPM. The bad way is using the RPM like a zip
or tar packager including the already compiled and maked software (for
example, packaging /home/campcaster) and make a few scripts to create
automatically the db and starting scripts... Or the good way, making the
package as a real RPM package.
The first thing to do is remove from the campcaster source all the
3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
The idea is remove all the packages that not are part of the main
software. For example, the rpm taglib allready exist in centos
repositories, so there is no need to compile and install from the
sources. The main thing to get a secure server is using only rpm
packages and never compile software.
If we need and the rpm packages no exist from repositories, we can make
them as a separate packages required for main package campcaster. If you
want, I can help you making the rpms and cleaning the sctructure of
campcaster. Making rpms (and deb too) in the correct way, you will get a
simple to maintain and upgrade software. Tell me when you want to beging
and I will do it.
About the issues I have with the server, I tried to using jack as
describe the wiki and all is runnig ok, but I have a big problem,
because the server is a virtual private server contracted with a local
service providing. The main issue is that is virtualized with Xen, and I
can't (or I don't know how to do it) load modules for the kernel, such
as alsa dummy or the alsa virtual peripheral "jackplug". I am really
desesperated because I have 1 year of contract with the company and I
can't use campcaster scheduller without an audio card.
Exist a chance of modify the streaming code in campcaster to stream (at
least ugly) directly to darkice without need of alsa card? Can you help me?
Well, thank so much for thie superb software. I really like it and I
want to use in my VPS.
Normando
El 28/09/2010 05:10 a.m., Douglas Arellanes escribió:
> Hi Normando,
>
> Thanks so much for the instructions on how to compile on CentOS.
> Support for CentOS (and other RPM-based distributions) has been high
> on my wishlist for quite some time.
>
> As for streaming, we've used DarkIce, which was developed by one of
> the first Campcaster developers, Akos Maroy. It's an Icecast client,
> and it works pretty well.
>
> The Campcaster documentation is something we're planning on improving
> in the next few weeks. In our old wiki, there was a howto there on how
> to connect Campcaster to Darkice using Jack, but that must have gotten
> lost in the switch to the new system. I'll look into ways to retrieve
> that.
>
> Regardless, thanks for the CentOS info. Would you happen to know how
> to make RPMs?
>
>
Posts: 389Member, Administrator, Sourcefabric Team
Hi Normando -
We would love some help with RPMs for the upcoming 1.6 version. Around the
second half of November we could start using your help as around that time
we will have most of the development done for the release. Your help would
be much appreciated!
Paul Baranowski
Chief Technology Officer, Sourcefabric
> Hi Dounglas, Adam and Daniel
>
> Thank you very much for your quick reply. I still a big problem I will
> related at the bottom of this message.
>
> Yes, I can make RPMs because I daily make RPMs :)
>
> There are two ways to make RPM. The bad way is using the RPM like a zip
> or tar packager including the already compiled and maked software (for
> example, packaging /home/campcaster) and make a few scripts to create
> automatically the db and starting scripts... Or the good way, making the
> package as a real RPM package.
>
> The first thing to do is remove from the campcaster source all the
> 3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
> The idea is remove all the packages that not are part of the main
> software. For example, the rpm taglib allready exist in centos
> repositories, so there is no need to compile and install from the
> sources. The main thing to get a secure server is using only rpm
> packages and never compile software.
>
> If we need and the rpm packages no exist from repositories, we can make
> them as a separate packages required for main package campcaster. If you
> want, I can help you making the rpms and cleaning the sctructure of
> campcaster. Making rpms (and deb too) in the correct way, you will get a
> simple to maintain and upgrade software. Tell me when you want to beging
> and I will do it.
>
> About the issues I have with the server, I tried to using jack as
> describe the wiki and all is runnig ok, but I have a big problem,
> because the server is a virtual private server contracted with a local
> service providing. The main issue is that is virtualized with Xen, and I
> can't (or I don't know how to do it) load modules for the kernel, such
> as alsa dummy or the alsa virtual peripheral "jackplug". I am really
> desesperated because I have 1 year of contract with the company and I
> can't use campcaster scheduller without an audio card.
>
> Exist a chance of modify the streaming code in campcaster to stream (at
> least ugly) directly to darkice without need of alsa card? Can you help me?
>
> Well, thank so much for thie superb software. I really like it and I
> want to use in my VPS.
>
> Normando
>
> El 28/09/2010 05:10 a.m., Douglas Arellanes escribió:
>
> > Hi Normando,
> >
> > Thanks so much for the instructions on how to compile on CentOS.
> > Support for CentOS (and other RPM-based distributions) has been high
> > on my wishlist for quite some time.
> >
> > As for streaming, we've used DarkIce, which was developed by one of
> > the first Campcaster developers, Akos Maroy. It's an Icecast client,
> > and it works pretty well.
> >
> > The Campcaster documentation is something we're planning on improving
> > in the next few weeks. In our old wiki, there was a howto there on how
> > to connect Campcaster to Darkice using Jack, but that must have gotten
> > lost in the switch to the new system. I'll look into ways to retrieve
> > that.
> >
> > Regardless, thanks for the CentOS info. Would you happen to know how
> > to make RPMs?
> >
> >
>
>
>
>> The first thing to do is remove from the campcaster source all the
>> 3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
>> The idea is remove all the packages that not are part of the main
>> software. For example, the rpm taglib allready exist in centos
>> repositories, so there is no need to compile and install from the
>> sources. The main thing to get a secure server is using only rpm
>> packages and never compile software.
Note that some of these libs are patched by campcaster. and for others
campcaster (mostly studio) is not compatible with newer upstream versions.
the Debian packaging splits campcaster into:
campcaster-data # PHP & shared non-binary data
campcaster-libs # patched custom libs -> /usr/lib/campcaster
campcaster-station # the server-part & setup scripts
campcaster-studio # the Studio GUI
>
> >> The first thing to do is remove from the campcaster source all the
> >> 3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
> >> The idea is remove all the packages that not are part of the main
> >> software. For example, the rpm taglib allready exist in centos
> >> repositories, so there is no need to compile and install from the
> >> sources. The main thing to get a secure server is using only rpm
> >> packages and never compile software.
>
> Note that some of these libs are patched by campcaster. and for others
> campcaster (mostly studio) is not compatible with newer upstream versions.
>
> the Debian packaging splits campcaster into:
>
> campcaster-data # PHP & shared non-binary data
> campcaster-libs # patched custom libs -> /usr/lib/campcaster
> campcaster-station # the server-part & setup scripts
> campcaster-studio # the Studio GUI
>
> have a look at
> http://packages.64studio.com/backports/pool/main/c/campcaste r/< http://packages.64studio.com/backports/pool/main/c/campcaste r/>
>
>
>
On 10/13/10 14:31, Paul Baranowski wrote:
> Please note Robin is referring to the 1.4-beta version of Campcaster.
Normando does as well.
the 1.6 will not use any of taglib, libodbc++, xmlrpc++ anyway, does it?
>
> On Wed, Oct 13, 2010 at 2:30 PM, Robin Gareus <
> campcaster-support@lists.sourcefabric.org> wrote:
>
>>
>> >> The first thing to do is remove from the campcaster source all the
>> >> 3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
>> >> The idea is remove all the packages that not are part of the main
>> >> software. For example, the rpm taglib allready exist in centos
>> >> repositories, so there is no need to compile and install from the
>> >> sources. The main thing to get a secure server is using only rpm
>> >> packages and never compile software.
>>
>> Note that some of these libs are patched by campcaster. and for others
>> campcaster (mostly studio) is not compatible with newer upstream
>> versions.
>>
>> the Debian packaging splits campcaster into:
>>
>> campcaster-data # PHP & shared non-binary data
>> campcaster-libs # patched custom libs -> /usr/lib/campcaster
>> campcaster-station # the server-part & setup scripts
>> campcaster-studio # the Studio GUI
>>
>> have a look at
>> http://packages.64studio.com/backports/pool/main/c/campcaste r/<
>> http://packages.64studio.com/backports/pool/main/c/campcaste r/>
>>
>>
>
>
> On 10/13/10 14:31, Paul Baranowski wrote:
> > Please note Robin is referring to the 1.4-beta version of Campcaster.
>
> Normando does as well.
> the 1.6 will not use any of taglib, libodbc++, xmlrpc++ anyway, does it?
>
>
>
> >
> > On Wed, Oct 13, 2010 at 2:30 PM, Robin Gareus <
> > campcaster-support@lists.sourcefabric.org> wrote:
> >
> >>
> >> >> The first thing to do is remove from the campcaster source all the
> >> >> 3party packages, as taglib, pear, libodbc++, xmlrpc++ and so on.
> >> >> The idea is remove all the packages that not are part of the main
> >> >> software. For example, the rpm taglib allready exist in centos
> >> >> repositories, so there is no need to compile and install from the
> >> >> sources. The main thing to get a secure server is using only rpm
> >> >> packages and never compile software.
> >>
> >> Note that some of these libs are patched by campcaster. and for others
> >> campcaster (mostly studio) is not compatible with newer upstream
> >> versions.
> >>
> >> the Debian packaging splits campcaster into:
> >>
> >> campcaster-data # PHP & shared non-binary data
> >> campcaster-libs # patched custom libs -> /usr/lib/campcaster
> >> campcaster-station # the server-part & setup scripts
> >> campcaster-studio # the Studio GUI
> >>
> >> have a look at
> >> http://packages.64studio.com/backports/pool/main/c/campcaste r/<
> >> http://packages.64studio.com/backports/pool/main/c/campcaste r/>
> >>
> >>
> >
>
>
Thanks for all the explanation Robin. Anyway the next release no used this packages, and this is an excellent news.
Paul, I am very happy if I can help making the source and binary RPM packages.
Talking about Liquidsoap. Meanwhile 1.6 is out, I am using Liquidsoap only with .liq scripts to run my radio station in the virtual server. I am really impressed with the powerful of LS. You was made an excellent switch option Paul. I think campcaster will be a power LS interface plus their own functions, such as studio and web preview, etc. I think there is a good option to add to campcaster an script generator to allow custom workflows. Because LS can add external sources and live switching, CC studio can connect directly to remote LS to begin a live show.
For now I am learning all the power of LS to made powerful scripts. I hope this can help you.
Thanks for all the explanation Robin. Anyway the next release no used this packages, and this is an excellent news.
Paul, I am very happy if I can help making the source and binary RPM packages.
Talking about Liquidsoap. Meanwhile 1.6 is out, I am using Liquidsoap only with .liq scripts to run my radio station in the virtual server. I am really impressed with the powerful of LS. You was made an excellent switch option Paul. I think campcaster will be a power LS interface plus their own functions, such as studio and web preview, etc. I think there is a good option to add to campcaster an script generator to allow custom workflows. Because LS can add external sources and live switching, CC studio can connect directly to remote LS to begin a live show.
For now I am learning all the power of LS to made powerful scripts. I hope this can help you.