Solution 1:

I had the exact same problem. This answer here solved the problem.

I followed the last one , i.e,

Install vlc with sudo apt-get install vlc and then install the required plugins to play *.mkv files by sudo apt-get install vlc-plugin-libde265

Note that, if the plugin installation gave you an error of not found, you will need to add it to the repo first

sudo apt-add-repository ppa:strukturag/libde265
sudo apt-get update

Now try opening the file in vlc.

Solution 2:

I found it using the Ubuntu Software Center GUI instead of calling apt via console.

Ubuntu 14.04 > Ubuntu software center > Search for "VLC" > Install

This is whaty worked for me. No additional codecs needed.

Hope it works for you too!

Solution 3:

I tried implementing solution given by @severus, but still I got the error. I solved the probelm by installing an additional package using this command.

sudo apt-get install gstreamer0.10-libde265