Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :: TO FIND SED WEB SEARCH UnxUtils.zip
- set MP4Box="D:\Apps\mp4box\MP4Box.exe"
- cd /D "%~dp1"
- FOR /F "delims=" %%i IN ('ECHO %~n1 ^| sed -e "s/\(.*\)\([0-9][0-9][0-9][0-9]\)\(\..*$\)/\1\2/"') DO (
- SET target=%%i
- )
- %MP4Box% -raw 1 "%1"
- rename %~n1_track1 %target%.h264
- %MP4Box% -raw 2 "%1"
- rename %~n1_track2 %target%.aac
Advertisement
Add Comment
Please, Sign In to add comment