{"id":24975,"date":"2022-07-30T16:23:16","date_gmt":"2022-07-30T15:23:16","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=24975"},"modified":"2022-07-30T16:23:30","modified_gmt":"2022-07-30T15:23:30","slug":"opensuse-vlc-does-not-play-hevc-h-265-videos","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/24975\/opensuse-vlc-does-not-play-hevc-h-265-videos\/","title":{"rendered":"openSuse &#8211; VLC does not play HEVC H.265 videos"},"content":{"rendered":"<p>VLC in Linux does not want to play HEVC videos from smartphone. <\/p>\n<p><!--more-->  <\/p>\n<p>Linux and codecs are sometimes a problem, especially if they are commercial in nature. For example, the VLC in my freshly installed openSuse did not play videos from my Google Pixel phone. <\/p>\n<p>Instead, only an error message came up. <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_1.png\" alt=\"\" width=\"604\" height=\"457\" class=\"aligncenter size-full wp-image-24970\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_1.png 604w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_1-300x227.png 300w\" sizes=\"auto, (max-width: 604px) 100vw, 604px\" \/><\/p>\n<blockquote><p>\nCodec not supported:<br \/>\nVLC could not decode the format &#8220;hevc&#8221; (MPEG-H Part2\/HEVC (H.265))\n<\/p><\/blockquote>\n<p>What is missing here is the package &#8220;vlc-codecs&#8221;, which unfortunately is not available from the official package sources. The solution is to add the &#8220;packman&#8221; sources to the system:  <\/p>\n<p>For Tumbleweed we run the following command: <\/p>\n<pre>\r\nsudo zypper addrepo -cfp 90 'https:\/\/ftp.gwdg.de\/pub\/linux\/misc\/packman\/suse\/openSUSE_Tumbleweed\/' packman\r\n<\/pre>\n<p>For Leap the following: <\/p>\n<pre>\r\nsudo zypper addrepo -cfp 90 'https:\/\/ftp.gwdg.de\/pub\/linux\/misc\/packman\/suse\/openSUSE_Leap_$releasever\/' packman\r\n<\/pre>\n<p>We then update the package sources: <\/p>\n<pre>\r\nsudo zypper refresh\r\n<\/pre>\n<p>Now we still have to allow that we update the VLC from the other source. Otherwise we will get an error message. <\/p>\n<pre>\r\nsudo zypper dist-upgrade --from packman --allow-vendor-change \r\n<\/pre>\n<p>Now we install the VLC and the codecs: <\/p>\n<pre>\r\nsudo zypper install --from packman vlc vlc-codecs\r\n<\/pre>\n<p>Afterwards, the playback of the videos worked: <\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_2.jpg\" alt=\"\" width=\"1163\" height=\"720\" class=\"aligncenter size-full wp-image-24972\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_2.jpg 1163w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_2-300x186.jpg 300w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_2-1024x634.jpg 1024w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/07\/vlc_2-768x475.jpg 768w\" sizes=\"auto, (max-width: 1163px) 100vw, 1163px\" \/><\/p>","protected":false},"excerpt":{"rendered":"<p>VLC in Linux does not want to play HEVC videos from smartphone.<\/p>\n","protected":false},"author":1,"featured_media":15547,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[1682,1889],"class_list":["post-24975","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux-en","tag-opensuse-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=24975"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/24975\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/15547"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=24975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=24975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=24975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}