Page 1 of 1

vlc from command line

Posted: Sat Sep 29, 2018 1:51 pm
by pastimer
Hi,

I want to start a vbox channel from a vlc shortcut.

I tried this:

"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "http://192.168.178.80:55555/NPO%202"

But this does not work. VLC cannot find the page. But "http://192.168.178.80:55555/NPO%202" is in the info when I start this channel in VLC via the upnp menu.

Can someone explain to me how to start vbox channels in vlc directly from commandline (shortcuts)?

Thanks a lot.

Re: vlc from command line

Posted: Sat Sep 29, 2018 5:42 pm
by Ant

Re: vlc from command line

Posted: Sat Sep 29, 2018 11:48 pm
by pastimer

Re: vlc from command line

Posted: Sun Sep 30, 2018 7:04 am
by Ant
OK, running vlc with this m3u file saved locally, allow you watch desirable channel?

Re: vlc from command line

Posted: Wed Oct 03, 2018 9:35 am
by tarmacalastair
Interesting.
Afraid I can't help with Windows, but from my Ubuntu PC, I opened up the ChannelList.m3u file in a text editor to find out the URL for a couple of channels.
Then, from a terminal I typed:
  • vlc "http://192.168.178.80:55555/ITV"
  • vlc "http://192.168.178.80:55555/BBC%20ONE%20HD"
I had wondered if the "%20" characters in your command had caused an issue but for both of my examples VLC fired up and played the correct channel.

Not sure if this is helpful or not. I would try opening a Windows command prompt (try it both as a user and as admin) and then try changing directory to the right place first to make the command less complex. So I would issue these commands on 3 separate lines to test
  • c:\
  • cd "Program Files (x86)\VideoLAN\VLC"
  • vlc "http://192.168.178.80:55555/NPO%202"
Good luck!

Re: vlc from command line

Posted: Thu Oct 04, 2018 7:48 am
by nepo
hi
tarmacalastair wrote:
Wed Oct 03, 2018 9:35 am
I had wondered if the "%20" characters in your command had caused an issue but for both of my examples VLC fired up and played the correct channel.
That's normal, computer uses to interpret blank spaces or special letters. eg.
WDR HD Köln -> WDR%20HD%20K%C3%B6ln
NPO 2 -> NPO%202
I've have no problems to play
vlc http://my-IP:55555/ChannelList.m3u or vlc http://my-IP:55555/WDR%20HD%20K%C3%B6ln (command line in Ubuntu)
pastimer wrote:
Sat Sep 29, 2018 11:48 pm
It;s the same:

http://192.168.178.80:55555/NPO%202
Whats does it means ?
What happen, if you open http://192.168.178.80:55555/ChannelList.m3u in your Internet-Browser ?

Bye nepo

Re: vlc from command line

Posted: Thu Oct 04, 2018 8:13 am
by nepo
hi
In command line:

Code: Select all

cd "C:\Program Files\VideoLAN\VLC"

Code: Select all

vlc http://Your IP:55555/ChannelList.m3u
or a special channel

Tested with win10

Bye nepo