How to Install VLC-Shares In Ubuntu And Stream Videos to Android

VLC, without a doubt, is the best media player around. Not only is it able to play almost any file format, it is also able to stream audio/video from the Web and transcode on the fly. VLC-share is a web implementation of VLC streaming and transcoding that allows you to stream (and transcode) your videos to your WII Media Center (WIIMC) or Android phone. Just think of airplay for Android and you get VLC-Shares.

In this tutorial, we will show you how to get VLC-shares up and running in your Ubuntu machine. VLC-shares is available for Windows as well and the installation and configuration instruction is pretty easy and straightforward, so we will not touch on that.

Installing VLC-shares in Ubuntu

First of all, go to the VLC-shares website and download the “vlc-shares_0.5.*.zip” file. The latest version (as of this post) is version 0.5.3.

Extract the zip file to your Home folder. You should see a folder “vlc-shares”.

Open a terminal. We are going to install the necessary software.

Next, we are going to enable apache mod_rewrite

It will prompt you to restart apache. Ignore that for a moment. We will do that later.

Open Zend Framework config file:

Remove the “;” in front of the second sentence.


Save and close the file.

Back to your terminal, we are going to change the apache config file.

Scroll down the file until you see the part “<Directory /var/www/>“. Underneath that line of code, change AllowOverride None to AllowOverride All.


Save and close the file.

(Assuming you have earlier unpacked the file to your Home folder) We are going to move the VLC-shares folder to the apache folder.

Lastly, we are going to restart the apache.

We are almost there. Now, open up a browser and navigate to “http://localhost/vlc-shares/public” (without the quote). You should see the installation dashboard. Go ahead to select all the plugins and click the “Start Installation” button.


The installation shouldn’t take more than a minute. Once it is done, you will see the configuration page. Ignore that (the default configuration should work fine). At the top, click the first Home icon. This will bring you to the Home page.


We are done with your Ubuntu installation. The next step is to configure your Android phone.

Accessing VLC-shares from Android

Before we start the streaming, we need to install a media player app capable of playing stream video. I have tried out RockPlayer and MVideo Player and they failed. VPlayer is the one that works.

Install VPlayer from the market.

Note: If you have firewall installed, remember to configure it to allow incoming connection before proceeding.

If your Android phone is connected to the same WIFI network as your Ubuntu computer

Open the browser and enter the URL: http://your-ubuntu-lan-address/vlc-share/public. Replace “your-ubuntu-lan-address” with the physical LAN address of your computer. In this case, my computer has the address, so on my Android browser, I enter “”

Note: On Ubuntu machine, you can find out the IP address of your computer by right-clicking the network manager applet and select Connection Information

If your Android phone is connected via remote network

You have to enable the port forwarding feature in your router. We won’t touch on that in this tutorial. Refer to your router’s user manual for the instruction (or get more detail here).

On your Android browser, you should see the same dashboard interface.


Tap on the “Browse” button.


If you want to stream video from the Ubuntu computer, select the “Shared Folder” option and navigate to the folder where you store your videos. Select the video you want to stream and tap “Start VLC Stream”.


Select “Go to Stream”. When prompted, select “VPlayer”.


That’s it. Enjoy your video.


Damien Damien

Damien Oh started writing tech articles since 2007 and has over 10 years of experience in the tech industry. He is proficient in Windows, Linux, Mac, Android and iOS, and worked as a part time WordPress Developer. He is currently the owner and Editor-in-Chief of Make Tech Easier.


  1. who needs ownership and what permissions of the shared folders? i cant seem to get access to any of my local videos.

  2. Wow, great!

    Check my livewallpapers :)

  3. “VLC, without a doubt, is [not] the best media player around.” FTFY. SMplayer on Linux & KMplayer on Windows trump VLC.

  4. On Debian squeeze v6.0 the package is called “zendframework” & “zendframework-bin”.
    I also had to create a symlink ( ln -s /usr/share/php/Zend /var/www/vlc-shares/library/Zend )

    1. I got this prompt “VLCShares needs Zend Framework 1.10.6+. Please, install it in library/ folder” when I tried to navigate ” http://localhost/vlc-shares/public” on a browser. Would why so? Thanks.

    2. I got this prompt “VLCShares needs Zend Framework 1.10.6+. Please, install it in library/ folder” when I tried to navigate ” http://localhost/vlc-shares/public” on a browser. Would you know why so? Thanks.

  5. I get to the installation screen here: http://localhost/vlc-shares/public/ But when I click start installation it says link appears broken. Any ideas? Thanks.

    1. If it says the link appear broken, there can be few causes:

      1. It could be that your apache file is not configured properly. Check your apache config file if you have set the “AllowOverride” to “All”

      2. It could be that some of your vlc-shares files are missing. Download the vlc-shares zip file again and copied/pasted to the /var/www folder.

      3. It could be that the permission of your vlc-shares files are not set properly. Run the command “sudo chmod a+rwx -R /var/www/vlc-shares/data” again.

  6. Looks great, but I can’t install from the web page – get:
    Not Found
    The requested URL /vlc-shares/public/installer/save was not found on this server.
    Apache/2.2.14 (Ubuntu) Server at localhost Port 80

    Any ideas??

  7. Hi,

    Work perfect on Milestone with CM7. Only one think: Video works fine, no lags, but no sound, only image.

    Any ideas?. Thank in advance!


  8. Im having real trouble with this, I have tried re installing this over and over again and all I get it;
    The requested URL /vlc-shares/index.php was not found on this server.
    Can anyone help me?

      1. Thanks for the reply.
        It should be running as I have been running ampache off of my server all day. I will try and restart apache and see what happens.

  9. should this work on Lucid?? because i keep getting the following :

    “The requested URL /vlc-shares/public/installer/save was not found on this server.”

    and i’ve followed the install steps to the letter. this is maybe my 5th or 6th time to try it

  10. Hi, I follow your tutorial but I have a blank page when I tried to access to http://localhost/vlc-shares/public/
    Do you have an idea ?

  11. on ubuntu 10.10,  the apt-get fails to locate package libavcodec-unstripped-52
    Everything else seemed to install okay.
    internet searchs don’t turn up anything obvious…


  12. I got Not Found when clicking on “Install” and try loading the page http://localhost/vlc-shares/installer/save

  13. on ubuntu 12.04,  the apt-get fails to locate package libavcodec-unstripped-52 

    xps8300@xps8300-XPS-8300:~$ sudo apt-get install apache2 libapache2-mod-php5 php5 zend-framework zend-framework-bin vlc php5-sqlite php5-cli vlc ffmpeg libavcodec-extra-52 libavcodec-unstripped-52[sudo] password for xps8300: Reading package lists… DoneBuilding dependency tree       Reading state information… DonePackage libavcodec-extra-52 is not available, but is referred to by another package.This may mean that the package is missing, has been obsoleted, oris only available from another sourceE: Package ‘libavcodec-extra-52’ has no installation candidateE: Unable to locate package libavcodec-unstripped-52xps8300@xps8300-XPS-8300:~$ Any idea?

  14. On ubuntu 12.04,  the apt-get fails to locate package libavcodec-unstripped-52 
    How can I solve this?

    1.  Version 0.5.4 of vlc-shares comes with a deb file. See if you can get it to install with the deb file.

        1.  Download the vlc-shares_0.5.5beta2-1_all.deb from here ( and double click on it to install. In 12.04, it will prompt an error. Just click “Ignore and Install”.

  15. I got it to work installed from Ubuntu software center and I’m using Vplayer to play movies from my network.

    Tomorrow I will try playing movies from remote connection

    Thanks Damien Oh

Comments are closed.