Skip to content

VimWei/mpv-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vimel's mpv portable_config

Following scripts are completely independent.

dualsubs-init.lua

  • Function: Automatically load dual subtitles on startup.
  • dualsubs-init.conf: Primary and secondary subtitle language preferences.

dualsubs-swap.lua

  • Function: Quickly swap positions of primary and secondary subtitles.
  • Hotkey: Alt + u

dualsubs-reload.lua

  • Automatically reload external subtitle when updated without changing the current subtitle display track.

dualsubs-creat.lua

  • Function:
    • Create bilingual ASS subtitles with pop movie style
    • Uses currently selected primary and secondary subtitles
    • Supports both external and embedded subtitles
  • Hotkey: Shift + b

srt-resegment.lua

  • Function:
    • Resegment srt by synchronize plain text with whisper's word-level timestamps JSON
  • Hotkey:
    • input.conf: Ctrl+r script-binding srt_resegment
  • ref:

chapter-converter.lua

  • Function:
    • Converts chapter format between YouTube and mpv.
    • YouTube Chapter: "videoname.chapter" (e.g., "00:10 chapter title").
    • mpv Chapter: "videoname.ext.ffmetadata" (FFmpeg metadata standard).
  • Hotkey customize:
    • Ctrl+y script-binding youtube-to-mpv
    • Ctrl+Alt+y script-binding mpv-to-youtube
  • Ref:

About

Personal mpv config

Resources

License

Stars

Watchers

Forks

Languages