Old 7th March 2013, 21:56   #1
time_lord2004
Junior Member
 
Join Date: Jan 2009
Posts: 6
Winamp cannot play .m3u8 url

Hi, I am trying to tune into:

http://strm.thesound.co.nz/liveedge/.../playlist.m3u8

Winamp takes a few seconds to think about it then does not play any audio.
Is the format unsupported by winamp, or is the content of playlist.m3u8 invalid?

Thanks!
time_lord2004 is offline   Reply With Quote
Old 8th March 2013, 01:52   #2
ujay
Forum King
 
ujay's Avatar
 
Join Date: Jul 2001
Location: London
Posts: 6,072
It's the file content that is not recognized.

UJ
ujay is offline   Reply With Quote
Old 8th March 2013, 02:26   #3
time_lord2004
Junior Member
 
Join Date: Jan 2009
Posts: 6
Do you know why it isn't recognised? I.e what is wrong with it?
(If I know what needs fixing I can tell the radio station how to sort it out :-) )
time_lord2004 is offline   Reply With Quote
Old 8th March 2013, 06:33   #4
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,865
Quote:
Originally Posted by time_lord2004 View Post
Do you know why it isn't recognised? I.e what is wrong with it?
(If I know what needs fixing I can tell the radio station how to sort it out :-) )
Well... the stream url specified in playlist.m3u8 is:

chunklist.m3u8?wowzasessionid=103940302

It needs to be an absolute path, not a relative one, e.g.

http://strm.thesound.co.nz/liveedge/...chunklist.m3u8

And this is just a link to another playlist...

chunklist.m3u8 then has the same issue.

It points to:
media_62982.aac
media_62983.aac
media_62984.aac

The paths need to be absolute, not relative.
As far as Winamp is concerned, it will be looking for those .aac files in the same local dir that the playlist file has been saved to,
but they don't exist there, so it just skips over them.
DJ Egg is offline   Reply With Quote
Old 10th March 2013, 02:23   #5
time_lord2004
Junior Member
 
Join Date: Jan 2009
Posts: 6
Quote:
Originally Posted by DJ Egg View Post
It needs to be an absolute path, not a relative one
I had a (very) quick look at the spec and it seems a "local pathname relative to the M3U file location" is valid... but what isn't clear to me is whether it is valid to have relative files when dealing with URLs? Obviously to have a fully qualified URL is better... but should winamp cope without?
time_lord2004 is offline   Reply With Quote
Old 10th March 2013, 03:32   #6
MrSinatra
Forum King
 
MrSinatra's Avatar
 
Join Date: Dec 2004
Location: WKPS, State College
Posts: 5,722
Send a message via AIM to MrSinatra
i can't answer that.

but perhaps as a workaround you could create your own local m3u8 file using all hard paths based on the info they do provide in the m3u8 you can see?

PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
MrSinatra is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump