During playback of mp4 videos I only see a white screen. Firefox on the same machine works fine. Also, webm videos work.
Steps to reproduce: create an HTML document with the following content:
During playback of mp4 videos I only see a white screen. Firefox on the same machine works fine. Also, webm videos work.
Media formats supported by the HTML audio and video elements:
To avoid patent issues, support for MPEG 4, H.264 and MP3 is not built directly into Firefox. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox supports these formats on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.
Yeah, I saw that page, that's why I mentioned that Firefox works on the same configuration. The problem is in Tor Browser. Latest version is based on Firefox 38, so it should work.
During playback of mp4 videos I only see a white screen. Firefox on the same machine works fine. Also, webm videos work.
Media formats supported by the HTML audio and video elements:
To avoid patent issues, support for MPEG 4, H.264 and MP3 is not built directly into Firefox. Instead it relies on support from the OS or hardware (the hardware also needs to be able to support the profile used to encode the video, in the case of MP4). Firefox supports these formats on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.
Tested ESR-38 and Tor Browser 5.0.6 on the Win7 (default system's DirectShow installation, without any system-wide browser plugins installed.). Works fine for both browsers.
I have both 0.10 and 1.0 gstreamer installed (see the list below). Not sure how to figure out which one FF uses. BTW, I tested another machine with Ubuntu 14.04 and the behavior is the same.
i bluez-gstreamer - Bluetooth GStreamer support i A gir1.2-gstreamer-1.0 - Description: GObject introspection data for the GStreamer library i gstreamer0.10-alsa - GStreamer plugin for ALSA i gstreamer0.10-fluendo-mp3 - Fluendo mp3 decoder GStreamer 0.10 plugin i A gstreamer0.10-gconf - GStreamer plugin for getting the sink/source information from GConf i gstreamer0.10-gnonlin - non-linear editing module for GStreamer i A gstreamer0.10-nice - ICE library (GStreamer 0.10 plugin) i gstreamer0.10-plugins-bad - GStreamer plugins from the "bad" set i A gstreamer0.10-plugins-base - GStreamer plugins from the "base" set i gstreamer0.10-plugins-base-apps - GStreamer helper programs from the "base" set i A gstreamer0.10-plugins-good - GStreamer plugins from the "good" set i gstreamer0.10-plugins-ugly - GStreamer plugins from the "ugly" set i gstreamer0.10-pulseaudio - GStreamer plugin for PulseAudio i A gstreamer0.10-tools - Tools for use with GStreamer i gstreamer0.10-vaapi - VA-API plugins for GStreamer i gstreamer0.10-x - GStreamer plugins for X11 and Pango i gstreamer1.0-alsa - GStreamer plugin for ALSA i A gstreamer1.0-clutter - Clutter PLugin for GStreamer 1.0 i gstreamer1.0-crystalhd - Crystal HD Video Decoder (GStreamer plugin) i gstreamer1.0-fluendo-mp3 - Fluendo mp3 decoder GStreamer 1.0 plugin i A gstreamer1.0-gnonlin - non-linear editing module for GStreamer i gstreamer1.0-libav - libav plugin for GStreamer i gstreamer1.0-nice - ICE library (GStreamer plugin) i A gstreamer1.0-plugins-bad - GStreamer plugins from the "bad" set i A gstreamer1.0-plugins-bad-faad - GStreamer faad plugin from the "bad" set i A gstreamer1.0-plugins-bad-videoparsers - GStreamer videoparsers plugin from the "bad" set i A gstreamer1.0-plugins-base - GStreamer plugins from the "base" set i A gstreamer1.0-plugins-good - GStreamer plugins from the "good" set i gstreamer1.0-plugins-ugly - GStreamer plugins from the "ugly" set i gstreamer1.0-pulseaudio - GStreamer plugin for PulseAudio i gstreamer1.0-tools - Tools for use with GStreamer i gstreamer1.0-vaapi - VA-API plugins for GStreamer i A gstreamer1.0-x - GStreamer plugins for X11 and Pango i A libgstreamer-plugins-bad0.10-0 - GStreamer shared libraries from the "bad" set i A libgstreamer-plugins-bad1.0-0 - GStreamer development files for libraries from the "bad" set i A libgstreamer-plugins-base0.10-0 - GStreamer libraries from the "base" set i A libgstreamer-plugins-base1.0-0 - GStreamer libraries from the "base" set i A libgstreamer-plugins-good1.0-0 - GStreamer development files for libraries from the "good" set i A libgstreamer-vaapi0.10 - GStreamer libraries from the "vaapi" set i A libgstreamer-vaapi1.0-0 - GStreamer libraries from the "vaapi" set i A libgstreamer0.10-0 - Core GStreamer libraries and elements i A libgstreamer1.0-0 - Core GStreamer libraries and elements
I have both 0.10 and 1.0 gstreamer installed (see the list below). Not sure how to figure out which one FF uses. BTW, I tested another machine with Ubuntu 14.04 and the behavior is the same.
Open about:buildconfig page and look for "--enable-gstreamer=" at "Configure arguments". If absent then 0.10 used else number version specified there.
I have both 0.10 and 1.0 gstreamer installed (see the list below). Not sure how to figure out which one FF uses. BTW, I tested another machine with Ubuntu 14.04 and the behavior is the same.
Open about:buildconfig page and look for "--enable-gstreamer=" at "Configure arguments". If absent then 0.10 used else number version specified there.
There are no 1.0 version in lucid, it's hard to simply change used version. Mozilla closed as wontfix such wishes too, as many distributives in-use still has no anything besides 0.10
And many distributives nuked support for mp4 plugins by gstreamer-0.10. There are no good resolve for this ticket, half of Linux's user base have been affected by any decision for today.
Trac: Summary: Enable Gstreamer 1.0 support instead of 0.1 by default to Build against GStreamer 1.0 by default on Linux Type: defect to enhancement
Some data points (I'm still not sure what exactly should be done here):
Debian Jessie has GStreamer 1.0, and lacks the ffmpeg plugin for GStreamer 0.10 => MP4 video playback is broken in Tor Browser on Tails 2.0~beta1 (scheduled to become stable at the end of the month), while it worked just fine on Wheezy-based Tails 1.x. Moving to GST 1.0 would improve things.
Debian Wheezy has gstreamer1.0 available from the official backports repository. It also has GSTreamer 0.10 in the main repo => moving to GST 1.0 would break things but there is a relatively easy workaround.
Among currently supported Ubuntu releases, only 12.04 LTS (Precise) is lacking GStreamer 1.0, and only it has gstreamer1.0-ffmpeg; if we really want to keep supporting video playback on Precise, perhaps a backport would be doable there too: what applies to Debian Wheezy often applies to Ubuntu Precise, which is quite similar. In the current state of things, moving to GST 1.0 would improve things on all supported Ubuntu releases, except it would make them worse on Precise (but a backport would help there).
On Arch Linux it seems that gstreamer0.10-ffmpeg is available from the Extras repo only. And of course it has GSTreamer 1.0 too.
In the Red Hat world, no such thing like gstreamer0.10-ffmpeg in the official repos; but various third party repos propose that plugin. No idea if people running these distros actually trust and use these repos, so no idea if they currently have working MP4 video in Tor Browser.
With my Tails and Debian hats, of course I would prefer if Tor Browser was built against GSTreamer 1.0. The above data suggests it would not make things worse on Red Hat and Arch.
What other information do we need to make a decision?
Note that we've seen tons of crashes with that coming from ubuntu builds that have flipped this switch. I wouldn't recommend people to use it - though for MP3 only it may be fine, the crashes could have been video.
Thanks. So perhaps it's not worth putting time+energy into changing which version of GStreamer we build against: long term, we'll get the functionality we need via MSE instead.
But it would be nice to have a short-term workaround. It was suggested on the Tails bug tracker to set these prefs:
... and I confirm this fixes MPEG-4 video support for me. Do Tor Browser developers think it's safe to apply these changes in Tails? (and ideally in TBB)
If preferred I can create a dedicated ticket about this short-term workaround topic, so that we can close (as rejected, I guess) this one. Or, we can repurpose this one.
Thanks. So perhaps it's not worth putting time+energy into changing which version of GStreamer we build against: long term, we'll get the functionality we need via MSE instead.
But it would be nice to have a short-term workaround. It was suggested on the Tails bug tracker to set these prefs:
... and I confirm this fixes MPEG-4 video support for me. Do Tor Browser developers think it's safe to apply these changes in Tails? (and ideally in TBB)
Hm...
446 // We want to enable on non-release builds and on release windows and mac447 // but on release builds restrict to YouTube. We don't enable for other448 // configurations because code for those platforms isn't ready yet.
As Mozilla has never built FF against GStreamer 1.0 and says they won't fix it, the enhancement can be resolved as INVALID.
But MSE is not needed to play mp4.