youtube2mp4

Download YouTube videos as MP4 files with yt-dlp and ffmpeg.

30|1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/s-choung/Research-Skills --skill youtube2mp4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube2mp4
Source: https://github.com/s-choung/Research-Skills/tree/main/skills/youtube2mp4
Command: npx skills add https://github.com/s-choung/Research-Skills --skill youtube2mp4

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill removes the friction of saving YouTube content locally when you need a reusable video file, an audio extract, or a trimmed clip for offline work.

Core Features & Use Cases

  • MP4 Downloads: Save a YouTube video as an MP4 with a configurable maximum resolution.
  • Audio-Only Extraction: Convert a YouTube URL into an m4a audio file when you only need the soundtrack or narration.
  • Time-Trimmed Clips: Download only a selected section of a video for short references, presentations, or review.
  • Use Case: A researcher can archive a lecture as MP4, extract the audio for transcription, or clip a 90-second segment for a meeting note.

Quick Start

Use the youtube2mp4 skill to download this YouTube video as an MP4 in the highest available resolution.

Frequently Asked Questions about youtube2mp4

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

FAQPage Schema
How do I download a YouTube video as an MP4 file?

To download a YouTube video as an MP4 file, you provide the URL or video ID to fetch and merge streams into a local MP4 file at a configurable maximum resolution.

Can I extract audio only from a YouTube video?

Yes, you can extract audio only from a YouTube video by converting the URL into an m4a audio file, which is useful for saving soundtracks or narration.

Do I need yt-dlp and ffmpeg to save YouTube clips locally?

Yes, you need yt-dlp and ffmpeg to reliably fetch streams, merge video and audio formats, and cut specific time ranges for your downloaded YouTube clips.

How do I download a specific time segment of a YouTube video?

You can download a specific time segment by specifying a time range, which trims the YouTube video into a short clip for references, presentations, or offline review.

What is the best way to archive a YouTube lecture for offline transcription?

The best way to archive a YouTube lecture for offline transcription is downloading the video as an MP4 file and extracting the audio track into an m4a file.

Why does trimming a YouTube video clip require ffmpeg?

Trimming a YouTube video clip requires ffmpeg because it reliably handles merging the downloaded video and audio streams and accurately cutting the specified time ranges.