Page 1 of 1

Will there be better support for Peercast in VLC?

Posted: 09 Oct 2004 22:42
by SteelRat
I have been using Peercast for a while now to watch streaming TV and Video from the net and it works really well.

I wonder if VLC will support the peercast protocol to allow easier streaming of WMV and similar format from Peercast?

Today I use Windows Media Player but with some workarounds I can get VLC to play those streams as well.

Since we have just started a TV station broadcasting on the net we would like to recommend our viewers to use VLC instead of WMP ;)

Regards,
SteelRat

Posted: 10 Oct 2004 11:29
by The DJ
Please provide a source.

Posted: 10 Oct 2004 12:09
by SteelRat
Oups..sorry. http://www.peercast.org :oops:

I just as well do this right:

I want to be able to click "Play" on a WMV stream in the Peercast Yellow pages. http://yp.peercast.org/?type=wmv&bitrate=&genre=
Currently I am using Windows Media Player 9 to do this, but I would like to prefer to be able to use VLC.

It seems that the problem relates to Peercast links are using ASX.

A peercast "Play" link looks like this:
peercast://pls/565ADD7146F51C2AAF7AC54A18C197B1?tip=213.132.119.13:7144

The content of this link is in ASX, it looks like this:

Code: Select all

<ASX Version="3.0"> <ENTRY> <REF href = "http://213.132.119.13:7144/stream/424FD57179D5384F9D63807B229586D0.wmv" /> </ENTRY> </ASX>
If I associate ASX with Windows Media Player it works, but if I associate ASX with VLC then nothing happens.

I am able to play a WMV file locally though so the problem is not with the player or the codecs.

Does anybody have any bright idea how to solve this?

Cheers,
SteelRat

Posted: 10 Oct 2004 14:05
by Sigmund
Doesn't seem to be asx that is the problem. The stream linked to by the asx you posted here is down. problem is that vlc don't support the peercast:// protocol. I poked around a bit, and it seems to be quite easy to do, but this will not support the relaying part of peercast, and I'm afraid this will be unpollite(at best)

Posted: 10 Oct 2004 14:14
by SteelRat
Hi Sigmund,

The link is not down since I am watching it, but it requires the Peercast client to be installed in order to watch it. http://www.peercast.org
The Peercast client takes care of the linking to the player, but they have not very good ASX support yet.

Cheers,
SteelRat.

Posted: 10 Oct 2004 14:34
by Sigmund
The http link in the asx file does give a 404 file not found, so at least the asx is bad even though the peercast:// may not be

Posted: 10 Oct 2004 14:49
by SteelRat
OK, try connecting to the source then: http://213.132.119.13:1290
That should work just fine.

Requires 0.8.0-test2 though and these codecs: http://www.microsoft.com/windows/window ... nload.aspx

Posted: 10 Oct 2004 19:17
by SteelRat
I was told by Dnumgis in the peercast IRC channel that you can rewrite the URL to get it to work in VLC, BUT you will have to stream from the source and this is against the whole idea of the Peercast network.

This is how you rewrite the url and play as a network stream in VLC:
http/m3u://213.132.119.13:7146/pls/DB4804F32641E788670A5A1ACC72752F

This is just an example, you need to take a station URL from the Yellow pages and rewrite it according to the rule above.

Posted: 10 Oct 2004 19:59
by Sigmund
in case you didn't understand, Dnumgis on irc is Sigmund in these forums

Posted: 10 Oct 2004 20:20
by SteelRat
OK, I am really sorry about the confusion.
But many many thanks for your help Simund!
It is people like you that make internet such a great place!