Now have VLC installed ,how to play a video with vlc via terminal running centos 6 to be viewed on website? What is the command to test it?

I want to use VLC on my website which resides on my VPS set up with Linux Centos so I can play videos. But after installing VLC, I don't know how to make it so I can see those videos on my website. I don't know what steps to take from play something on vlc via terminal to view it on my site.

I don't even know how to get a video playing via terminal now it is installed because all the different commands just seem to do nothing.

I need a head start....how do I open up the player? so I can view it on my server?

closed as unclear what you're asking by Anthon, Zelda, Faheem Mitha, slm, Timo Mar 3 '14 at 12:56

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • if you want to set up a streaming server I can only advice you to install madsonic or subsonic who are real streaming server really powerful and much more easy to setup in my opinion – Kiwy Mar 3 '14 at 9:15
  • Where have you got VLC installed ? – X Tian Mar 3 '14 at 9:17
  • on my vps which i connect to remotely via terminal – cea Mar 3 '14 at 9:18
  • Removed many, many comments. If you want to argue about how forum-like SE is, use chat please – Michael Mrozek Mar 3 '14 at 19:58

If this is actually a website, you can embed it using HTML5 video - you will need a more recent version of a browser to use it. There is in an example of it here.

For VLC, there are instructions for streaming here, with command line versions here.

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Not the answer you're looking for? Browse other questions tagged or ask your own question.