MPD HTTP Streaming - IceCast or Built-in?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

MPD HTTP Streaming - IceCast or Built-in?

Postby grayman4hire » Wed Oct 03, 2012 7:32 pm

Hello,

I've been playing with MPD and MPod (iPhone MPD Client).

What's the consensus on http streaming with MPD? Should I be using the built in version or Icecast? Advantages/Disadvantages?

Is the PogoPlug V2 (E02) powerful enough to provide a decent quality http stream?

Thanks
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby WarheadsSE » Wed Oct 03, 2012 8:08 pm

As long as it is not re-converting/coding, it should stream the file fine.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby grayman4hire » Wed Oct 03, 2012 11:31 pm

Thanks for the reply.

Not encoding would make sense (considering my music collection is in mp3 format).

Any thoughts on icecast versus built in mpd httpd streaming? Ideally I would rather just use the built in mpd streaming if not encoding is an option.

What should my mpd.conf file look like? Currently it looks like the following which is causing my pogoplug cpu to spike to 98% and the music is jittering. Wondering if I have a different issue going on here (some sort of config issue or bug).

Thanks for any help.

$this->bbcode_second_pass_code('', '
audio_output {
type "httpd"
name "My HTTP Stream"
encoder "wave"
port "8000"
bitrate "128"
encoding "mp3"
format "44100:16:2"
}
')
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby WarheadsSE » Thu Dec 06, 2012 4:02 am

I looked into this tonight, and the problem that I am seeing at this point is the re-encoding is causing the spikes. We need to find a way to get a fixed-point encoder into place for MPD to use.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby WarheadsSE » Thu Dec 06, 2012 4:19 am

Change the encoding to "flac" and use a player that understands it, if possible :) < 15% cpu usage on the plug with a Windows VLC client streaming http://myPlugIP:8000/mpd.flac
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby grayman4hire » Tue Dec 11, 2012 2:03 am

$this->bbcode_second_pass_quote('WarheadsSE', 'C')hange the encoding to "flac" and use a player that understands it, if possible :) < 15% cpu usage on the plug with a Windows VLC client streaming http://myPlugIP:8000/mpd.flac


Thank you for getting back to me on this. I'm using MPoD (iPhone) and it looks like it will support flac -http://www.katoemba.net/makesnosenseatall/mpod/

Will test it and post back the results.
grayman4hire
 
Posts: 350
Joined: Sat Sep 29, 2012 12:03 am
Location: SF, CA

Re: MPD HTTP Streaming - IceCast or Built-in?

Postby WarheadsSE » Tue Dec 11, 2012 3:27 am

I've begun a small side project to attempt to get Shine fixed-point MP3 encoder ... but I've hit some snags to say the least :)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Re: MPD HTTP Streaming - IceCast or Built-in?

Postby brittlee » Thu Dec 13, 2012 6:53 am

Thanks! I thought that something like that might work, but I didn't want to spend a lot of time debugging it if it wasn't likely to work anyway. I'll give it a try.
brittlee
 
Posts: 1
Joined: Thu Dec 13, 2012 6:52 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 4 guests