| View previous topic :: View next topic |
| Author |
Message |
bmccall17
Joined: 12 Oct 2008 Posts: 5
|
Posted: Sun Oct 12, 2008 7:30 pm Post subject: OS: Linux/Opensuse; using Ices and Icecast to broadcast LAN |
|
|
I only want to send the signal from my laptop to my Roku Soundbridge for music.
I am using ices.
My logfile reads this entry:
| Quote: |
[2008-10-12 15:13:36] INFO ices-core/main IceS 2.0.1 started...
[2008-10-12 15:13:36] INFO input-oss/oss_open_module Opened audio device /dev/dsp at 2 channel(s), 44100 Hz
[2008-10-12 15:13:36] INFO input-oss/oss_open_module Starting metadata update thread
[2008-10-12 15:13:36] INFO audio/downmix_initialise Enabling stereo->mono downmixing
[2008-10-12 15:13:36] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz
[2008-10-12 15:13:36] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s),22050 Hz, quality 0.000000
[2008-10-12 15:13:37] INFO signals/signal_usr1_handler Metadata update requested
[2008-10-12 15:13:37] DBUG metadata/metadata_thread_signal meta thread wakeup
[2008-10-12 15:13:37] WARN metadata/metadata_thread_signal Failed to open file "pandora" for metadata update: No such file or directory
[2008-10-12 15:13:37] INFO stream/ices_instance_stream Connected to server: 192.168.1.19:8000/schmactop-pandora.mp3 |
My icecast error.log reads:
| Quote: |
[2008-10-12 15:27:34] DBUG slave/_slave_thread checking master stream list
[2008-10-12 15:27:37] DBUG stats/modify_node_event update node total_bytes_read (1506906) |
And the access.log reads:
| Quote: |
| 192.168.1.9 - - [12/Oct/2008:15:28:36 -0400] "GET /schmactop-pandora.mp3 HTTP/1.0" 200 265584 "-" "Roku SoundBridge/3.0" 109 |
My mac appears to pick up the signal, but there is no sound that comes through.
the Roku attempts to connect but does not.
Please help me diagnose what I am missing...
bam
ps. I would love to figure out the video broadcast next... anyone had success with sending a DVR stream over the net? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Oct 12, 2008 7:36 pm Post subject: |
|
|
The most obvious thing that shows is that you are using ices2 which is a ogg vorbis source client and you've named the mountpoint with a .mp3 extension. That extension could be tricking the listening player into think the stream content is MP3 which it isn't
karl. |
|
| Back to top |
|
 |
bmccall17
Joined: 12 Oct 2008 Posts: 5
|
Posted: Sun Oct 12, 2008 11:15 pm Post subject: |
|
|
Ok, that makes sense.
I did change the extention to .mp3, only because I expected the stream needed to be mp3 for the soundbridge.
I will try it as an .ogg, but think it may not work.
thanks Karl.
bam
| karlH wrote: |
The most obvious thing that shows is that you are using ices2 which is a ogg vorbis source client and you've named the mountpoint with a .mp3 extension. That extension could be tricking the listening player into think the stream content is MP3 which it isn't
karl. |
|
|
| Back to top |
|
 |
bmccall17
Joined: 12 Oct 2008 Posts: 5
|
Posted: Sun Oct 12, 2008 11:34 pm Post subject: |
|
|
still no success.
ices.log:
| Quote: |
[2008-10-12 19:23:09] WARN metadata/metadata_thread_signal Failed to open file "test" for metadata update: No such file or directory
[2008-10-12 19:23:09] INFO stream/ices_instance_stream Connected to server: 192.168.1.19:8000/schmactop-pandora.ogg
[2008-10-12 19:23:25] INFO signals/signal_int_handler Shutdown requested...
[2008-10-12 19:23:25] INFO input/input_loop All instances removed, shutting down...
[2008-10-12 19:23:25] INFO metadata/metadata_thread_signal metadata thread shutting down
[2008-10-12 19:23:26] INFO ices-core/main Shutdown complete
[2008-10-12 19:31:36] INFO ices-core/main IceS 2.0.1 started...
[2008-10-12 19:31:36] INFO input-alsa/alsa_open_module Opened audio device hw:0,0
[2008-10-12 19:31:36] INFO input-alsa/alsa_open_module using 2 channel(s), 44100 Hz, buffer 371 ms
[2008-10-12 19:31:36] INFO input-alsa/alsa_open_module Starting metadata update thread
[2008-10-12 19:31:36] INFO audio/downmix_initialise Enabling stereo->mono downmixing
[2008-10-12 19:31:36] INFO audio/resample_initialise Initialised resampler for 1 channels, from 44100 Hz to 22050 Hz
[2008-10-12 19:31:36] INFO encode/encode_initialise Encoder initialising in VBR mode: 1 channel(s),22050 Hz, quality 0.000000
[2008-10-12 19:31:36] INFO signals/signal_usr1_handler Metadata update requested
[2008-10-12 19:31:36] WARN metadata/metadata_thread_signal Failed to open file "test" for metadata update: No such file or directory
[2008-10-12 19:31:36] INFO stream/ices_instance_stream Connected to server: 192.168.1.19:8000/schmactop-pandora.ogg |
icecast access.log
| Quote: |
192.168.1.9 - - [12/Oct/2008:19:33:18 -0400] "GET /schmactop-pandora.ogg HTTP/1.0" 200 24763 "-" "Roku SoundBridge/3.0" 1
192.168.1.9 - - [12/Oct/2008:19:33:19 -0400] "GET /schmactop-pandora.ogg HTTP/1.0" 200 8393 "-" "Roku SoundBridge/3.0" 1
192.168.1.9 - - [12/Oct/2008:19:33:21 -0400] "GET /schmactop-pandora.ogg HTTP/1.0" 200 25082 "-" "Roku SoundBridge/3.0" 1
192.168.1.9 - - [12/Oct/2008:19:33:22 -0400] "GET /schmactop-pandora.ogg HTTP/1.0" 200 8393 "-" "Roku SoundBridge/3.0" 1 |
icecast error.log
| Quote: |
[2008-10-12 19:34:21] DBUG auth/add_authenticated_client client authenticated, passed to source
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node clients (2)
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node connections (788)
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node total_bytes_read (292430)
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node total_bytes_sent (1866093)
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node client_connections (785)
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node listener_connections (128)
[2008-10-12 19:34:21] DBUG source/source_main Client added
[2008-10-12 19:34:21] INFO source/source_main listener count on /schmactop-pandora.ogg now 1
[2008-10-12 19:34:21] DBUG stats/modify_node_event update node listeners (1)
[2008-10-12 19:34:21] DBUG format/format_check_http_buffer processing pending client headers
[2008-10-12 19:34:22] DBUG auth/add_client_to_source max on /schmactop-pandora.ogg is -1 (cur 1)
[2008-10-12 19:34:22] DBUG auth/add_client_to_source Added client to /schmactop-pandora.ogg
[2008-10-12 19:34:22] DBUG auth/add_authenticated_client client authenticated, passed to source
[2008-10-12 19:34:22] DBUG stats/modify_node_event update node clients (3)
[2008-10-12 19:34:22] DBUG stats/modify_node_event update node connections (789)
[2008-10-12 19:34:22] DBUG stats/modify_node_event update node client_connections (786)
[2008-10-12 19:34:22] DBUG stats/modify_node_event update node listener_connections (129)
[2008-10-12 19:34:22] DBUG client/client_send_bytes Client connection died
[2008-10-12 19:34:22] DBUG source/source_main Client removed
[2008-10-12 19:34:22] DBUG source/source_main Client added
[2008-10-12 19:34:23] DBUG format/format_check_http_buffer processing pending client headers
[2008-10-12 19:34:23] DBUG stats/modify_node_event update node clients (2) |
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 13, 2008 12:09 am Post subject: |
|
|
so the player connects, gets some content then terminates the link. I can't say why the player closed the connection as I'm not familiar with it. Can it handle ogg vorbis?
karl. |
|
| Back to top |
|
 |
bmccall17
Joined: 12 Oct 2008 Posts: 5
|
Posted: Mon Oct 13, 2008 1:39 am Post subject: |
|
|
I have never attempted oggVorbis.. but I doubt it.
I am going to try using shoutcast.
Unless you have a suggestion for a simpler mp3 service.
| karlH wrote: |
so the player connects, gets some content then terminates the link. I can't say why the player closed the connection as I'm not familiar with it. Can it handle ogg vorbis?
karl. |
|
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Oct 13, 2008 1:58 am Post subject: |
|
|
shoutcast doesn't handle ogg vorbis, whereas icecast handles it and other formats like mp3. No one is forcing you to use ogg vorbis but if you want to stream in mp3 then you'll have to use a different source client to ices 2.
karl. |
|
| Back to top |
|
 |
bmccall17
Joined: 12 Oct 2008 Posts: 5
|
Posted: Tue Oct 14, 2008 11:27 am Post subject: |
|
|
| karlH wrote: |
shoutcast doesn't handle ogg vorbis, whereas icecast handles it and other formats like mp3. No one is forcing you to use ogg vorbis but if you want to stream in mp3 then you'll have to use a different source client to ices 2.
karl. |
Ok, two questions:
1) What does the client require in order to listen to an OggVorbis stream? Anything special? The reason I ask is, again, I dont think the Roku is set up to recieve anything but an m3u playlist.
2) I tried using Muse and was not successful either.
I think the simplest solution is going to mp3.
what is the simplest setup to get my linux machine to broadcast the sound that is being played on its speakers?
bam  |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Tue Oct 14, 2008 3:44 pm Post subject: |
|
|
First thing of note, an m3u playlist says nothing about the format of the stream, it's just the format of the playlist. The client could understand an m3u and still not understand the format.
I don't know the Roku to know whether it can play ogg vorbis, you can always test the stream with something that can like vlc or winamp. Some players like wmp need plugins to play ogg vorbis but you have to consult the people why maintain the Roku to find out if ogg vorbis is possible with it.
I can't comment much on live mp3 encoding on linux as there is limited support for that. liveice can capture from dsp and encode but you'll have to sort that yourself because of licensing concerns, I think darkice can be used as well.
karl. |
|
| Back to top |
|
 |
|