Converting iPhone WebM video files to MP4

How to convert WebM files to MP4 I recorded it at WebM on my PS5 and it won’t go into my Iphone photos app because of that but I have it at my Iphone files app

iPhone SE, iOS 18

Posted on Oct 29, 2026 8:33 PM

Reply
4 replies

Oct 30, 2026 12:47 AM in response to DaysJ

The easiest way is to convert that VP8/VP9 video & OPUS audio .webm to H.264/H.265 & AAC .mp4 with Handbrake. Its default preset is quite good.


https://handbrake.fr/


Or, use ffmpeg to encode H.265 & AAC .mp4 via the Terminal with something like:


ffmpeg -i input.webm -c:v libx265 -crf 28 -preset medium -color_range limited -pix_fmt yuv420p10le -profile:v main10 -x265-params colorprim=1:transfer=1:colormatrix=1:range=limited -timecode 00:00:00:00 -tag:v hvc1 -c:a aac_at -b:a 128k output.mp4


The libx265 encode above uses CPU. If you want much faster encode with slightly lower quality output with he same file size, use Apple's VideoToolbox hardware-accelerated encode (tweak "-b:v 1000K" to set the desired output size):


ffmpeg -i input.webm -vf setsar=sar=1/1,setparams=range=limited:color_primaries=1:color_trc=1:colorspace=1 -c:v hevc_videotoolbox -b:v 1000K -color_range limited -pix_fmt p010le -profile:v main10 -timecode 00:00:00:00 -tag:v hvc1 -c:a aac_at -b:a 128k output.mp4

Converting iPhone WebM video files to MP4

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.