Did you test the functionality of the webcam by recording video in the board and then pass it to your host machine?

Also, in the thread install vlc on intel edison mini breakout board I suggested you to install all the required dependencies to make VLC work as it should, if you used the --disable commands you can be facing a problem with these libraries.

I found a couple of links that may be helpful for you, take a look at them: