Should WebM include H.264 as a supported video codec in the official document? If not, should Chrome's support be considered a spec violation, and thus be removed?
I'm leaning toward marking this WontFix because Working As Intended. The DocType[1,2] for such files is Matroska and not WebM. The library (mkvmuxer aka libwebm) cannot control output file names. If there's a bug here it's related to the file extensions and mimetypes used by MediaRecorder implementations that exist in the wild (and possibly MediaRecorder itself).
Okay, so... Chromium supports playing Matroska as far as it uses .webm as its extension (or maybe video/webm as its mimetype)... That's... interesting...
quanxunz… via monorail
unread,
May 25, 2019, 1:13:16 AM5/25/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
The file extension isn't directly informative to the client requesting the content. As you're probably aware it maps to the mimetype on the HTTP server, but the client is free to do whatever it pleases with the content received in the HTTP response.
If the browser receiving the content knows how to demux and decode H.264 video from the container then it's almost certainly going to play the content. In this case the mimetype does not agree with the Matroska doctype, but I'm not really seeing any harm in this situation.
I suppose a browser could be configured in a pedantic mode that forces it to reject such content, but that doesn't seem user friendly to the vast majority of people attempting to play the content. Such a feature would likely only be useful to developers.