PDA

View Full Version : Unable to play videos in totem on newly installed f27 system.



JohnRylaarsdam
7th December 2017, 05:45 PM
I have installed fedora 27 on a new system, and discovered that I am unable to play video filed (mp4, flash, avi).
(I had access to another system which had been upgraded to 27 from 24-225-26, and experienced no such problem.)
When I try to play an mp4 file, I get the message

Unable to play the file
MPEG-4 AAC decoder, H.264 (Main Profile) deccoder are required to play the file, but are not installed.

If I then click on the "Find in Software" button in the message box, Software opens with three packages displayed:

GStreamer Multimedia Codecs
Multimedia playback for APE, AVI, DV, FLAC, FLX, Flash, MKV, MP4, Speex, VP8, VP9 and WAV

GStreamer Multimedia Codecs - Extra
Multimedia playback for AIFF, DVB, GSM, MIDI, MXF and Opus

GStreamer Multimedia Codecs - H.264
Multimedia playback for H.264

I tried installing each of the three, but each one failed, giving me these messages:

Unable to install GStreamer Multimedia Codecs
gstreamer1-plugins-good-1.12.3-1.fc27.x86_64 is already installed

Unable to install GStreamer Multimedia Codecs - Extra
gstreamer1-plugins-bad-free-1.12.3-1.fc27.x86_64 is already installed

Unable to install GStreamer Multimedia Codecs - H.264
[system/package/fedora/codec/gstreamer-openh264/*] repo already enabled

I checked gstreamer packages with "dnf list installed" and found

gstreamer1(x86-64)
gstreamer1-plugins-base(x86-64) >= 1.6.0
gstreamer1-plugins-good(x86-64)
gstreamer1-plugins-ugly-free(x86-64)

I am not sure how to proceed. Can anyone suggest a solution, or additional diagnostic steps.

donatom
7th December 2017, 06:14 PM
Install vlc and maybe even mplayer. See if either one of those works with your video files. If you don't have rpm-fusion repos installed you will have to install them (https://rpmfusion.org/Configuration/ )

JohnRylaarsdam
7th December 2017, 09:57 PM
vlc works fine
thank you

yonnie
16th January 2018, 10:34 PM
I followed the instructions, still can't play a dvd. The title menu will appear and that's about it. vlc is installed. Cannot find gstreamer multimedia h.264, but rpmfusion repo is present.

donatom
17th January 2018, 07:08 AM
Install pavucontrol and make sure you are running pulseaudio. Open pavucontrol and make sure pulse is detecting the proper video card (in "Configuration"). Then check "Output Device" and look at drop-down menu to make sure it has found your speakers/earphones, etc. Make sure the "speaker" is not muted and the drop-down menu on the bottom should say "All Output Devices". Then go to "Playback" and change drop-down menu if necessary. Again make sure audio hasn't been muted. Look at bottom drop-down device. It should say "All Output Devices". If you see the audio line pulsate (either here or when you look at "Output Device"), then your audio is working. Keep playing with settings until audio gets to your speakers.

If you have installed VLC, you probably have all codecs, etc that you need.

bobx001
17th January 2018, 02:01 PM
I would install rpmfusion first, then mplayer, mplayer-gui, a52dec, libdvdread, libdvdnav , and also kaffeine (I use kaffeine to watch DVDs on comp, and I use mplayer for everything else).