本項目修改自 動畫瘋工具箱
版本資訊
基本用法
- 下載 FFmpeg,並加入系統環境變數。
- 點擊按鈕複製 FFmpeg 下載指令。
- 開啟命令提示字元(CMD),貼上指令開始下載。
進階用法
- 安裝自訂
.reg
- 點擊按鈕透過MPV,PotPlayer播放或透過ffmpeg下載
請根據實際安裝路徑與程式名稱自行修改,將下列內容存為文字檔,副檔名改為 .reg
,然後點擊安裝。
FFmpeg
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\ffmpeg]
@="FFmpeg Download"
"URL Protocol"=""
[HKEY_CLASSES_ROOT\ffmpeg\shell\open\command]
@="powershell -WindowStyle Normal -Command \"& {Add-Type -AssemblyName System.Windows.Forms; $cmd = [System.Windows.Forms.Clipboard]::GetText(); if (-not $cmd) { Write-Host '剪貼簿空白!'; Pause }; Invoke-Expression $cmd;}\""
potplayer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\potplayer\shell\open\command]
@="powershell -WindowStyle Hidden -Command \"& {Add-Type -AssemblyName System.Windows.Forms; $clipboardContent = [System.Windows.Forms.Clipboard]::GetText(); Start-Process -FilePath \\\"C://Program Files//DAUM//PotPlayer//PotPlayerMini64.exe\\\" -ArgumentList $clipboardContent}\""
MPV
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\mpv\shell\open\command]
@="powershell -WindowStyle Hidden -Command \"& {Add-Type -AssemblyName System.Windows.Forms; $clipboardContent = [System.Windows.Forms.Clipboard]::GetText(); Start-Process -FilePath \\\"C://Program Files//mpv//mpv.exe\\\" -ArgumentList $clipboardContent}\""
復原 potplayer
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\potplayer\shell\open\command]
@="\"C:\\Program Files\\DAUM\\PotPlayer\\PotPlayerMini64.exe\" \"%1\""
復原 MPV
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\potplayer\shell\open\command]
@="\""C:\\Program Files\\mpv\\mpv.exe" \"%1\""