Skip to content

Instantly share code, notes, and snippets.

@croensch
Created July 24, 2012 20:58
Show Gist options
  • Save croensch/3172618 to your computer and use it in GitHub Desktop.
Save croensch/3172618 to your computer and use it in GitHub Desktop.
FLVExtract/MP4Creator: create (FLV to AAC to M4A)
@echo off
SETLOCAL EnableDelayedExpansion
SET TOOL=mp4creator.exe
SET WD=%CD%
SET /P WD="%WD%\"
FOR /R "%WD%" %%F IN (*.aac) DO (
echo ================================================================
echo %%~dpnF.m4a
echo ----------------------------------------------------------------
%~dp0%TOOL% -create="%%~dpnF.aac" "%%~dpnF.m4a"
echo ----------------------------------------------------------------
echo ================================================================
echo .
)
PAUSE
@echo off
SETLOCAL EnableDelayedExpansion
SET TOOL=FLVExtractCL.exe
SET WD=%CD%
SET /P WD="%WD%\"
FOR /R "%WD%" %%F IN (*.flv) DO (
echo ================================================================
echo %%~dpnF.aac
echo ----------------------------------------------------------------
%~dp0%TOOL% -a "%%~dpnF.flv"
echo ----------------------------------------------------------------
echo ================================================================
echo .
)
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment