Commit graph

21 commits

Author SHA1 Message Date
Moonchild
c8637cc239 Issue #1820 - Part 7: Check bit depth in WebMDecoder to determine if we support HDR. 2022-05-04 10:05:58 +08:00
Moonchild
648430c9f1 Issue #1820 - Part 2: Add VP9-in-MP4 support to the decoder
This also adds support in StageFright for VP9.0 FourCCs and consolidates
individual string checks to helpers for WebM
2022-05-04 10:04:49 +08:00
Moonchild
e5d81e17d3 [DOM media] Add a lock around Reset() in WebMBufferedParser 2022-03-22 23:13:43 +08:00
Moonchild
0cd673d720 Issue #1656 - Part 6: Clean up the build files 2020-09-25 22:04:23 +08:00
wolfbeast
c604c8363d Issue #1536 - Part 2: Parse content to decide whether it's a media segment. 2020-05-09 06:56:49 +08:00
wolfbeast
d71453cef3 Issue #1536 - Part 1: Add timecode checking for the WebM parser 2020-05-09 06:56:47 +08:00
Matt A. Tobin
04c723d568 Issue #80 - De-unify dom/media/webm 2020-05-02 08:19:26 +08:00
Jeroen Vreeken
3dfc953945 Alow AAC audio codec data in matroska/webm streams.
Allow CRC32 elements in matroska cluster elements.
2019-07-19 10:04:57 +08:00
Jeroen Vreeken
68c810a1ac Make matroska mime type checking more consistent. 2019-07-12 16:56:04 +08:00
Jeroen Vreeken
a960d679d5 Allow matroska mime types for video element and MSE
Allow avc (h.264) content in matroska/webm containers
2019-07-12 16:56:02 +08:00
trav90
cbacc81f82 Fix canPlayType/isTypeSupported for AV1 content 2019-02-16 00:17:50 +08:00
trav90
6676331d30 Put AV1 codec behind a pref
Disabled by default.
2019-02-16 00:17:48 +08:00
trav90
d7a7fe75a0 Fix typo (build bustage) 2019-02-16 00:16:52 +08:00
trav90
1c8af26369 Add av1 to MediaSource.isTypeSupported
When av1 video playback is enabled, declare it as supported in the webm container in MediaSource.IsTypeSupported.

Also support special mime types of the form video/webm; codecs=vp9.experimental.<git-commit-id> so test sites can verify playback support of particular encodings while the av1 bitstream is under development.
2019-02-16 00:16:48 +08:00
trav90
c0086bdae8 Add missing includes to WebMDemuxer 2019-02-16 00:16:38 +08:00
trav90
76faa8e90f Recognize AV1 in WebMDemuxer
Call AOMDecoder to handle AV1 video tracks from the WebM container. The new decoder is very similar to VPXDecoder so we can use parallel calls. This codec is still build-time conditional.
2019-02-16 00:16:36 +08:00
trav90
23c04adbe8 [webm] Don't reject seeks with EOS
The MediaDecoderStateMachine treat seek's EOS as fatal errors, so instead we always resolve the seek promise, and let the next GetSample return EOS.
2019-02-16 00:15:46 +08:00
trav90
64b9480493 [webm] Treat demuxing errors differently than EOS
Otherwise the WebM demuxer makes no difference between a genuine EOS and encountering an error.
2019-02-16 00:15:44 +08:00
trav90
dfcff1dfbc Call VPXDecoder libvpx wrappers for WebM
Use the new helper functions instead of calling libvpx directly. This simplifies adding other codecs in the future.
2019-02-16 00:15:42 +08:00
trav90
e7d7e0d2bf [webm] Store LastSeenFrame dimensions as an nsIntSize
This simplifies the comparison and update logic.
2019-02-16 00:15:36 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00