You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently on some Windows installs (like my friend's live media production machine) the system-wide mimetype registry has a nonstandard record for .mov files under HKEY_CLASSES_ROOT.
As web browsers defer to this registry to figure out the uploaded video's mimetype, the upload request sends video/mov instead of the standard video/quicktime that PeerTube is currently set up to accept, therefore the user is faced with an error telling them their format isn't supported even though .mov will be listed as a supported extension.
Steps to reproduce
Install an application that changes the .mov mimetype to video/mov (not sure which one it is yet, but my hunch is Premiere)
Try to upload a file with .mov extension to PeerTube
Get rejected for invalid file type even though the error clearly lists .mov as a valid format
Describe the expected behavior
PeerTube either returns a different, more descriptive error, or caves and accepts video/mov mimetype for .mov files as well as video/quicktime even though it isn't standard, as this seems to be a somewhat common issue.
Another project that ran into this: immich-app/immich#1913
It might also be nice to log the rejected mimetype with the returned error to simplify troubleshooting similar issues.
Browser name, version and platforms on which you could reproduce the bug: Windows 10, both Chrome 129.0.6668.90 and Firefox 131.0.2, probably every browser that relies on OS mimetypes
The text was updated successfully, but these errors were encountered:
Describe the current behavior
Apparently on some Windows installs (like my friend's live media production machine) the system-wide mimetype registry has a nonstandard record for
.mov
files underHKEY_CLASSES_ROOT
.As web browsers defer to this registry to figure out the uploaded video's mimetype, the upload request sends
video/mov
instead of the standardvideo/quicktime
that PeerTube is currently set up to accept, therefore the user is faced with an error telling them their format isn't supported even though.mov
will be listed as a supported extension.Steps to reproduce
.mov
mimetype to video/mov (not sure which one it is yet, but my hunch is Premiere).mov
extension to PeerTube.mov
as a valid formatDescribe the expected behavior
PeerTube either returns a different, more descriptive error, or caves and accepts
video/mov
mimetype for.mov
files as well asvideo/quicktime
even though it isn't standard, as this seems to be a somewhat common issue.Another project that ran into this: immich-app/immich#1913
It might also be nice to log the rejected mimetype with the returned error to simplify troubleshooting similar issues.
Additional information
PeerTube instance:
Browser name, version and platforms on which you could reproduce the bug: Windows 10, both Chrome 129.0.6668.90 and Firefox 131.0.2, probably every browser that relies on OS mimetypes
The text was updated successfully, but these errors were encountered: