Getting videos to play on Fedora 26

You must have faced the new linux user time ( I am currently in it ). Atleast I had faced it. When you don’t know anything about what this linux thing does , the only hope you have is to atleast get a video to play on this different Operating System . You go to the folder where you kept the videos , double click it , and voila ! An error springs up saying something about the H264 and some Mpeg 4 aac decoder thing . So you try to click the option to install it from software (That’s in case you’re having a Fedora Gnome edition ) . After banging your head on some commands and some tries you’re Fed up . Now, Worry not !

So what you gotta do is follow this thread on fedoraproject. Let’s summarize the steps I took :

Firstlyl , you’ve to setup the RPMFusion repository (Free and Non-Free) :


$  sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

It consists of 2 urls . One for Free and One for Non-Free.

Or if this looks scary , you can use two commands for the same purpose . Just use the 2 urls above , separately.

Now, all you need to do is to install the codecs. But how to find out 2 from such big collections. Well, it turns out , you have a better option. To install the codecs that you might even require in future :


sudo dnf install gstreamer1-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0

You’re now completely setup with the basic codecs for playing videos and audios without having to install any other video player.

Find something more interesting.

 

storymode7

Advertisements

2 Comments Add yours

  1. Jim says:

    There is an easier way, you could use a Fedora remix like Korora which is Fedora with all of that set up for you.

    Liked by 1 person

    1. storymode7 says:

      Lovely ! But as I am a newbie to the whole Linux thing , I thought that getting the Normal Official Fedora and topping it on the way , might as well help me to learn a thing or two .
      Thanks , for the suggestion ! I’ll surely try a remix . 🙂

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s