I have a sound problem with Campcaster, if you can help me with this I would be
quite happy...
On a relative new and usual desktop PC (with an AMD Athlon 64 Processor 3500+) I
installed Ubuntu 7.04 (x86, Standard Edition for Desktop PC). After that I did
everything as described in the "Cheat Sheet" (Link: http://code.campware.org/projects/campcaster/wiki/CheatSheet) and installed
Campcaster via apt-get, except the Campcaster Studio-package which is not
needed in the environment. The scheduler output is assigned to hw0,0 , which is
the onboard sound card:
sudo cat /proc/asound/cards
0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx
HDA VIA VT82xx at 0xfbffc000 irq 26
But every time the scheduler plays scheduled programs the sound starts and stops
(and then starts and stops again and so on and so on) approximately every half
second. The scheduler stops the play-out after the original length of the
files, but because of the stuttering the file is stretched and has not ended.
This only happens with Campcaster, the other sound applications (e.g. Movie
Player) work fine. On a previous installation (which was very like or maybe
even the same as the one described above) I had the same problem and got an
error warning in the terminal:
ALSA lib pcm_dmix.c:864:(snd_pcm_dmix_open) unable to open slave
As a linux and ubuntu newbie I have no idea what to do, the hole audio
administration seems to be very complicated when you're coming from a Mac OS X
background. By the way, I have three more question about with Campcaster I also
would like to solve:
bash: syntax error near unexpected token `newline'
III. When trying to import audio files through Campcaster Web I got at some
MP3-files the error warning "unable to determine file format" and can't import
them. Is there something wrong with the files? I created them with
Audacity/LAME or with the MP3-export-option from Pro Tools. With other apps
they work fine, also on other PCs.
Thank you for reading. And if you do: Thanks even more for answering.
Regards,
Martin
P.S: I'm evaluating Campcaster for a free and non-commerical radio station here
in Hamburg, Germany and even it's not regulary running by now it's seems very
interessting for us to be our first automation solution (for our morning
programm so everybody can hopefully sleep longer soon...).
martin.t@fsk-hh.org wrote:
> needed in the environment. The scheduler output is assigned to hw0,0 , which is
> the onboard sound card:
> ...
> But every time the scheduler plays scheduled programs the sound starts and stops
> (and then starts and stops again and so on and so on) approximately every half
> second. The scheduler stops the play-out after the original length of the
I think this is a bug in the old version of the Gstreamer library that
we are using for sound playback. We are currently working on upgrading
to a newer version, but it may take some time yet.
In the meantime, a workaround that often works is to use either
"default", or the OSS device name "/dev/dsp" instead of "hw:0,0". (The
2nd, 3rd etc sound card is "/dev/dsp1", "/dev/dsp2" etc).
Sorry, the manual got a bit ahead of reality here. This feature is
planned, but it does not exist yet.
> II. I wasn't able to use the script for mass importing of audio files. Is there
> something wrong in my command?
>
> sast@sast:~$ sudo /opt/campcaster/bin/import.sh --directory
>
Yes. That was the command in the old version; in the newest version
1.2.1 which I hope you are using, the command is
Note that you do not need the < and > characters. The Cheat Sheet was a
bit confusing about this; I have updated it.
> III. When trying to import audio files through Campcaster Web I got at some
> MP3-files the error warning "unable to determine file format" and can't import
> them. Is there something wrong with the files? I created them with
Can you send us one of these files? Then we could try to figure out
what's wrong.
thanks for your quick answer, mine took a bit longer...
The scheduler output is now doing nice and the script is also running well on
our machine. Here's one of the MP3-files I couldn't import because campcaster
is "unable to determine file format".
----- Nachricht von fgerlits@gmail.com ---------
Datum: Tue, 23 Oct 2007 19:15:21 +0200
Von: Ferenc Gerlits
Antwort an: Support mailing list for the Campcaster software project
Betreff: Re: [campcaster-support] Stuttering sound device and a few more
questions
An: Support mailing list for the Campcaster software project
> Hi Martin,
>
> martin.t@fsk-hh.org wrote:
>> needed in the environment. The scheduler output is assigned to hw0,0
>> , which is
>> the onboard sound card:
>> ...
>> But every time the scheduler plays scheduled programs the sound
>> starts and stops
>> (and then starts and stops again and so on and so on) approximately
>> every half
>> second. The scheduler stops the play-out after the original length of the
>
> I think this is a bug in the old version of the Gstreamer library
> that we are using for sound playback. We are currently working on
> upgrading to a newer version, but it may take some time yet.
>
> In the meantime, a workaround that often works is to use either
> "default", or the OSS device name "/dev/dsp" instead of "hw:0,0".
> (The 2nd, 3rd etc sound card is "/dev/dsp1", "/dev/dsp2" etc).
>
>
>> I. Shouldn't there be a drop-down menu for adding audio stream files when
>> accessing Campcaster Web? I read that in the manual (Link:
>> http://code.campware.org/manuals/campcaster/1.1/index.php?id=21) but
>> can't see
>
> Sorry, the manual got a bit ahead of reality here. This feature is
> planned, but it does not exist yet.
>
>
>> II. I wasn't able to use the script for mass importing of audio
>> files. Is there
>> something wrong in my command?
>>
>> sast@sast:~$ sudo /opt/campcaster/bin/import.sh --directory
>>
>
> Yes. That was the command in the old version; in the newest version
> 1.2.1 which I hope you are using, the command is
>
> sudo /opt/campcaster/bin/campcaster-import /path/to/Musik
>
> Note that you do not need the < and > characters. The Cheat Sheet
> was a bit confusing about this; I have updated it.
>
>
>> III. When trying to import audio files through Campcaster Web I got at some
>> MP3-files the error warning "unable to determine file format" and
>> can't import
>> them. Is there something wrong with the files? I created them with
>
> Can you send us one of these files? Then we could try to figure out
> what's wrong.
>
> Thanks,
> Ferenc
>
>