[CentOS] MP4/H.264 codec for Firefox?

Tue Sep 26 19:51:41 UTC 2017
Phil Perry <pperry at elrepo.org>

On 26/09/17 20:26, Roman Kennke wrote:
> Hello,
> 
> I am trying to get MP4/H.264 playback in Firefox to work on my CentOS 
> laptop (for vimeo).
> 
> I installed the gstreamer plugins as described here:
> 
> https://wiki.centos.org/TipsAndTricks/MultimediaOnCentOS7
> 
> (No, I did not install Flash, VLC and all the other stuff. I only want 
> HTML5 MP4 playback..)
> 
> I enabled the nux repos. I did install all available gstreamer plugins, 
> i.e. -good -bad -ugly -ffmpeg etc. No success.
> 
> Has anybody got mp4 playback working?
> 
> Here's a test page:
> 
> https://www.quirksmode.org/html5/tests/video.html
> 
> Help would be appreciated!
> 
> Best regards, Roman
> 


Yes, it's working here, but I can't remember for sure exactly what I 
needed to install to get it working.

Here's my installed gstreamer packages:

rpm -qa | grep gstreamer | sort
gstreamer-0.10.36-7.el7.x86_64
gstreamer1-1.10.4-2.el7.x86_64
gstreamer1-libav-1.0.6-1.el7.nux.x86_64
gstreamer1-plugins-bad-free-1.10.4-2.el7.x86_64
gstreamer1-plugins-bad-freeworld-1.0.6-1.el7.nux.x86_64
gstreamer1-plugins-base-1.10.4-1.el7.x86_64
gstreamer1-plugins-good-1.10.4-2.el7.x86_64
gstreamer1-plugins-ugly-1.0.6-2.el7.nux.x86_64
gstreamer-plugins-bad-free-0.10.23-23.el7.x86_64
gstreamer-plugins-base-0.10.36-10.el7.x86_64
gstreamer-plugins-good-0.10.31-13.el7.x86_64
gstreamer-plugins-ugly-0.10.19-17.el7.nux.x86_64
gstreamer-tools-0.10.36-7.el7.x86_64
PackageKit-gstreamer-plugin-1.1.5-1.el7.x86_64
phonon-backend-gstreamer-4.6.3-3.el7.x86_64

and here's everything from the nux repo on this box:

rpm -qa | grep 'el7\.nux' | sort
faac-1.28-6.0.el7.nux.x86_64
faad2-libs-2.7-5.el7.nux.x86_64
ffmpeg-2.6.8-3.el7.nux.x86_64
ffmpeg-libs-2.6.8-3.el7.nux.x86_64
gstreamer1-libav-1.0.6-1.el7.nux.x86_64
gstreamer1-plugins-bad-freeworld-1.0.6-1.el7.nux.x86_64
gstreamer1-plugins-ugly-1.0.6-2.el7.nux.x86_64
gstreamer-plugins-ugly-0.10.19-17.el7.nux.x86_64
libavdevice-2.6.8-3.el7.nux.x86_64
libcddb-1.3.2-12.el7.nux.x86_64
libdca-0.0.5-7.el7.nux.x86_64
libdvdcss-1.2.13-1.el7.nux.x86_64
libmimic-1.0.4-7.el7.nux.x86_64
libmms-0.6.4-1.el7.nux.x86_64
libmpeg2-0.5.1-10.el7.nux.x86_64
libquicktime-1.2.4-19.el7.nux.x86_64
librtmp-2.4-2.20131205.gitdc76f0a.el7.nux.x86_64
libsidplay-1.36.60-2.el7.nux.x86_64
live555-2013.11.26-1.el7.nux.x86_64
mjpegtools-libs-2.1.0-5.el7.nux.x86_64
nux-dextop-release-0-5.el7.nux.noarch
opencore-amr-0.1.3-3.el7.nux.x86_64
twolame-libs-0.3.13-3.el7.nux.x86_64
vlc-2.2.5.1-2.el7.nux.x86_64
vlc-core-2.2.5.1-2.el7.nux.x86_64
vo-amrwbenc-0.1.2-1.el7.nux.x86_64
x264-libs-0.142-11.20141221git6a301b6.el7.nux.x86_64
x265-libs-1.9-1.el7.nux.x86_64
xvidcore-1.3.2-5.el7.nux.x86_64


Let me know if you need info on other installed packages.