Icecast intro file
Running Icecast 2.4.99.2 on Ubuntu 16.04 just file and would like to add an intro file. With a working source mounted from Darkice default audio card input, when I add the <intro>
tag to the Icecast configuration file for the mount, it plays but nothing follows.
<mount>
<mount-name>/archive</mount-name>
<max-listeners>5</max-listeners>
<fallback-mount>/high_quality.mp3</fallback-mount>
<intro>/high_quality.mp3</intro>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
</mount>
File permissions for mp3 file:
user@stream:~/StationIDs$ sudo ls -lah /usr/share/icecast2/web/high_quality.mp3
-rwxr--r-- 1 root root 138K Nov 14 17:20 /usr/share/icecast2/web/high_quality.mp3
I have read the format needs to match, so I have darckice.cfg using 128kps bitrate using lame
to encode from wav
format.
user@stream:~/StationIDs$ mediainfo high_quality.mp3
General
Complete name : high_quality.mp3
Format : MPEG Audio
File size : 138 KiB
Duration : 8s 777ms
Overall bit rate mode : Constant
Overall bit rate : 128 Kbps
Writing library : LAME3.99r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Duration : 8s 803ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 137 KiB (100%)
Writing library : LAME3.99r
Encoding settings : -m m -V 4 -q 3 -lowpass 20.5 -b 128
And from darkice.cfg...
[icecast2-1]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 0.9
server = localhost
mountPoint = archive
port = 8000
password = changeme
name = Archiver Stream
description = Dedicated archiving stream
url = archive
genre = Eclectic
public = no
With this config, the intro file plays okay with nothing else and the source stream plays without an intro file. Have a missed something?
icecast internet-radio
add a comment |
Running Icecast 2.4.99.2 on Ubuntu 16.04 just file and would like to add an intro file. With a working source mounted from Darkice default audio card input, when I add the <intro>
tag to the Icecast configuration file for the mount, it plays but nothing follows.
<mount>
<mount-name>/archive</mount-name>
<max-listeners>5</max-listeners>
<fallback-mount>/high_quality.mp3</fallback-mount>
<intro>/high_quality.mp3</intro>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
</mount>
File permissions for mp3 file:
user@stream:~/StationIDs$ sudo ls -lah /usr/share/icecast2/web/high_quality.mp3
-rwxr--r-- 1 root root 138K Nov 14 17:20 /usr/share/icecast2/web/high_quality.mp3
I have read the format needs to match, so I have darckice.cfg using 128kps bitrate using lame
to encode from wav
format.
user@stream:~/StationIDs$ mediainfo high_quality.mp3
General
Complete name : high_quality.mp3
Format : MPEG Audio
File size : 138 KiB
Duration : 8s 777ms
Overall bit rate mode : Constant
Overall bit rate : 128 Kbps
Writing library : LAME3.99r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Duration : 8s 803ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 137 KiB (100%)
Writing library : LAME3.99r
Encoding settings : -m m -V 4 -q 3 -lowpass 20.5 -b 128
And from darkice.cfg...
[icecast2-1]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 0.9
server = localhost
mountPoint = archive
port = 8000
password = changeme
name = Archiver Stream
description = Dedicated archiving stream
url = archive
genre = Eclectic
public = no
With this config, the intro file plays okay with nothing else and the source stream plays without an intro file. Have a missed something?
icecast internet-radio
1
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04
add a comment |
Running Icecast 2.4.99.2 on Ubuntu 16.04 just file and would like to add an intro file. With a working source mounted from Darkice default audio card input, when I add the <intro>
tag to the Icecast configuration file for the mount, it plays but nothing follows.
<mount>
<mount-name>/archive</mount-name>
<max-listeners>5</max-listeners>
<fallback-mount>/high_quality.mp3</fallback-mount>
<intro>/high_quality.mp3</intro>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
</mount>
File permissions for mp3 file:
user@stream:~/StationIDs$ sudo ls -lah /usr/share/icecast2/web/high_quality.mp3
-rwxr--r-- 1 root root 138K Nov 14 17:20 /usr/share/icecast2/web/high_quality.mp3
I have read the format needs to match, so I have darckice.cfg using 128kps bitrate using lame
to encode from wav
format.
user@stream:~/StationIDs$ mediainfo high_quality.mp3
General
Complete name : high_quality.mp3
Format : MPEG Audio
File size : 138 KiB
Duration : 8s 777ms
Overall bit rate mode : Constant
Overall bit rate : 128 Kbps
Writing library : LAME3.99r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Duration : 8s 803ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 137 KiB (100%)
Writing library : LAME3.99r
Encoding settings : -m m -V 4 -q 3 -lowpass 20.5 -b 128
And from darkice.cfg...
[icecast2-1]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 0.9
server = localhost
mountPoint = archive
port = 8000
password = changeme
name = Archiver Stream
description = Dedicated archiving stream
url = archive
genre = Eclectic
public = no
With this config, the intro file plays okay with nothing else and the source stream plays without an intro file. Have a missed something?
icecast internet-radio
Running Icecast 2.4.99.2 on Ubuntu 16.04 just file and would like to add an intro file. With a working source mounted from Darkice default audio card input, when I add the <intro>
tag to the Icecast configuration file for the mount, it plays but nothing follows.
<mount>
<mount-name>/archive</mount-name>
<max-listeners>5</max-listeners>
<fallback-mount>/high_quality.mp3</fallback-mount>
<intro>/high_quality.mp3</intro>
<fallback-override>1</fallback-override>
<hidden>0</hidden>
</mount>
File permissions for mp3 file:
user@stream:~/StationIDs$ sudo ls -lah /usr/share/icecast2/web/high_quality.mp3
-rwxr--r-- 1 root root 138K Nov 14 17:20 /usr/share/icecast2/web/high_quality.mp3
I have read the format needs to match, so I have darckice.cfg using 128kps bitrate using lame
to encode from wav
format.
user@stream:~/StationIDs$ mediainfo high_quality.mp3
General
Complete name : high_quality.mp3
Format : MPEG Audio
File size : 138 KiB
Duration : 8s 777ms
Overall bit rate mode : Constant
Overall bit rate : 128 Kbps
Writing library : LAME3.99r
Audio
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Duration : 8s 803ms
Bit rate mode : Constant
Bit rate : 128 Kbps
Channel(s) : 1 channel
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 137 KiB (100%)
Writing library : LAME3.99r
Encoding settings : -m m -V 4 -q 3 -lowpass 20.5 -b 128
And from darkice.cfg...
[icecast2-1]
format = mp3
bitrateMode = cbr
bitrate = 128
quality = 0.9
server = localhost
mountPoint = archive
port = 8000
password = changeme
name = Archiver Stream
description = Dedicated archiving stream
url = archive
genre = Eclectic
public = no
With this config, the intro file plays okay with nothing else and the source stream plays without an intro file. Have a missed something?
icecast internet-radio
icecast internet-radio
edited Dec 14 '18 at 16:14
Brad
117k28237398
117k28237398
asked Nov 15 '18 at 19:14
rwfitzyrwfitzy
83113
83113
1
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04
add a comment |
1
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04
1
1
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04
add a comment |
1 Answer
1
active
oldest
votes
Well, of course, I answered my own question after writing this and resolved. I spotted the 1 channel in the file format. I had to use sox
to convert the original wav
file to 2 channel, then use lame again to convert to mp3
...
user@stream:~/StationIDs$ sox high_quality.wav -c 2 high_quality-2.wav
user@stream:~/StationIDs$ lame -b 128 -F high_quality-2.wav high_quality.mp3
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326462%2ficecast-intro-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Well, of course, I answered my own question after writing this and resolved. I spotted the 1 channel in the file format. I had to use sox
to convert the original wav
file to 2 channel, then use lame again to convert to mp3
...
user@stream:~/StationIDs$ sox high_quality.wav -c 2 high_quality-2.wav
user@stream:~/StationIDs$ lame -b 128 -F high_quality-2.wav high_quality.mp3
add a comment |
Well, of course, I answered my own question after writing this and resolved. I spotted the 1 channel in the file format. I had to use sox
to convert the original wav
file to 2 channel, then use lame again to convert to mp3
...
user@stream:~/StationIDs$ sox high_quality.wav -c 2 high_quality-2.wav
user@stream:~/StationIDs$ lame -b 128 -F high_quality-2.wav high_quality.mp3
add a comment |
Well, of course, I answered my own question after writing this and resolved. I spotted the 1 channel in the file format. I had to use sox
to convert the original wav
file to 2 channel, then use lame again to convert to mp3
...
user@stream:~/StationIDs$ sox high_quality.wav -c 2 high_quality-2.wav
user@stream:~/StationIDs$ lame -b 128 -F high_quality-2.wav high_quality.mp3
Well, of course, I answered my own question after writing this and resolved. I spotted the 1 channel in the file format. I had to use sox
to convert the original wav
file to 2 channel, then use lame again to convert to mp3
...
user@stream:~/StationIDs$ sox high_quality.wav -c 2 high_quality-2.wav
user@stream:~/StationIDs$ lame -b 128 -F high_quality-2.wav high_quality.mp3
answered Nov 15 '18 at 19:48
rwfitzyrwfitzy
83113
83113
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53326462%2ficecast-intro-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Please note that 2.4.99.2 is the technical designation of 2.5 Beta 2 It is not recommended for production use.
– TBR
Nov 19 '18 at 19:18
Thanks for pointing that out. Very strange that is the version Icecast reports, but Ubuntu repository reports 2.4.2-1. With another problem I'm gonna have to remind myself how I got 2.4.99 on the server setup months ago and remove to replace with the 2.4.2: serverfault.com/questions/940750/…
– rwfitzy
Nov 19 '18 at 20:04