ICode9

精准搜索请尝试: 精确搜索
首页 > 系统相关> 文章详细

How To Enable Ubuntu 18.04 LTS To Play Videos Files

2020-02-01 18:45:01  阅读:541  来源: 互联网

标签:LTS Files Play videos these play video install Ubuntu


How To Enable Ubuntu 18.04 LTS To Play Videos Files

After Ubuntu 18 .04 LTS was released, I decided to install it for testing purposes… the steps below is how I got Ubuntu to play video files and other video formats… If you’re looking for a simple way to enable Ubuntu desktops to play videos, the steps below should be a great place to start…

By default Ubuntu Desktop will not play most videos files and some other media formats. Unless you install restricted decoders and codecs that are purposely left out, you won’t be able to watch movies, or videos you downloaded from YouTube.

These restrictions are in place for legal and technical reasons. Ubuntu excluded these codecs because these video files and other media formats are copy-right protected. You can’t just add these protected technology to your operating systems and programs without agreeing to their licensing terms and conditions.

In order to watch these videos, you need to have these codecs installed. A codec is a piece of software that allows applications to read a video or audio format. That’s why when you try to watch a video in Ubuntu you sometimes get an error that Ubuntu is unable to play the file.

 

This brief tutorial shows you how to install these restricted programs and codecs so you can begin watching movies and videos files on Ubuntu.

When you attempt to watch a video file formatted in MPEG-4 you’ll get the error message as shown below:

XXX-X AAC decoder, H.264 (Main Profile) decoder are required to play the file, but are not installed.

play videos in ubuntu

The reason you get the error is because your Ubuntu desktop is missing the required codecs or decoders. The video you’re trying to watch is using a copy-right protected technology and Ubuntu is not designed to play them.

 

You must install these packages below in order to play those videos. Run the commands below to install the missing codecs and decoders from Ubuntu Desktops.

sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
sudo apt install ubuntu-restricted-extras

After running the commands above, Ubuntu should immediately begin playing those videos that failed to play previously. This is how to get Ubuntu to play copy-right video files and other format.

If for some reasons the videos are still not playing, you may want to restart your computer and try again.

Hope this helps!

~Enjoy!

You may also like the post below:

fpxBGDBN 发布了127 篇原创文章 · 获赞 56 · 访问量 20万+ 私信 关注

标签:LTS,Files,Play,videos,these,play,video,install,Ubuntu
来源: https://blog.csdn.net/liufengl138/article/details/104136869

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有