Created
December 3, 2011 12:49
-
-
Save croensch/1427051 to your computer and use it in GitHub Desktop.
mp4creator: list-and-delete-track (MP4 to M4A)
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 | |
SETLOCAL EnableDelayedExpansion | |
SET TOOL=mp4creator.exe | |
SET WD=%CD% | |
SET /P WD="%WD%\" | |
FOR /R "%WD%" %%F IN (*.mp4) DO ( | |
echo ================================================================ | |
echo %%~dpnF.m4a | |
echo ---------------------------------------------------------------- | |
copy "%%~dpnF.mp4" "%%~dpnF.m4a" > nul | |
%~dp0%TOOL% -list "%%~dpnF.m4a" | |
echo ---------------------------------------------------------------- | |
SET DT=1 | |
SET /P DT="delete track [!DT!]: " | |
%~dp0%TOOL% -delete=!DT! -optimize "%%~dpnF.m4a" | |
echo ================================================================ | |
echo . | |
) | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment