Direct shortcut for a stream in VLC

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
rab_random
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2008 23:46

Direct shortcut for a stream in VLC

Postby rab_random » 13 Jul 2008 00:04

Please can someone tell me how to create this BBC News24 stream as a shortcut which opens directly and specifically in VLC (as opposed to WMP, Real Player etc.)
To be clear, I'll paint a picture:
I am looking at my Windows desktop and I fancy watching BBC News24. So I click on my little shortcut which I made earlier and it opens VideoLAN, Which immediately starts the stream.

I already have my URL and my .ICO(just for fun :D) so all I need now is the extra info which will tell my PC to open it ONLY with VideoLAN


BTW, here is the stream URL: http://www.bbc.co.uk/newsa/n5ctrl/tvseq ... s24_bb.asx

Weeble
New Cone
New Cone
Posts: 4
Joined: 12 Jul 2008 23:27

Re: Direct shortcut for a stream in VLC

Postby Weeble » 13 Jul 2008 01:08

Create a new shortcut which would initially just open VLC, then right click it, hit Properties then add "http://www.bbc.co.uk/newsa/n5ctrl/tvseq ... s24_bb.asx" (including quotes) to the end of the 'Target' parameter.
So, if VLC was installed to the default path on an x64 machine, the final shortcut would look something similar to:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/news24_bb.asx"
Should do the trick.

rab_random
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2008 23:46

Re: Direct shortcut for a stream in VLC

Postby rab_random » 13 Jul 2008 15:40

Create a new shortcut which would initially just open VLC, then right click it, hit Properties then add "http://www.bbc.co.uk/newsa/n5ctrl/tvseq ... s24_bb.asx" (including quotes) to the end of the 'Target' parameter.
So, if VLC was installed to the default path on an x64 machine, the final shortcut would look something similar to:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/news24_bb.asx"
Should do the trick.
Excellent!!! Thanks very much!!! That's what I thought I should do but I didnt know about the "quote" marks. Now, do you know how to get the shortcut to open VLC with specific preferences just for this particular stream? For example, I might want it to open in half size with the volume on mute... and so on.

Weeble
New Cone
New Cone
Posts: 4
Joined: 12 Jul 2008 23:27

Re: Direct shortcut for a stream in VLC

Postby Weeble » 13 Jul 2008 16:14

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/news24_bb.asx" --volume=0 --zoom=0.5
Mute, half size.

For more details, see this Wiki entry on Command Line help

rab_random
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2008 23:46

Re: Direct shortcut for a stream in VLC

Postby rab_random » 13 Jul 2008 16:50

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/news24_bb.asx" --volume=0 --zoom=0.5
Mute, half size.

For more details, see this Wiki entry on Command Line help

Thanks very much. I'll check it out now! Just out of interest, can most of the stuff i've been talking about be created just by tweaking the target? Sorry for being so trivial but I'm a highly skilled "everyday PC user" and now just want to try and push myself to the next level. I cannot even tell you how much help these two snippets of advice I got here are!! Thanks again!! :idea: :idea: :idea: :D :D :D

Weeble
New Cone
New Cone
Posts: 4
Joined: 12 Jul 2008 23:27

Re: Direct shortcut for a stream in VLC

Postby Weeble » 13 Jul 2008 20:09

Of course, just add the desired command effects to the end of the "Target" attribute of the shortcut (after the address of the video).
If, for example, you wanted full volume instead of no volume, you could add:

Code: Select all

--volume=1024
to the end of the target. In the above example, the entire target attribute would end up looking like this:

Code: Select all

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://www.bbc.co.uk/newsa/n5ctrl/tvseq/n24/bb/wm/video/news24_bb.asx" --volume=1024
Hope that helps.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 54 guests