Skip to content

hollams/ahkYargScripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Yarg Video Delay Tool

This AutoHotkey v1 script helps synchronize video playback with audio tracks for Yarg songs by capturing timestamps in MPC-HC, calculating the needed delay, updating your song.ini, and keeping detailed logs.

Features

  • Capture video and audio timestamps from MPC-HC
  • Calculate and apply the required delay for synchronization
  • Update or insert video_start_time in your song.ini file
  • Backup song.ini (optional)
  • Log all changes to DelayLog.txt and DelayLog.csv
  • Move/rename video files into the song folder
  • Simple GUI with hotkeys for all actions

MPC-HC Setup

  • Enable “Display File Name and Full Path in Title Bar”:
    • View → Options → Player → Title Bar → check “Display full path”
  • Enable milliseconds in Go-To dialog:
    • View → Show Time → Milliseconds

Usage

  1. Set Video Time: Play your video in MPC-HC, pause at the vocal start, and press Ctrl+F1. The script grabs the video file’s path and timestamp.
  2. Grab Audio Time: Play your audio, pause at the vocal start, and press Ctrl+F2. The script grabs the audio file’s path and timestamp.
  3. Apply Delay: Press Ctrl+F3 to compute the delay, update song.ini, and log the change.
  4. Move Video File: Press Ctrl+F4 to move/rename the video into your song folder as video.<ext>.
  5. Clear Fields: Press Ctrl+F5 to reset all fields.
  6. Toggle Confirmations: Ctrl+F6 toggles confirmation pop-ups.
  7. Toggle song.ini Backup: Ctrl+F7 toggles song.ini backup.
  8. Open Folder: Click 📁 Open Folder to browse the song folder.

Hotkeys

  • Ctrl+F1 → Set Video Time & Path
  • Ctrl+F2 → Grab Audio Time & Path
  • Ctrl+F3 → Apply Delay + Logs
  • Ctrl+F4 → Move Video File
  • Ctrl+F5 → Clear All Fields
  • Ctrl+F6 → Toggle confirmation MsgBoxes
  • Ctrl+F7 → Toggle song.ini backup

Requirements

  • AutoHotkey v1
  • MPC-HC with Go-To dialog enabled
  • Each song folder contains (or will receive) a song.ini with [song] section

For more details, see the comments at the top of the script file.

About

Ahk V1 Scripts For Yarg

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors