Firefox > YouTube > HTML5 - Video with sound has been supported for quite some time
I watch HTML5 video in Firefox all the time though I prefer using flash
Am I missing something?
Yes, you do seem to miss something, but let me explain
First of all, I guess this thread is not really about HTML5 video in general, but rather specifically about MP4 (H.264 video / AAC audio) instead.
Yes, of course Firefox supports HTML5 video and audio for quite some time.
But there's a difference between WebM (VP8/VP9 video and Vorbis/OPUS audio) and MP4 (H.264 video and AAC audio).
Firefox for Linux supports WebM directly, but not MP4.
On Linux, Firefox currently relies on GStreamer to play MP4 (H.264/AAC) via HTML5.
Currently Firefox makes use of the old and outdated GStreamer 0.10 by default.
But since Firefox 30, it can also use the new GStreamer 1.x, see: https://bugzilla.mozilla.org/show_bug.cgi?id=806917
But GStreamer 1.x currently is not being used by default, see: https://bugzilla.mozilla.org/show_bug.cgi?id=947287
To make Firefox use the new GStreamer 1.x, you need to build it with:
On Ubuntu for example, Firefox is built with --enable-gstreamer=1.0
, so that it uses the new GStreamer 1.x.
So, it would be nice if firefox-ESR.tcz
would also be built with --enable-gstreamer=1.0
, so that Firefox on Tiny Core Linux would also use the new GStreamer 1.x.For the 5.x x86_64/6.x x86_64 repos this would even be mandatory for MP4 playback in Firefox, because the 5.x x86_64/6.x x86_64 repos do not have gst-ffmpeg.tcz (which would be for GStreamer 0.10). They only have gst-libav.tcz, which is for GStreamer 1.x.
By the way:
Starting with Firefox 43 or 44, Mozilla seems plan to do MP4 (H.264/AAC) HTML5 video on Linux directly via FFmpeg/Libav instead of GStreamer, so that GStreamer will no longer be needed, see:https://bugzilla.mozilla.org/show_bug.cgi?id=1207429
Actually I have just tested the latest Firefox Nightly 44.0a1 on Ubuntu and set media.gstreamer.enabled to false in about:config and completely uninstalled GStreamer and Firefox Nightly 44.0a1 could still play MP4 (H.264/AAC) via HTML5 and all the boxes on youtube.com/html5 were still checked
So, GStreamer indeed is no longer required with Firefox 44 to be able to play MP4 via HTML5
. The only thing that needs to be installed is FFmpeg/Libav and then Firefox 44 can play MP4 via HTML5
. From reading https://bugzilla.mozilla.org/show_bug.cgi?id=1207429
and all the associated bugs, it seems like this might actually even work on Firefox 43 already, but not sure, I've only tested Firefox 44.
Since it will take quite a few more weeks for firefox-getLatest.tcz
to reach version 43 or 44 and even months for firefox-ESR.tcz
to reach version 45 (the next ESR version
), it would still be nice if firefox-ESR.tcz
would be built with --enable-gstreamer=1.0
If that would be easy, then it would be nice if you could do it.
But if it would involve a lot of extra work, then I'd say it might probably be better to simply leave it as is and simply wait for Firefox to reach version 43 or 44 and for Firefox ESR to reach version 45, since it will no longer need GStreamer then