Bug 229430 - www/firefox AV1, Bitmovin encoding: demo not playing with Bitmovin Player (7.3.0-b7)
Summary: www/firefox AV1, Bitmovin encoding: demo not playing with Bitmovin Player (7....
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gecko mailing list
URL: https://demo.bitmovin.com/public/fire...
Keywords:
Depends on: 229893
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-30 16:17 UTC by Graham Perrin
Modified: 2018-12-10 20:26 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gecko)


Attachments
Screen shot (111.27 KB, image/png)
2018-06-30 16:17 UTC, Graham Perrin
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin 2018-06-30 16:17:47 UTC
Created attachment 194792 [details]
Screen shot

media.av1.enabled is true (default), the 'AV1 Demo by Mozilla and Bitmovin' appears blank, black. 

$ pkg info firefox | grep Version ; date ; uname -a
Version        : 61.0_1,1
Sat 30 Jun 2018 17:14:55 BST
FreeBSD momh167-gjp4-hpelitebook8570p-freebsd 12.0-CURRENT FreeBSD 12.0-CURRENT #6 r335800: Sat Jun 30 03:35:14 BST 2018     root@momh167-gjp4-hpelitebook8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64
Comment 1 Graham Perrin 2018-06-30 16:18:37 UTC
> MPEG-DASH Adaptive Streaming with AV1 by Mozilla and Bitmovin

> Content encoded in AV1 by Bitmovin Encoding and played back with Bitmovin Player (7.3.0-b7) in Firefox (61.0)
Comment 2 Graham Perrin 2018-06-30 16:29:45 UTC
… if I start in safe mode, load _and then_ reload the page, there's this, in the black box: 

> This browser does not seem to support (this version of) AV1, 
> please use Firefox Nightly.
> 
> Already on Firefoy Nightly? Please enable the 
> media.av1.enabled flag in your Firefox settings at about:config.
Comment 3 Jan Beich freebsd_committer 2018-06-30 17:07:45 UTC
Some features are disabled by default unless you're building Nightly. AV1 is one of those, see
https://searchfox.org/mozilla-central/rev/4074ba403219/toolkit/moz.configure#396-397

Try adding MOZ_OPTIONS+=--enable-av1 to Makefile.local under www/firefox, www/firefox-esr, www/waterfox, etc. I'm surprised Firefox is able to play any public AV1 video given its bundled libaom copy is from before bitstream format has been finalized.
Comment 4 Graham Perrin 2018-07-01 04:16:24 UTC
Thanks. 

Firefox 61.0_3,1: success. 

Waterfox 56.2.1.48_1: fail (I didn't expect it to work, the media.av1.enabled boolean does not exist).
Comment 5 Jan Beich freebsd_committer 2018-07-29 19:03:46 UTC
(In reply to Jan Beich from comment #3)
> I'm surprised Firefox is able to play any public AV1 video given its
> bundled libaom copy is from before bitstream format has been
> finalized.

Turns out Mozilla is as guilty as Google in (ab)using *draft* standards in order to promote their browser.
https://bugzilla.mozilla.org/show_bug.cgi?id=1479304
Comment 6 Graham Perrin 2018-08-12 01:56:49 UTC
Thanks

<https://people.xiph.org/~tdaede/av1/akiyo_cif_short.webm> is more explicit (with Firefox 61.0.2,1), 

> No video with supported format and MIME type found.
Comment 7 Jan Beich freebsd_committer 2018-12-10 20:26:39 UTC
Firefox 63 enabled AV1 build by default but upstream is still yet to flip the pref. Obviously, AV1 on FreeBSD is not gonna benefit from sandboxing due to lack of Capsicum integration.

https://bugzilla.mozilla.org/show_bug.cgi?id=1478005
https://bugzilla.mozilla.org/show_bug.cgi?id=1452146

Bitmovin demo was also updated to work with Firefox >= 63.