Page 1 of 1

Start vlc with a hyperlink?

Posted: 14 Mar 2004 11:13
by semteX
Is this possible...

If you click on a link vlc should open and start playing / streaming / however..

i think of somethink like this irc links:

irc://muh.bla.bla/bla

is something possible? I've full access on the server and all the clients.

thx

semteX

Posted: 16 Mar 2004 20:06
by HaaRviK
Good luck with this one...I been trying to get an answer to that for a week.

Posted: 16 Mar 2004 20:11
by markfm
It's been answered multiple times, I believe -- try a search for "Apache".

Posted: 16 Mar 2004 20:12
by HaaRviK
Sure if you want VOD...but NOT multicast.

Posted: 16 Mar 2004 20:27
by markfm
If it's not VOD, then it should be someone trying to tap into a continuous stream, something that's simply running on a multicast address, correct?

If that's what you're doing, why not just use the SAP ability in VLC -- you set the server to broadcast SAP info, and activate the SAP plugin on the client side so that the "on-the-air" video streams are visible in the VLC playlist:
viewtopic.php?t=1089&highlight=sap

Posted: 16 Mar 2004 20:33
by HaaRviK
That doesn't address the ability to list the playlist on a webpage, and be able to launch from there. I have seen multiple posts on the subject, and it never gets answered unless it's the "You don't want multicast unless you know what it is" repsonse. I know what it is, I know I want to use it. Problem is, unless I load the vlc gui, I cannot access the playlist like I want to...which is via a web interface.

I can't figure out why it's so difficult to get that information. There are other projects that do exactly that with the exception that they don't interface with multicast. If others have done it, why can't we? I would be more than happy to develop the base package of code for others to use as an example, but without the information needed to make it work, that's kinda pie in the sky stuff at this point.

Case in point:
If an Amino100 STB can read the streams from vlc, then why can't we tap into them? I would love to try one, but I'm in the US and have yet to find where to purchase one.

Posted: 16 Mar 2004 22:59
by wauba
I've seen on the site where some guy was able to interface vlc with MythTV. Maybe he can shed some light?

Posted: 17 Mar 2004 03:33
by The DJ
For future reference.

Build your own .m3u playlist and simple have VLC open it.

Posted: 17 Mar 2004 03:37
by HaaRviK
Doesn't answer the question, unfortunately.

Posted: 17 Mar 2004 03:42
by The DJ
Dive into your browser settings and tell your browser to open vlc://something with vlc

or add the .vlc file-extension and tell your browser to open those files with VLC.

That's how the internet works folks. Can't change a thing about that :(

Posted: 17 Mar 2004 03:46
by HaaRviK
I think the problem is the fact that windows browsers don't understand the udp:// protocol, although there appears to be a way to do it on the linux side. The biggest issue I see on the forum is how to create a hyperlink i.e. udp://@239.255.1.1, be able to click that link and launch vlc playing the stream specified in the link. I have been to a site listed on your wiki that has this ability through a script. Unfortunately the author isn't responding to emails :( The way that the DVLSM project loads vlc from the browser is EXACTLY what all of us are looking for.

Posted: 17 Mar 2004 19:49
by user...aka...HaaRviK
Update:

I have been able to get vlc to launch via a web page using a shell script as the link. Here is the script:

#!/bin/sh
exec /usr/bin/vlc udp://@239.255.1.1 --width 800 --height 600

Save this as video.sh and make it executeable in your web folder. In your html page, create a hyperlink to point to it <a href=video.sh>Video</a>. When you first click the link, your webserver will ask what program to use to lauch it, select /bin/sh.

That's all folks...except it only works with linux.

Now, for the rest of the world....I have been able to open ONLY the playlist without the player interface. This was done via XML. I don't know enough about XML yet to fine tune it to what I think is a useable format.

Anyone intersted in helping develop an XML interface please feel free to contact me. I would love nothing more than to start an opensource set-top box project.

haarvik918@hotmail.com