Thursday, December 24, 2015

Error when playback videos on Ubuntu 15.10


I have ubuntu 15.10 on my laptop (fresh install) and when i try to open videos/movie i get an error message like this:

Required plugin could not be found
Videos requires to install plugins to play files of the following types:
  • MPEG-4 AAC decoder
  • H.264 (Main Profile) decoder

How to fix this issue??


This happened because there is no video decoder available on the system, so we need to install the video decoder.

Go ahead open terminal/ console/ command line (press CTRL + ALT + T), and then type this command:

sudo apt-get install ubuntu-restricted-extras

If you get an error when running the command above, try updating the repo list first, with this command:

sudo apt-get update

or this:

sudo apt-get update --fix-missing

Then run the apt-get install ubuntu-restricted-extras again

kernelpanic@kernelpanic:~$ sudo apt-get install ubuntu-restricted-extras
[sudo] password for kernelpanic: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cabextract chromium-codecs-ffmpeg-extra freepats gstreamer0.10-fluendo-mp3
  gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse
  gstreamer0.10-plugins-base gstreamer0.10-plugins-ugly
  gstreamer1.0-fluendo-mp3 gstreamer1.0-libav gstreamer1.0-plugins-bad
  gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
  gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr i965-va-driver
  liba52-0.7.4 libaacs0 libass5 libavcodec-extra libavcodec-ffmpeg-extra56
  libavformat-ffmpeg56 libavutil-ffmpeg54 libbdplus0 libbluray1 libbs2b0
  libcdaudio1 libchromaprint0 libcrystalhd3 libdc1394-22 libdca0 libde265-0
  libdirectfb-1.2-9 libdvdnav4 libdvdread4 libenca0 libfaac0 libfaad2
  libfftw3-double3 libflite1 libfluidsynth1 libgme0 libgsm1
  libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtkglext1 libilmbase12
  libkate1 libmad0 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1
  libmp3lame0 libmpcdec6 libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0
  libmplex2-2.1-0 libmspack0 libofa0 libopenal-data libopenal1
  libopencore-amrnb0 libopencore-amrwb0 libopencv-calib3d2.4v5
  libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5
  libopencv-flann2.4v5 libopencv-highgui2.4v5 libopencv-imgproc2.4v5
  libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5
  libopencv-video2.4v5 libopenexr22 libopenjpeg5 libopus0 liboxideqt-qmlplugin
  liboxideqtcore0 liboxideqtquick0 libschroedinger-1.0-0 libshine3
  libsidplay1v5 libslv2-9 libsoundtouch0 libsoxr0 libspandsp2 libsrtp0
  libssh-gcrypt-4 libswresample-ffmpeg1 libswscale-ffmpeg3 libtbb2 libtwolame0
  libva1 libvdpau1 libvo-aacenc0 libvo-amrwbenc0 libwildmidi-config
  libwildmidi1 libx264-146 libx265-59 libxvidcore4 libzbar0 libzvbi-common
  libzvbi0 oxideqt-codecs-extra ttf-mscorefonts-installer
  ubuntu-restricted-addons unrar va-driver-all vdpau-va-driver
Suggested packages:
  frei0r-plugins libbluray-bdj libchromaprint-tools python-acoustid
  firmware-crystalhd libdvdcss2 debhelper libfftw3-bin libfftw3-dev
  gstreamer0.10-tools opus-tools sidplay-base slv2-jack srtp-utils
  nvidia-vdpau-driver vdpau-driver libx265-59-dbg xvba-va-driver
The following packages will be REMOVED:
  oxideqt-codecs
The following NEW packages will be installed:
  cabextract chromium-codecs-ffmpeg-extra freepats gstreamer0.10-fluendo-mp3
  gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse
  gstreamer0.10-plugins-base gstreamer0.10-plugins-ugly
  gstreamer1.0-fluendo-mp3 gstreamer1.0-libav gstreamer1.0-plugins-bad
  gstreamer1.0-plugins-bad-faad gstreamer1.0-plugins-bad-videoparsers
  gstreamer1.0-plugins-ugly gstreamer1.0-plugins-ugly-amr i965-va-driver
  liba52-0.7.4 libaacs0 libass5 libavcodec-extra libavcodec-ffmpeg-extra56
  libavformat-ffmpeg56 libavutil-ffmpeg54 libbdplus0 libbluray1 libbs2b0
  libcdaudio1 libchromaprint0 libcrystalhd3 libdc1394-22 libdca0 libde265-0
  libdirectfb-1.2-9 libdvdnav4 libdvdread4 libenca0 libfaac0 libfaad2
  libfftw3-double3 libflite1 libfluidsynth1 libgme0 libgsm1
  libgstreamer-plugins-bad0.10-0 libgstreamer-plugins-bad1.0-0
  libgstreamer-plugins-base0.10-0 libgstreamer0.10-0 libgtkglext1 libilmbase12
  libkate1 libmad0 libmimic0 libmjpegutils-2.1-0 libmms0 libmodplug1
  libmp3lame0 libmpcdec6 libmpeg2-4 libmpeg2encpp-2.1-0 libmpg123-0
  libmplex2-2.1-0 libmspack0 libofa0 libopenal-data libopenal1
  libopencore-amrnb0 libopencore-amrwb0 libopencv-calib3d2.4v5
  libopencv-contrib2.4v5 libopencv-core2.4v5 libopencv-features2d2.4v5
  libopencv-flann2.4v5 libopencv-highgui2.4v5 libopencv-imgproc2.4v5
  libopencv-legacy2.4v5 libopencv-ml2.4v5 libopencv-objdetect2.4v5
  libopencv-video2.4v5 libopenexr22 libopenjpeg5 libopus0
  libschroedinger-1.0-0 libshine3 libsidplay1v5 libslv2-9 libsoundtouch0
  libsoxr0 libspandsp2 libsrtp0 libssh-gcrypt-4 libswresample-ffmpeg1
  libswscale-ffmpeg3 libtbb2 libtwolame0 libva1 libvdpau1 libvo-aacenc0
  libvo-amrwbenc0 libwildmidi-config libwildmidi1 libx264-146 libx265-59
  libxvidcore4 libzbar0 libzvbi-common libzvbi0 oxideqt-codecs-extra
  ttf-mscorefonts-installer ubuntu-restricted-addons ubuntu-restricted-extras
  unrar va-driver-all vdpau-va-driver
The following packages will be upgraded:
  liboxideqt-qmlplugin liboxideqtcore0 liboxideqtquick0
3 upgraded, 113 newly installed, 1 to remove and 99 not upgraded.
Need to get 93.6 MB of archives.
After this operation, 149 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Once installed, you can try open/playback the video again, this time will works, i guarantee.



~ enjoy ~

No comments:

Post a Comment