Streaming media

From Wildsong
Revision as of 19:40, 8 April 2015 by Brian Wilson (talk | contribs)
Jump to navigationJump to search

2015 update

[[Image:red_squeezebox.jpg|left]|Logitech Squeezebox Radio] We use a Logitech Squeezebox Radio media streamer. We love it. Too bad they discontinued it. It works like a really nice clock radio, but it never gets static. :-) It can connect via wired network but we have it on WiFi.

We also have a Grandstream GXV3240 voip phone that I can use as a media playback device. The phone is next to my bed right now. It's on WiFi too.

I installed a copy of the squeezeboxserver package on my Debian server Bellman. Bellman has all our music stored on it. I can now play music that is on the server or stream radio stations from the Internet, and I can use the Squeezebox, the phone, computers and Android devices as players.

Android player

I can install Squeezeplayer (Steven Hansel Solutions, $4.99) from the Android store onto the phone. Then it becomes a media player. Note it's now just a player, with Squeezeplayer there are no controls. However to start music playing I can go to the web page generated by squeezeboxserver and the phone(s) running Squeezeplayer appears now in the list of players. I think this is pretty neat.

Control via web page

Squeezebox Server has a web page that lets you control any player on your network. From my network I use this link: http://bellman:9000/ (You can't see it from the Internet, sorry.) This means you can use the browser itself to play media on the computer, or you can tell it to send media to either the Squeezebox Radio or the Android phone.

Next up I need to get one of my Raspberry Pi's running as a player. Not today. Other stuff to do.

Squeezebox Controller for Android

On my Android smartphone (a Galxy Nexus), I installed the free Logitech Squeezebox Controller. (I have read that Orange Squeeze is a good controller but it's $4.99 and I can't preview it, so I am trying the Logitech app first.)

Sure enough, it works. The display in the Logitech app is very close to what I get on the Logitech device itself. So now I can use my smartphone as a controller for both the GXV3240 and the Logitech. Handy.

Other notes

The rest of this page contains notes when I was trying to figure out how to stream media to a defunct player. Can't even remember its name anymore. I ended up getting rid of it when we moved back to California.

Source clients

Source clients read music from someplace and send it to the streamer. "Someplace" can be an Internet radio station, a live audio feed, or music files.

ices2 from Ubuntu repository. Supports only OGG format (so it's useless).

icegenerator - (built from source) streams to icecast, can handle mp3

muse

Streamer

The streamer waits for connections from a client and when it gets one, sends audio from the source to the client.

Cidero does streaming of Internet radio stations

gmediaserver GNU Project 2007 "this project is looking for a new maintainer" oh oh but it IS in the Ubuntu repository

icecast2 from Ubuntu repository -- easy to install and set up.

mediatomb

slimp3 from Ubuntu repository -- mp3 only. Supports icecast format so any icecast source client that can do mp3 should also work with slimp3

slimserver you can add the slimserver repository and then install the Debian version of slimserver which supports many more formats.

Slimserver is designed to do what I want for the Audrey goes -- you browse your music collection and select what you want it to play.

Logitech Squeezebox Server The newest version of Slimserver. Does not play well with Ubuntu! It is too old.

ushare

Video

Most of these can also stream audio formats.

Darwin

Geekast is an alternative GNOME interface for peercast.

JW FLV Player is an easy and flexible way to add video and audio to your website. It supports playback of any format the Adobe Flash Player can handle (FLV, MP4, MP3, AAC, JPG, PNG and GIF). It also supports RTMP, HTTP and live streaming, various playlists and captioning formats,

mpeg4ip-server End-to-end system to explore streaming multimedia; not in active development, last release was 9/28/2007. The mpeg4ip player supports the following :

File formats: avi, mp4, limited .mov, .mpg (transport and program streams), .wav, raw aac, raw mp3, raw mp4v, raw H.264

Video codecs: mpeg-4 (xvid, xvid-1.0, ISO reference), mpeg1/2 (libmpeg3, mpeg2dec), H.261, YUV (i420 raw) Through ffmpeg: h.263, Sorenson, some MJPEG, simple H.264

Audio Codecs: aac, mp3, celp, ac3 (with separate download), raw PCM Through ffmpeg: AMR NB, AMR WB, G.711 alaw and ulaw

Streaming capability: RTSP, SDP, RTP (rfc 1890 for raw audio, 2250 for mpeg1/2 audio and video, 3016 for mpeg4 video, 3119 for mp3, 3640 for aac/celp audio, 3267 for AMR octet-aligned only), mpeg2 transport streams (mpeg2 video, mp3 and ac3 audio), both multicast and streaming.

peercast - P2P audio and video streaming servent PeerCast is a P2P streaming server. It can stream music and video from a broad variety of formats.

vlc is the VideoLAN project's media player. It plays MPEG, MPEG2, MPEG4, DivX, MOV, WMV, QuickTime, mp3, Ogg/Vorbis files, DVDs, VCDs, and multimedia streams from various network sources.

VLC can also be used as a streaming server that duplicates the stream it reads and multicasts them through the network to other clients, or serves them through HTTP.

Utilities

mpeg4ip-utils - end-to-end system to explore streaming multimedia This package contains various utilities :

  • mp4info - display information about tracks in mp4 file
  • mp4dump - dumps contents from mp4 files
  • mp4trackdump - dumps track information
  • mp4tags - sets iTunes tag information
  • mp4art - extract iTunes cover art
  • mp4videoinfo - dump information about video tracks in mp4 files