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:
I installed vlc on my edison but could not install the dependencies.
When I tried to install the disabled dependencies one by one . I ended up getting the same error every time.
I don't really know the reason , but I ended up getting
Makefile:61: recipe for target 'install' failed
make: *** [install] Error 127
I have disabled the following dependencies:
lua, mad, avcodec, swscale, a52, xcb, alsa, libgcrypt