Mobile Safari (iOS): <input type="file"> does no longer convert + downscale video

With one of the recent iOS releases, Apple seems to have changed the behavior of <input type="file"> when it comes to picking videos from the camera roll. It used to be that before the video file was handed over to the website, iOS would downscale the video to 720p and also convert it to H.264 (AVC).

Alas, this is no longer the case. Safari now forwards the video files "as is" and does not transcode them. In particular, it does not convert HEVC-encoded videos to H.264.

Is there a way to make <input type="file"> still transcode/downscale user-selected videos, ie., revert to the old behavior? I tried adding accept="video/*", but to no avail…

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.