LAPINPT

MP4 TO RAW

Jul 28th, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.34 KB | None | 0 0
  1. @echo off
  2.  
  3. :: TO FIND SED WEB SEARCH UnxUtils.zip
  4.  
  5. set MP4Box="D:\Apps\mp4box\MP4Box.exe"
  6.  
  7. cd /D "%~dp1"
  8.  
  9. FOR /F "delims=" %%i IN ('ECHO %~n1 ^| sed -e "s/\(.*\)\([0-9][0-9][0-9][0-9]\)\(\..*$\)/\1\2/"') DO (
  10. SET target=%%i
  11. )
  12.  
  13. %MP4Box% -raw 1 "%1"
  14. rename %~n1_track1 %target%.h264
  15.  
  16.  
  17. %MP4Box% -raw 2 "%1"
  18. rename %~n1_track2 %target%.aac
Advertisement
Add Comment
Please, Sign In to add comment