Move Edit Cursor to Previous/Next Video Cut
How to install•Discuss on the REAPER forum
Navigate quickly between video scene changes/cuts. Detects cuts in video automatically and jumps the edit cursor to them.
Actions
| Action Name | Description |
|---|---|
NateWeiner: Move edit cursor to next video cutClick to copy | Jumps cursor forward to the next scene change |
NateWeiner: Move edit cursor to previous video cutClick to copy | Jumps 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 tofalseto cache entire video instead of just around cursorMAX_SEARCH_DISTANCE— How far to search before giving up (default: 120 seconds)
Requirements
- ffmpeg and ffprobe must be installed
- macOS:
brew install ffmpegClick to copy
- macOS:
- REAPER 6.0+
How to Install
This script is distributed via ReaPack.
- Add the repository: Extensions → ReaPack → Import repositories... and paste:
https://nateweiner.com/dist/reaper/main/index.xmlClick to copy - Browse packages: Extensions → ReaPack → Browse packages
- 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:
- Install the Toggle Debug Logging package from ReaPack (search for
NateWeinerClick to copy) - Run the action:
NateWeiner: Toggle Debug Logging for Nate Weiner scriptsClick to copy - A dialog confirms debug logging is now ENABLED
- Open the ReaScript console: Actions → Show ReaScript console
- Run the script that's giving you trouble
- 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.