Move Edit Cursor to Previous/Next Video Cut

Navigate quickly between video scene changes/cuts. Detects cuts in video automatically and jumps the edit cursor to them.

Actions

Action NameDescription
NateWeiner: Move edit cursor to next video cutJumps cursor forward to the next scene change
NateWeiner: Move edit cursor to previous video cutJumps cursor backward to the previous scene change

How It Works

The script uses ffmpeg's scene detection to identify visual cuts in video files. When you first use it on a video, it processes a small section around the cursor to find nearby cuts. This happens quickly and does not require processing the entire video. A background processor then continues caching the rest of the video so future jumps are instant.

Key Features

  • Incremental processing: Only processes what's needed for immediate navigation, then fills in the rest in the background.
  • Smart video detection: Supports videos in subprojects/master projects. If your project has only one video, the script uses it automatically. If multiple videos exist, position your cursor on the video item you want to navigate.
  • Persistent cache: Cut positions are saved with your project, so reopening a project doesn't require reprocessing.

Configuration

Advanced users can modify config.lua in the script folder to adjust:

  • SCENE_THRESHOLD — Detection sensitivity (default: 0.1, lower = more sensitive)
  • PROCESSING_WINDOW_SIZE — How much video to cache around cursor (default: 480 seconds / 8 minutes)
  • ENABLE_PROCESSING_WINDOW — Set to false to cache entire video instead of just around cursor
  • MAX_SEARCH_DISTANCE — How far to search before giving up (default: 120 seconds)

Requirements

  • ffmpeg and ffprobe must be installed
    • macOS: brew install ffmpeg
  • REAPER 6.0+

How to Install

This script is distributed via ReaPack.

  1. Add the repository: Extensions → ReaPack → Import repositories... and paste:
    https://nateweiner.com/dist/reaper/main/index.xml
  2. Browse packages: Extensions → ReaPack → Browse packages
  3. Search for Move Edit Cursor to Previous/Next Video Cut, right-click and install

See the full installation guide for more details.

How to Get Help

If you run into issues or have questions, head over to the REAPER forum thread for this script. You can see if others have encountered the same problem.

Troubleshooting

Before posting, enable debug logging to gather diagnostic information:

  1. Install the Toggle Debug Logging package from ReaPack (search for NateWeiner)
  2. Run the action: NateWeiner: Toggle Debug Logging for Nate Weiner scripts
  3. A dialog confirms debug logging is now ENABLED
  4. Open the ReaScript console: Actions → Show ReaScript console
  5. Run the script that's giving you trouble
  6. Copy the debug output from the console and include it in your forum post

Remember to disable debug logging when you're done (run the toggle action again) as it may slightly slow down script execution.

Other Scripts