Start vlc with a hyperlink?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
semteX

Start vlc with a hyperlink?

Postby semteX » 14 Mar 2004 11:13

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

HaaRviK
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Mar 2004 12:26

Postby HaaRviK » 16 Mar 2004 20:06

Good luck with this one...I been trying to get an answer to that for a week.

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 16 Mar 2004 20:11

It's been answered multiple times, I believe -- try a search for "Apache".

HaaRviK
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Mar 2004 12:26

Postby HaaRviK » 16 Mar 2004 20:12

Sure if you want VOD...but NOT multicast.

markfm
Big Cone-huna
Big Cone-huna
Posts: 1536
Joined: 22 Feb 2004 17:42

Postby markfm » 16 Mar 2004 20:27

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

HaaRviK
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Mar 2004 12:26

Postby HaaRviK » 16 Mar 2004 20:33

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.

wauba

Postby wauba » 16 Mar 2004 22:59

I've seen on the site where some guy was able to interface vlc with MythTV. Maybe he can shed some light?

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 17 Mar 2004 03:33

For future reference.

Build your own .m3u playlist and simple have VLC open it.
Don't use PMs for support questions.

HaaRviK
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Mar 2004 12:26

Postby HaaRviK » 17 Mar 2004 03:37

Doesn't answer the question, unfortunately.

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 17 Mar 2004 03:42

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 :(
Don't use PMs for support questions.

HaaRviK
Blank Cone
Blank Cone
Posts: 20
Joined: 16 Mar 2004 12:26

Postby HaaRviK » 17 Mar 2004 03:46

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.

user...aka...HaaRviK

Postby user...aka...HaaRviK » 17 Mar 2004 19:49

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


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 30 guests