Streaming AAC internet radio station (6.0.3.4)

General discussion about the media server. Feature requests. Hints, tips and tricks.
Locked
harrysun
Posts:6
Joined:Sun Feb 01, 2009 7:35 pm
AV Hardware:QNAP TS-109 II Pro with Debian 5.0 "lenny" (Linux qnap 2.6.26-1-orion5x #1 Sun Jan 11 17:19:11 UTC 2009 armv5tel GNU/Linux)
Streaming AAC internet radio station (6.0.3.4)

Post by harrysun » Mon Aug 01, 2011 1:17 pm

Equipment:
T+A E-Series Music Player (Controler: V1.50, Decoder: V63, Client: 2009-11-17 2.1.13.10156)
Twonky Media Server 6.0.34 (twonkymedia-armel-glibc-2.2.5-6.0.34.zip)

First, the setup is working fine with M4A (AAC) and FLAC local files indexed by Twonky Server. Also M3U play lists with internet radio stations that stream MP3 is working fine.

I would like to setup Twonky Server for http://www.radioparadise.com/musiclinks/rp_128aac.m3u which is an ACC 128k stream (see http://www.radioparadise.com/content.php?name=Listen).

Using the Twonky's HTML (http://twinkyserver:9000/webbrowse) browser the play list entries for Radio Paradise 128k ACC stream are with the extension ".mp3" but they are not. The Flash edition does not work either.

My T+A E-Series Music Player says here "invalid data format" too.

How can I add support for ACC internet streaming to my Twonky Server?

Thanks in advice for your time and support,
Raphael

User avatar
parnott
Posts:326
Joined:Mon Sep 20, 2010 9:55 pm
AV Hardware:Twonky, WDTV Live, XBMC (Linux & Windows)

Re: Streaming AAC internet radio station (6.0.3.4)

Post by parnott » Mon Aug 01, 2011 6:43 pm

Firstly I cannot completely explain what you are seeing. But here is the results of an experiment I tried.

1) Downloaded the m3u playlist files http://www.radioparadise.com/musiclinks/rp_128.m3u (mp3 playlist) and http://www.radioparadise.com/musiclinks/rp_128aac.m3u (AAC playlist).
2) Copied these files into my Twonky media library and rebuilt the media library.
3) Both playlists appear in the Twonky PC Media Browser view exactly the same as they are in the m3u files. (I.E. no .mp3 extension)
4) Tried playing the mp3 playlist on my mediaplayer (which is not the same as yours) and it worked. Tried playing the AAC playlist and it did not work, though pretty much as expected because my player cannot stream AAC.
5) Used Intel UPNP AV Media Controller tool to inspect the meta-data that Twonky is sending. For both playlists Twonky is indicating that the streams are audio/mpeg. But of course the AAC streams are not.

Did a bit of thinking and have come to this hypothesis-
1) The URLs in these playlists do not have file extension hints.
2) Without file extension hints Twonky just assumes the stream is audio/mpeg. Not a lot else Twonky can do. It is not practical during the media scanning process to try and open and scan these online streams to determine the real media type.
3) Your media player is getting confused when told the stream is audio/mpeg but is actually audio/aac.

My suggestion would be to just use the mp3 stream.

harrysun
Posts:6
Joined:Sun Feb 01, 2009 7:35 pm
AV Hardware:QNAP TS-109 II Pro with Debian 5.0 "lenny" (Linux qnap 2.6.26-1-orion5x #1 Sun Jan 11 17:19:11 UTC 2009 armv5tel GNU/Linux)

Re: Define MIME type for streaming media with "wrong" extens

Post by harrysun » Tue Aug 02, 2011 2:35 pm

Your remarks are right.

I'm looking for a solution that would compile with the specifications. The only idea I've is to use the meta element (http://msdn.microsoft.com/en-us/library ... 85%29.aspx) with the Windows Media Player playlist (see http://en.wikipedia.org/wiki/Windows_Me ... r_Playlist) to force Twonky to use a specific MIME type for the media elements.

It would be more flexible to use an attribute for the media elements within the Windows Media Player playlist but it would be a non standard compiled modification.

I know that this a rarely needed but maybe someone else is looking for the same solution be able tho control the MIME type and can reply to this post.

Thanks in advance for your support,
Raphael

Locked