How to install all possible media codecs from console?
Is there a way to load and save them for some cases without Internet connection?
Thanks in Advance!
For Ubuntu 15.04 and 14.04 LTS (12.04 or later)
install CURL tool
load VideoLAN repository
install VLC and Mplayer, and their support elements
install remaining Ubuntu 'restricted extras' (146 MB when installed, skip if space is critical)
enable full DVD support (depending on which Ubuntu release, these three packages may already be installed)
Yep, I had this problem when I switched to Ubuntu a year ago lol. I only know how to install them. I then made a mirror of my Linux installation as it's a bit more complex than using just the Ubuntu Desktop. I use a Server Thin Client Environment.
Anyway the command to install codecs you need is
You may want to check if there is a later version of gstreamer available. The last one worked well for me and all my videos played so I stuck to this version (0.10)
I'm sure there is a way to save it too but hopefully someone will answer your the second part of your question here
Install and run aptoncd to backup all the packages you have downloaded; you can reuse them using