video-to-mp4
Skill210 starsChanged 2 days agoMITView on GitHub
Converts a single video file to a broadly compatible MP4 using FFmpeg (H.264 video, AAC audio, yuv420p, and faststart), while preserving source resolution and frame rate. Stream-copies an already compatible H.264/AAC MP4 to avoid generation loss. Use when the user wants to convert MKV/MOV/WebM/AVI/OGV or another video to MP4, transcode a video for browser/device compatibility, or mentions H.264, AAC, libx264, faststart, or MP4 export.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- godot-fun/godot-agentword for word, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 1
- godot-fun/godot-agent★ 210100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .agents/skills/AGENTS.mdAGENTS.md
- ai-text-to-speechSkill
- audio-denoiseSkill
- audio-fadeSkill
- audio-loudness-normalizationSkill
- audio-sample-rate-standardizeSkill
- audio-splitSkill
- audio-to-oggSkill
- audio-to-textSkill
- audio-to-wavSkill
- audio-trimSkill
- audio-volume-adjustSkill
- file-naming-normalizationSkill
- git-commit-messageSkill
- image-inpaint-regionSkill
- image-region-remove-key-color-appSkill
- image-remove-backgroundSkill
- image-remove-white-backgroundSkill
- image-resizeSkill
- image-sprite-sheet-splitSkill
- image-to-pngSkill
- image-to-textSkill
- image-trimSkill
- storyboard-av-mixSkill
- storyboard-shot-to-htmlSkill
- storyboardSkill
- storyboard-ttsSkill
- video-4k-normalizationSkill
- video-bgmSkill
- video-compress-to-sizeSkill
- video-cutSkill
- video-merge-gpuSkill
- video-mergeSkill
- video-publishSkill
- video-remove-audioSkill
- video-to-4kSkill
- video-to-60fpsSkill
- video-to-ogvSkill
- video-to-wavSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Add faststart metadata for web playback.
- Very specific: line 18
Read and follow dependency-manager.
- Very specific: line 53
Never overwrite the source.
- Distinctive: line 57
Use the bundled script instead of writing an ad-hoc FFmpeg command.
- Distinctive: line 58
Keep the default quality and compatibility settings unless the user explicitly asks otherwise.
- Distinctive: line 59
Do not resize or change frame rate.
- Very specific: line 60
Use --force-encode only when the user explicitly wants re-encoding of an already compatible MP4.
- Very specific: line 62
If Python or FFmpeg is missing, populate .dependency/ per dependency-manager and retry.
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Video to MP4
Convert one supported video file to a broadly compatible MP4 via FFmpeg.
- Encode video as H.264 (libx264), CRF 18, preset slow, yuv420p.
- Encode audio as AAC 192 kbps.
- Preserve source resolution, frame rate, audio sample rate, and channel layout.
- Add faststart metadata for web playback.
- Stream-copy an already compatible H.264/AAC MP4.
Rules
Read and follow dependency-manager. Run the bundled script as documented and install missing tools into .dependency/.
Quick Start
.dependency/python/python .ai/video-to-mp4/convert.py --video path/to/video.mkvDefault output:
assets/video/intro.mkv
-> assets/video/video-to-mp4/intro.mp4Format Defaults
| Setting | Default | Notes |
| Container | MP4 | +faststart enabled |
| Video | H.264 / libx264 | CRF 18, preset slow, high profile |
| Pixel format | yuv420p | Broad hardware/browser compatibility |
| Audio | AAC 192 kbps | Source rate and channels preserved |
| Resolution / frame rate | Preserve source | No scaling or FPS conversion |
| Compatible H.264/AAC MP4 | Stream copy | No generation loss |
Common Flags
--video · -o / --output · --crf · --preset · --audio-bitrate · --force-encode
.dependency/python/python .ai/video-to-mp4/convert.py --video path/to/video.webm --output path/to/out.mp4
.dependency/python/python .ai/video-to-mp4/convert.py --video path/to/video.mov --crf 20 --preset mediumNever overwrite the source. Input must be one video file, not a directory. Supported inputs: .mp4, .mkv, .mov, .avi, .webm, .wmv, .flv, .m4v, .mpeg, .mpg, .ts, .mts, .m2ts, .3gp, .ogv.
Agent Notes
- Use the bundled script instead of writing an ad-hoc FFmpeg command.
- Keep the default quality and compatibility settings unless the user explicitly asks otherwise.
- Do not resize or change frame rate.
- Use
--force-encodeonly when the user explicitly wants re-encoding of an already compatible MP4. - Tell the user where the
video-to-mp4/output was written; do not replace the source. - If Python or FFmpeg is missing, populate
.dependency/per dependency-manager and retry. - See reference.md for the exact FFmpeg pipelines.
Tests
.dependency/python/python .ai/video-to-mp4/test_convert.pyManual examples: cli/video-to-mp4.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

