Skip to content

cage1016/alfred-video2ringtone

Repository files navigation

alfred-video2ringtone

Alfred workflow to convert video to ringtone

Release Release_auto_update MIT license GitHub all releases codecov

Prerequisites

Features

  • Convert Video to m4a ringtone embeded cover art
  • Custom ringtone duration (max 40 seconds), fade in/out duration
  • Universal Action Convert video 2 ringtone to convert video to ringtone
  • Detect video from browser and clipboard
    • Browser: Safari, Google Chrome, Chromium, Opera, Vivaldi, Brave Browser, Microsoft Edge
  • Support Sites support-site.json is depend on yt-dlp/yt-dlp support sites. It's possible to add more sites by yourself. The folloiwing sites are added by default:
    • Youtube
    • Bilibili
    • nicovideo
    • soundcloud

Installation

Visit the Releases to download the latest release.

Usage

Ringtone concept

List exist ringtone

  • vl keyword to list exist ringtone
  • to preview
  • ⌥+↩ to remove ringtone
  • ^+↩ to re-convert ringtone again
  • with Action in Alfred

Detect video from browser

  • vd keyword to detect video from browser or clipboard

  • ⌥+↩ to launch support-site.json

Convert video 2 ringtone & preview

HH:MM:SS ex: 00:00:30
HH:MM:SS,duration ex: 00:00:30,2
HH:MM:SS,duration,FadeIn&Out  ex: 00:00:30,2,2
HH:MM:SS,duration,FadeIn,FadeOut ex: 00:00:30,3,2,2

URL

  • ⌘+L for above help
  • to preview URL page
  • ⌥+↩ to Open URL page

Ringtone

  • to preview ringtone
  • ⌥+↩ to remove ringtone
  • with Action in Alfred

Cancel

Due to workflow leverage yt-dlp and ffmpeg to download video and convert to mpa format ringtone as background process. If you want to cancel the stuck process, just type vc keyword.

Third Party Libraries

Change Log

0.1.0-rc.1

  • Initial release

License

This project is licensed under the MIT License. See LICENSE for details.