Skip to content

Instantly share code, notes, and snippets.

View brightzheng100's full-sized avatar

Bright Zheng brightzheng100

View GitHub Profile
@brightzheng100
brightzheng100 / ffmpeg.md
Created October 17, 2022 09:02
MP4 processing with ffmpeg

It's frustrating to have a much bigger file exported from iMovie. For example, a editing of WebEx recording, which is MP4 file, in iMovie and exporting it out as MP4, will significantly increase the size, say from 300MB to 2.5GB.

The simplest way to shrink it, based on my experiments, is to use ffmpeg:

ffmpeg -i source.mp4 -c:v libx265 -preset fast -crf 28 -tag:v hvc1 -c:a eac3 -b:a 224k output.mp4
@brightzheng100
brightzheng100 / Multiple JDK versions in MacOS.md
Created January 12, 2024 09:14
Multiple JDK versions in MacOS

Install whatever versions you need

brew install openjdk@8
brew install openjdk@11
brew install openjdk@17

View what versions are now available