Try updating vlc to 1.1.4. If you want to transcode HD (1080p or 720p) files, you must have a proper hardware for that…
Anyway, for db-readonly related errors: open a terminal. Go to your vlc-shares directory and type:
sudo chmod a+rwx -R data/ && sudo chown -R www-data:www-data data/