Created
March 15, 2020 08:29
-
-
Save Inori/aa1b772b52771d6f87be73660c124ae5 to your computer and use it in GitHub Desktop.
Add ExtractAudio ability to right click SendTo menu by calling FFmpeg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set SCRIPT_ROOT=%~dp0 | |
set FFMPEG=%SCRIPT_ROOT%ffmpeg.exe | |
set INPUT_FULLPATH=%1 | |
set INPUT_FILENAME=%~n1 | |
set INPUT_FOLDER=%~dp1 | |
set OUTPUT_FULLPATH="%INPUT_FOLDER%%INPUT_FILENAME%.mp3" | |
echo Extraction audio from %INPUT_FULLPATH% | |
FFMPEG -i %INPUT_FULLPATH% %OUTPUT_FULLPATH% | |
Rem pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment