codecdetect.com doesn't detect MPE4, M4A, MP3, AAC, and WAVE

RESOLVED FIXED

Status

Tech Evangelism
Desktop
RESOLVED FIXED
5 years ago
a year ago

People

(Reporter: cpearce, Unassigned)

Tracking

Trunk
x86_64
Windows 8

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [video] [js] [needsdiagnosis], URL)

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
On Win8 with the new WMF backend, CodecDetect.com doesn't detect support for the formats we now support. IE and Chrome don't get full marks either, so maybe the page is testing the wrong codecs params.
Looks like a site bug
Component: Video/Audio → Desktop
Product: Core → Tech Evangelism
Created attachment 8564086 [details]
AV codecs.png

He's the screenshot from the site using latest Nightly
Should we mark it as INVALID?
Site code is here - https://github.com/jansensan/codec-detect
Flags: needinfo?(cpearce)

Comment 4

3 years ago
The code is indeed fine. They test appropriately the feature:

for example:
   isMPEG4VideoSupported = "" !== video.canPlayType('video/mp4; codecs="mp4v.20.8"');

in
https://github.com/jansensan/codec-detect/blob/master/assets/js/main.js


Please reopen if I have missed something.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Flags: needinfo?(cpearce)
Resolution: --- → INVALID
Whiteboard: [video] [js]
(Reporter)

Comment 5

3 years ago
The code is totally wrong.

They testing for AAC like so:
isAACAudioSupported = "" !== audio.canPlayType('audio/aac; codecs="mpeg 4, aac"');

https://github.com/jansensan/codec-detect/blob/master/assets/js/main.js#L231

That is totally wrong, and it doesn't return true on any major browser on Windows.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---

Comment 6

3 years ago
Ah good grief! Chris.
Maybe https://github.com/jansensan/codec-detect/issues
is a better place to report this.
http://codecdetect.com/
The page returns for Firefox Nightly on Macosx


# Video Codecs
MPEG4 is not supported
H264 is probably supported
OGG is probably supported
WEBM is probably supported

# Audio Codecs
MP3 is maybe supported
AAC is probably supported
WEBM is probably supported
OGG (Vorbis) is probably supported
OGG (Opus) is probably supported
Wave is probably supported

Is there an issue? Chris 
if Yes, could you open on  https://github.com/jansensan/codec-detect/issues/new
Flags: needinfo?(cpeterson)
Whiteboard: [video] [js] → [video] [js] [needsdiagnosis]
cpearce: you reopened this bug last year. Is this a website bug? Is this still an issue?
Flags: needinfo?(cpeterson) → needinfo?(cpearce)
(Reporter)

Comment 9

a year ago
(In reply to Chris Peterson [:cpeterson] from comment #8)
> cpearce: you reopened this bug last year. Is this a website bug? Is this
> still an issue?

This was a bug in codecdetect's JS. It's been fixed.
Status: REOPENED → RESOLVED
Last Resolved: 3 years agoa year ago
Flags: needinfo?(cpearce)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.