🎉 欢迎访问GreasyFork.Org 镜像站!本镜像站由公众号【爱吃馍】搭建,用于分享脚本。联系邮箱📮

Greasy fork 爱吃馍镜像

Universal Video Screenshot & Stitcher (Batch & Custom)

Capture, batch capture (by time range), stitch, and save. Modular architecture.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

🚀 安装遇到问题?关注公众号获取帮助

公众号二维码

扫码关注【爱吃馍】

回复【脚本】获取最新教程和防失联地址

Author
Jw-23
Daily installs
0
Total installs
5
Ratings
0 0 0
Version
5.0
Created
2025-12-02
Updated
2025-12-02
Size
20 KB
License
MIT
Applies to
All sites

📖 English User Manual

This is a powerful userscript designed for subtitle stitching and long screenshot generation. Built with native DOM API, it bypasses strict Content Security Policies (CSP) on sites like YouTube and works on almost any HTML5 video site.

✨ Key Features

  • Dual Stitch Modes: Supports Subtitle Mode (Overlap) and Long Image Mode (Parallel).
  • Batch Capture: Define a time range (e.g., 2:00-5:00;10), and the script auto-seeks and captures frames.
  • Visual Management: Reorder, delete, and seek back to specific timestamps from the list.
  • Retake/Edit: Seek back to a frame's time, adjust slightly, and replace the image instantly.
  • Custom Export: Save files with custom templates (Video title, date, etc.).

🚀 Installation

  1. Ensure you have Tampermonkey or Violentmonkey installed.
  2. Install this script.
  3. Open any website with a video (e.g., YouTube, Vimeo, Bilibili).
  4. A control panel will appear automatically in the bottom-left corner.

🎮 Operation Guide

1. Basic Usage

  • Capture: Click to snap the current frame. It appears in the list immediately.
  • Generate: Stitches all frames in the list into one PNG and downloads it.
  • Clear: Removes all captured frames.

2. Batch Automation (Batch Init) 🔥

The core feature of V5.0, perfect for creating quick summaries of a scene.

  1. Click "Settings / Batch" to expand the panel.
  2. Enter the command in the blue bottom section. Format: Start-End;Count.
    • Example 1: 2:00-5:00;10 (Capture 10 frames evenly between 2:00 and 5:00).
    • Example 2: 120-150;5 (Seconds are also supported: 5 frames between 120s and 150s).
  3. Click "Start Batch".
  4. Hands off: The script will pause the video, seek, wait for buffering, capture, and repeat until done.

3. List Management & Editing

  • Seek: The timestamp in the list item (e.g., 01:25) is an input field. Edit it and press Enter to jump the video to that time.
  • 📷 (Retake): After seeking or adjusting the video, click this button to replace the image in that row with the current video frame.
  • ↑ / ↓: Reorder frames.
  • : Delete specific frame.

4. Settings

  • Stitch Mode:
    • Overlap (Subtitle): Keeps the full first image, but only slices the bottom part of subsequent images.
    • Parallel (Long): Stacks full images vertically.
  • Overlap (%): Only for Overlap mode. Determines the percentage of height to keep for subtitles (Default: 20%).
  • Filename Template: Supports variables: $title (Page Title), $date (Timestamp), $time (Readable Date), $domain.
  • Selector: If the script fails to find the video, enter a custom CSS selector here.

❓ FAQ

Q: Why is the exported image black / CORS error? A: This is a browser security restriction (Cross-Origin Resource Sharing), common on DRM sites like Netflix.

  • Fix: Try capturing while the video is Paused, or use Firefox (which often has looser Canvas restrictions).

Q: Batch captured images are blurry/loading? A: The script waits 250ms after seeking before capturing. If your internet is slow, the frame might not render in time. You can edit the script source and increase the setTimeout value.

Q: The panel is blocking the video! A: The panel is draggable (click and hold the header). You can also click the _ button in the top-right to collapse it.