Universal Video Screenshot & Stitcher (Batch & Custom)

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

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

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

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
Jw-23
Instalaciones diarias
0
Instalaciones totales
8
Calificaciones
0 0 0
Versión
5.0
Creado
2/12/2025
Actualizado
2/12/2025
Tamaño
20 KB
Licencia
MIT
Funciona en
Todos los sitios

📖 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.