Ubuntu 14.04 dose not come with ffmpeg, nor is it in the Repositories. I have found a solution.
add these two repositories.
sudo apt-add-repository ppa:mc3man/trusty-media
sudo add-apt-repository ppa:samrog131/ppa
Then sudo apt-get update
and sudo apt-get upgrade
Then use synaptic package manager, search for ffmpeg and install what you need,
You could use sudo apt-get install ffmpeg, but there are many different things that you
may also need, such as ffmpeg for gstreamer, or chromium, there are many things associated with
ffmpeg. so i recommend using synaptic so you are sure you get everything you need.
Also for DVD playback for Region one DVD's ( usa ) you will need the CSS decoding libraries.
sudo apt-get install ubuntu-restricted-extras libavcodec-extra
sudo apt-get install libdvdread4