screen-recording-mp4

Convert macOS screen recording .mov files into lightweight shareable MP4 videos with ffmpeg.

Updated Jan 30, 2026
One-click install
npx skills add https://github.com/RyoMa99/chezmoi_dotfiles --skill screen-recording-mp4-ryoma99
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: screen-recording-mp4
Source: https://github.com/RyoMa99/chezmoi_dotfiles/tree/main/dot_claude/skills/screen-recording-mp4
Command: npx skills add https://github.com/RyoMa99/chezmoi_dotfiles --skill screen-recording-mp4-ryoma99

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ffmpeg.

What problem does it solve? macOS screen recordings saved as .mov files are often too large to attach to GitHub PRs, Slack messages, or Notion pages. This Skill re-encodes them with ffmpeg into compact, web-friendly MP4 files that play inline anywhere. ## Core Features & Use Cases - Automatic input detection: Finds the latest .mov recordings on the Desktop or in Movies when no path is given, and inspects codec, resolution, and duration with ffprobe before converting. - Three conversion modes: H.264 for maximum compatibility (GitHub, Zenn, Qiita), HEVC for smaller size (Slack, Notion), and experimental AV1 for the smallest output. - Share-ready output: Adds +faststart so videos start playing immediately in browsers, and reports before/after file sizes with compression ratio. - Use Case: You record a bug demo with Cmd+Shift+5, then ask to convert it for a GitHub PR. The Skill locates the file, encodes it to H.264 MP4, and reports an 87% size reduction ready to paste into the issue. ## Quick Start Convert my latest screen recording on the Desktop to a lightweight MP4 I can attach to a GitHub PR.

Frequently Asked Questions about screen-recording-mp4

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a .mov screen recording to MP4 on macOS?

Use ffmpeg with the libx264 encoder: ffmpeg -i input.mov -c:v libx264 -crf 25 -preset medium -c:a aac -b:a 128k -movflags +faststart output.mp4. This produces a compact H.264 MP4 that plays inline on GitHub and in browsers.

What ffmpeg settings compress screen recordings for GitHub PRs?

Use H.264 with -crf 25 and -preset medium for a good balance of quality and size, typically reducing the file to 10-20% of the original. Always add -movflags +faststart so the video starts playing immediately when embedded.

H.264 vs HEVC vs AV1 for sharing screen recordings?

H.264 offers the widest compatibility for GitHub and older environments. HEVC (libx265 with -tag:v hvc1) is 30-50% smaller and works in Safari and QuickTime. AV1 is smallest but has less certain playback support, so use it only when explicitly needed.

Why won't my HEVC MP4 open in QuickTime?

QuickTime requires the hvc1 tag to recognize HEVC streams in MP4 containers. Re-encode with -tag:v hvc1 added to the ffmpeg command and the file will open correctly in QuickTime and Safari.

Why does my uploaded video not play on GitHub?

The MP4 likely lacks the faststart flag, meaning the moov atom is at the end of the file. Re-encode with -movflags +faststart so browsers can begin playback before downloading the entire video.

Can this convert screen recordings to GIF instead of MP4?

The Skill outputs MP4 only, because GIF has color limitations and poor size efficiency for screen recordings. If a GIF is strictly required, it must be handled as a separate one-off request outside the standard flow.