You can read more about the details of this approach here. Then run two passes on the video file after the log is created.įfmpeg -i your-video-file.mp4 -b:v 0 -crf 30 -pass 1 -an -f webm -y /dev/nullįfmpeg -i your-video-file.mp4 -b:v 0 -crf 30 -pass 2 output.webm.This setting created a great-looking video, and my WebM video ended up being 3.4MB – perfect! However, when converting an MP4 file of 8.5MB I got a WebM version that was 91.6MB – 10x larger! Instead, I recommend using -crf 30. Next, to convert your MP4 video to WebM lossless, you need to use -crf 0 in the below commands. brew install ffmpeg Step 3: Convert MP4 to WebM Using the terminal app run the following. ![]() ![]() ![]() I previously wrote an article how to install ffmpeg on the Raspberry Pi. bin/bash -c "$(curl -fsSL )" Step 2: Install FFmpeg FFmpeg is a great little program to help convert more or less any media format. To convert MP4 to WebM video on macOS, install FFmpeg using Homebrew.
0 Comments
Leave a Reply. |