Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should isom brand be used to detect MP4? #149

Open
evilpie opened this issue Aug 16, 2021 · 1 comment
Open

Should isom brand be used to detect MP4? #149

evilpie opened this issue Aug 16, 2021 · 1 comment

Comments

@evilpie
Copy link

evilpie commented Aug 16, 2021

Canon has introduced a new RAW image format CR3 which is based on the iso mp4 container

https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/157
https://github.com/lclevy/canon_cr3/blob/master/readme.md

This caused Firefox to automatically sniff a user's CR3 file download as an MP4 video file: https://bugzilla.mozilla.org/show_bug.cgi?id=1725190.

@GPHemsley
Copy link
Member

I don't think we want to be sniffing the CR3 format specifically, either positively or negatively.

However, a later comment in the linked bug indicates that Firefox is using the isom brand to detect it as MP4.

Since that brand is not part of the MP4 sniffing algorithm, the question on the table is: should the MP4 sniffing algorithm be changed to include the isom brand, or should Firefox be changed to remove it?

@GPHemsley GPHemsley changed the title Should Canon CR3 format explicitly not be detected as MP4? Should isom brand be used to detect MP4? Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants