Can't play .mkv files in VLC 'No suitable decoder module'

Questions about codecs, DVD playback, web plugins...
Forum rules
Before you post please read how to get help
DheemanF04
Level 1
Level 1
Posts: 3
Joined: Sat Jun 20, 2015 7:11 pm

Can't play .mkv files in VLC 'No suitable decoder module'

Postby DheemanF04 » Mon Aug 21, 2017 11:37 am

I cannot play .mkv files in VLC that otherwise work perfectly on Windows and macOS. VLC shows an error message: " No suitable decoder module. VLC does not support the audio or video format "hevc". Unfortunately there is no way for you to fix this "
Please help.

User avatar
richyrich
Level 18
Level 18
Posts: 8677
Joined: Mon May 04, 2009 8:31 pm

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby richyrich » Mon Aug 21, 2017 12:05 pm

Do you have vlc-plugin-libde265 and libx265-xxx (latest version) installed ?

DheemanF04
Level 1
Level 1
Posts: 3
Joined: Sat Jun 20, 2015 7:11 pm

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby DheemanF04 » Mon Aug 21, 2017 12:13 pm

richyrich wrote:Do you have vlc-plugin-libde265 and libx265-xxx (latest version) installed ?


I cannot find vlc-plugin-libde265 and libx265 in synaptics package manager or software manager. Do i have to add a repository or something? This is a fresh installation.

User avatar
phd21
Level 14
Level 14
Posts: 5037
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby phd21 » Mon Aug 21, 2017 3:34 pm

Hi "DheemanF04",

It would help to know more about your system setup. If you run "inxi -Fxzd" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

1.) Do you have "ffmpeg" installed? I recommend version 3.x

How to Install FFmpeg 3.2 via PPA in Ubuntu 16.04 (Linux Mint 18.x, or 17.x)
http://tipsonubuntu.com/2016/11/02/install-ffmpeg-3-2-via-ppa-ubuntu-16-04/

Code: Select all

sudo add-apt-repository ppa:jonathonf/ffmpeg-3

Code: Select all

sudo apt update && sudo apt install ffmpeg libav-tools x264 x265


2.) You can also install a newer more up to date VLC using their PPA below.


Code: Select all

sudo add-apt-repository ppa:videolan/master-daily

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install vlc vlc-plugin-*



Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
Flemur
Level 13
Level 13
Posts: 4649
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby Flemur » Tue Aug 22, 2017 2:06 pm

DheemanF04 wrote:I cannot find vlc-plugin-libde265 and libx265 in synaptics package manager or software manager.

I can play MKV files with vlc and don't have any vlc-plugin-* packages installed (just vlc and vlc-nox).

Do i have to add a repository or something? This is a fresh installation.

You shouldn't have to, I think; smplayer uses ffmpeg to play mkv files, IIRC vlc might use gstreamer.
See if you have
gstreamer*
and
ubuntu-restricted-extras
and maybe
ubuntu-restricted-addons
installed.

You might want to make sure that the file you're (not!) playing is encoded propertly (does it play in windoes, etc?)

Example files - there are a lot of variations:
https://www.matroska.org/downloads/test_w1.html
(go to the last sentence)

Here are variations on mkv files -
http://jell.yfish.us/
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Hoser Rob
Level 9
Level 9
Posts: 2891
Joined: Sat Dec 15, 2012 8:57 am

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby Hoser Rob » Tue Aug 22, 2017 2:56 pm

Mkv files are not the issue here, it's the HEVC format.

Someone posted a ppa for a newer VLC that supports HEVC. Unfortunately, the HEVC playback in VLC is kind of broken. It plays HEVC but very badly. I have that version but rarely use VLC. Seriously, is there a more over rated bit of software?

I use SMplayer as mmy default, and the performance is much, much better. Not just with HEVC or even with Linux ... it's much better in WIndows too.

Here's how to add the HEVC compatible SMPlayer:

Code: Select all

sudo add-apt-repository ppa:mc3man/mplayer-test
sudo apt-get update
sudo apt-get install mplayer smplayer


I'm usually one of those guys railing against ppa usage but sometimes it's appropriate, and mc3man is an excellent source.

User avatar
Flemur
Level 13
Level 13
Posts: 4649
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby Flemur » Tue Aug 22, 2017 6:10 pm

Hoser Rob wrote:Mkv files are not the issue here, it's the HEVC format.
Someone posted a ppa for a newer VLC that supports HEVC. Unfortunately, the HEVC playback in VLC is kind of broken. It plays HEVC but very badly. I have that version but rarely use VLC. Seriously, is there a more over rated bit of software?

Yup - this file
http://jell.yfish.us/media/jellyfish-3-mbps-hd-hevc.mkv
plays a few seconds in vlc, then looks really bad, then OK for a second, etc.
plays fine with the smplayer from the repos.

Here's how to add the HEVC compatible SMPlayer:

That HEVC file above plays fine with the smplayer from the repos = v15.11.0
Mint 18.3 Xfce/fluxbox/pulse-less
Xubuntu 17.10/fluxbox/pulse-less
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?

Hoser Rob
Level 9
Level 9
Posts: 2891
Joined: Sat Dec 15, 2012 8:57 am

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby Hoser Rob » Wed Aug 23, 2017 4:29 pm

Flemur wrote:
Here's how to add the HEVC compatible SMPlayer:

That HEVC file above plays fine with the smplayer from the repos = v15.11.0


Oh, has that been added to the 18.x version? OK, always best to install the repo version if it works.

User avatar
phd21
Level 14
Level 14
Posts: 5037
Joined: Thu Jan 09, 2014 9:42 pm
Location: Florida

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby phd21 » Wed Aug 23, 2017 4:46 pm

Hi "DheemanF04", & Anyone Else Interested in this,

FYI: These are the instructions I have for adding an up to date version of SMplayer and MPV which played the "jellyfish" link perfectly.

SMPlayer Sees New Release With MPV Support, Install via PPA

You can use the excellent "SMplayer" to view videos, Blu-ray & DVD discs. Unlike other players SMplayer doesn't require you to install codecs to play something because it carries its own, all required codecs within itself. This release which now supports MPV and some other features such as MPRIS v2 Support, new theme, 3D stereo filter and more. I recommend reading both web links below. Make sure under preferences to select MPV as the MultiMedia Engine.

Noobslab - another excellent Linux website - This article on SMplayer and MPV 2017
http://www.noobslab.com/2017/01/install-latest-smplayer-release-1710.html

Web Upd8 - excellent Linux website - This article is for SMplayer & MPV
http://www.webupd8.org/2015/09/smplayer-159-stable-released-with-mpv.html

To install these using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one:

sudo add-apt-repository ppa:rvm/smplayer
sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt-get update
sudo apt-get install mpv smplayer smtube youtube-dl

or for added smplayer themes and skins
sudo apt-get install mpv smplayer smtube smplayer-themes smplayer-skins youtube-dl


Hope this helps ...
Phd21: Mint KDE 17.3 & 18.2, 64-bit Awesome OS, Ancient Dell OptiPlex 780 Core2Duo E8400 3GHz,3gb Ram,160gb hdd, Video: Intel 4 Graphics, DVD Lightscribe. Why I use KDE?:https://opensource.com/life/15/4/9-reasons-to-use-kde

User avatar
all41
Level 11
Level 11
Posts: 3580
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Re: Can't play .mkv files in VLC 'No suitable decoder module'

Postby all41 » Thu Aug 24, 2017 4:59 pm

Hoser Rob wrote:
I use SMplayer as mmy default, and the performance is much, much better.

I have seen this several times now--so I decided to observe this myself.
I have a .mkv file that pauses and pixelates with vlc and yes-- with smplayer it plays perfectly.
I'm usually one of those guys railing against ppa usage but sometimes it's appropriate, and mc3man is an excellent source

I also have used mc3man for a few years and have never had an issue. I keep the ppa disabled and enable it occasionally to get updates for
my multimedia apps.
Proud to be a supporter and monthly contributor to Mint.


Return to “Sound, Multimedia, & Codecs”