Youtube Video Clipper

Youtube Video Clipper

by fractalai

Automatically extract precise clips from any YouTube video using timestamps. Perfect for creating social media highlights, compilations, or saving key video segments.

786 runs
46 users
Try This Actor

Opens on Apify.com

About Youtube Video Clipper

Ever find a great moment in a long YouTube video and wish you could just snip it out for a quick share? That's exactly what this actor does. You give it a YouTube URL and a simple list of start and end times, and it handles the messy work of downloading the video and precisely cutting out each clip you specified. No need for complicated video editing software or manual recording. I've used it to pull funny moments from podcasts for a group chat, create highlight reels from gaming streams, and grab tutorial segments to save for later. It's incredibly straightforward: configure your timestamps, run it, and get back clean MP4 files ready to post. This is a lifesaver for content creators, community managers, or anyone who regularly needs to repurpose video content for platforms like TikTok, Instagram Reels, or Twitter. It automates the tedious part, so you can focus on actually using the clips.

What does this actor do?

Youtube Video Clipper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.

Key Features

  • Cloud-based execution - no local setup required
  • Scalable infrastructure for large-scale operations
  • API access for integration with your applications
  • Built-in proxy rotation and anti-blocking measures
  • Scheduled runs and webhooks for automation

How to Use

  1. Click "Try This Actor" to open it on Apify
  2. Create a free Apify account if you don't have one
  3. Configure the input parameters as needed
  4. Run the actor and download your results

Documentation

YouTube Video Clipper

An Apify actor that extracts multiple clips from a YouTube video using specified timestamps. It's designed for creating social media highlights, short clips, or compilations from longer videos.

Overview

Provide a YouTube URL and a list of timestamps. The actor downloads the video and cuts out the specified clips without re-encoding the video stream, which keeps processing fast and cost-efficient. Each clip and its auto-generated thumbnail are made available via direct download URLs.

Key Features

  • Precise Clipping: Extract multiple clips from a single video using exact start and end times.
  • Stream Copy Processing: Uses ffmpeg's stream copy method to avoid CPU-heavy re-encoding, reducing run time and cost.
  • Automatic Thumbnails: Generates a thumbnail image for each clip.
  • Quality Options: Supports output qualities from 360p to 1080p (default is 720p).
  • Direct URLs: Output provides ready-to-use URLs for downloading clips and thumbnails.
  • Handles Restrictions: Optional proxy and cookie support for videos with geographic or access restrictions.

How to Use

  1. Run the actor via the Apify Console or API with a JSON input containing the video URL and your clip definitions.
  2. The actor downloads the source video, processes the clips, and uploads them to Apify's Key-Value Store.
  3. Retrieve the results, which include the download URLs for each clip and thumbnail.

Input

The input is a JSON object. The only required fields are videoUrl and clips.

{
  "videoUrl": "https://www.youtube.com/watch?v=example",
  "clips": [
    {
      "name": "intro",
      "start": "00:00:05",
      "end": "00:00:15"
    },
    {
      "name": "highlight",
      "start": "00:01:30",
      "end": "00:01:45"
    }
  ],
  "quality": "720p",
  "enableFallbacks": true,
  "proxy": { "useApifyProxy": true },
  "cookies": [{"name": "example", "value": "example"}],
  "maxRetries": 3
}

Key Parameters:
* videoUrl: (Required) The full URL of the YouTube video.
* clips: (Required) An array of clip objects. Each requires a name, start time, and end time in HH:MM:SS format. Maximum 20 clips, each max 10 minutes.
* quality: Output quality tier (360p, 480p, 720p, 1080p). Affects pricing. Default is 720p.
* enableFallbacks: If true, the actor will use more expensive processing methods if the primary method fails. Adds ~$0.09 per fallback. Default is true.
* proxy: Optional proxy configuration for accessing region-blocked content.
* cookies: An array of YouTube cookies (as name/value objects) for accessing private, age-restricted, or membership videos.

Output

The output is a dataset where each item represents a processed clip. A successful clip includes:

{
  "name": "intro",
  "startTime": "00:00:05",
  "endTime": "00:00:15",
  "url": "https://api.apify.com/v2/key-value-stores/.../clip_video.mp4",
  "thumbnailUrl": "https://api.apify.com/v2/key-value-stores/.../thumbnail.jpg",
  "duration": 10,
  "size": 2457600,
  "quality": "720p",
  "outputFormat": "mp4",
  "failed": false
}

Resource Notes: The actor is lightweight. For most videos, 1024 MB memory and 0.5 Compute Units are sufficient. For source videos longer than one hour, consider increasing memory to 2048 MB.

Common Use Cases

Market Research

Gather competitive intelligence and market data

Lead Generation

Extract contact information for sales outreach

Price Monitoring

Track competitor pricing and product changes

Content Aggregation

Collect and organize content from multiple sources

Ready to Get Started?

Try Youtube Video Clipper now on Apify. Free tier available with no credit card required.

Start Free Trial

Actor Information

Developer
fractalai
Pricing
Paid
Total Runs
786
Active Users
46
Apify Platform

Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.

Learn more about Apify

Need Professional Help?

Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.

Find a Specialist

Trusted by millions | Money-back guarantee | 24/7 Support