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

Tue Sep 26 21:38:36 UTC 2017
J Martin Rushton <martinrushton56 at btinternet.com>

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
> 
I recently updated to 7.4 and found a number of media channels not
working.  This evening I issued the following command:

# yum install flash-plugin icedtea-web smplayer ffmpeg
HandBrake-{gui,cli} libdvdcss gstreamer{,1}-plugins-ugly
gstreamer-plugins-bad-nonfree gstreamer1-plugins-bad-freeworld

The history entry shows (you'll need a wide format to see clearly):

Transaction performed with:
    Installed     rpm-4.11.3-25.el7.x86_64                      @base
    Installed     yum-3.4.3-154.el7.centos.noarch               @base
    Installed     yum-metadata-parser-1.1.4-10.el7.x86_64       @anaconda
    Installed     yum-plugin-fastestmirror-1.1.31-42.el7.noarch @base
Packages Altered:
    Install     HandBrake-cli-0.9.9-5.el7.nux.x86_64
@nux-dextop
    Install     HandBrake-gui-0.9.9-5.el7.nux.x86_64
@nux-dextop
    Dep-Install aalib-libs-1.4.0-0.22.rc5.el7.x86_64                   @epel
    Dep-Install crystalhd-firmware-3.10.0-11.el7.noarch                @epel
    Dep-Install enca-1.18-1.el7.x86_64                                 @epel
    Dep-Install faac-1.28-6.0.el7.nux.x86_64
@nux-dextop
    Dep-Install fdk-aac-0.1.4-1.x86_64
@nux-dextop
    Install     ffmpeg-2.6.8-3.el7.nux.x86_64
@nux-dextop
    Dep-Install ffmpeg-libs-2.6.8-3.el7.nux.x86_64
@nux-dextop
    Dep-Install fribidi-0.19.4-6.el7.x86_64                            @base
    Install     gstreamer-plugins-bad-nonfree-0.10.23-2.el7.nux.x86_64
@nux-dextop
    Install     gstreamer-plugins-ugly-0.10.19-17.el7.nux.x86_64
@nux-dextop
    Install     gstreamer1-plugins-ugly-1.0.6-2.el7.nux.x86_64
@nux-dextop
    Dep-Install lame-libs-3.99.5-8.el7.x86_64                          @epel
    Dep-Install liba52-0.7.4-27.el7.x86_64                             @epel
    Dep-Install libass-0.13.4-1.el7.x86_64                             @epel
    Dep-Install libavdevice-2.6.8-3.el7.nux.x86_64
@nux-dextop
    Dep-Install libbs2b-3.1.0-13.el7.x86_64                            @epel
    Dep-Install libcaca-0.99-0.17.beta17.el7.x86_64                    @epel
    Dep-Install libcrystalhd-3.10.0-11.el7.x86_64                      @epel
    Dep-Install libdc1394-2.2.2-3.el7.x86_64                           @epel
    Install     libdvdcss-1.2.13-1.el7.nux.x86_64
@nux-dextop
    Dep-Install libmad-0.15.1b-20.el7.x86_64                           @epel
    Dep-Install libmpeg2-0.5.1-10.el7.nux.x86_64
@nux-dextop
    Dep-Install libnemesi-0.7.0-0.5.20110215git.el7.nux.x86_64
@nux-dextop
    Dep-Install libsidplay-1.36.60-2.el7.nux.x86_64
@nux-dextop
    Dep-Install libva-1.2.1-3.el7.x86_64                               @epel
    Dep-Install libvdpau-1.1.1-3.el7.x86_64                            @base
    Dep-Install lirc-libs-0.10.0-3.el7.x86_64                          @epel
    Dep-Install mplayer-1.1-33.20150505svn.el7.nux.x86_64
@nux-dextop
    Dep-Install mplayer-common-1.1-33.20150505svn.el7.nux.x86_64
@nux-dextop
    Dep-Install netembryo-0.1.1-5.el7.nux.x86_64
@nux-dextop
    Dep-Install opencore-amr-0.1.3-3.el7.nux.x86_64
@nux-dextop
    Dep-Install qt5-qtbase-5.6.2-1.el7.x86_64                          @base
    Dep-Install qt5-qtbase-common-5.6.2-1.el7.noarch                   @base
    Dep-Install qt5-qtbase-gui-5.6.2-1.el7.x86_64                      @base
    Dep-Install qt5-qtscript-5.6.2-1.el7.x86_64                        @base
    Dep-Install qtlockedfile-qt5-2.4-20.20150629git5a07df5.el7.x86_64  @epel
    Dep-Install qtsingleapplication-qt5-2.6.1-28.el7.x86_64            @epel
    Dep-Install schroedinger-1.0.11-4.el7.x86_64                       @epel
    Install     smplayer-17.7.0-1.el7.nux.x86_64
@nux-dextop
    Dep-Install twolame-libs-0.3.13-3.el7.nux.x86_64
@nux-dextop
    Dep-Install webkitgtk-2.4.9-1.el7.x86_64                           @epel
    Dep-Install x264-libs-0.142-11.20141221git6a301b6.el7.nux.x86_64
@nux-dextop
    Dep-Install x265-libs-1.9-1.el7.nux.x86_64
@nux-dextop
    Dep-Install xcb-util-renderutil-0.3.9-3.el7.x86_64                 @base
    Dep-Install xcb-util-wm-0.4.1-5.el7.x86_64                         @base
    Dep-Install xvidcore-1.3.2-5.el7.nux.x86_64
@nux-dextop

The result is that I can now watch TV, and ALL 3 of your test cases work
with Firefox ESR 52.3.0

Hope that helps,
Martin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20170926/f164f058/attachment-0004.sig>