Advertisement
DePhoegon

Rip Audio from RAW Capture

Jul 3rd, 2017
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.93 KB | None | 0 0
  1. @echo off
  2. :: FFMPEG, No OS centric design
  3. :: Folder Locations
  4. :: Intended for VHS Tapes, RAW Capture, & DaVinci Resovle [Or any Editor that uses Video & audio tracks separately
  5. @set CAPT=c:\Storage\VHSRaw\
  6. @set CAPTO=c:\Storage\VHSRaw\OverRun\
  7. @set FFMG=c:\ffmpeg\bin\ffmpeg
  8. @set OUTF=c:\Storage\VHSRaw\Audio\
  9. @set FIN=c:\Storage\VHSRaw\Video\
  10.  
  11. move C:\RawBLME\*.avi %CAPT%
  12.  
  13. :: For Raw Captures that Run longer
  14. for %%a in (%CAPTO%*.avi) do (
  15. @title = "Ripping OverRun %%~na"
  16. echo Ripping OverRun %%~na
  17. %FFMG% -hide_banner -loglevel quiet -stats -i "%%a" -c:a copy -y -to 02:00:00 "%OUTF%%%~na.wav"
  18. echo Finished %%~na
  19. @move "%%a" %FIN%
  20. )
  21. :: Moves Raw file to folder for further processing, & puts the PCM Audio into a wave file
  22. for %%a in (%CAPT%*.avi) do (
  23. @title = "Ripping %%~na"
  24. echo Ripping       %%~na
  25. %FFMG% -hide_banner -loglevel quiet -stats -i "%%a" -c:a copy -y "%OUTF%%%~na.wav"
  26. echo Finished %%~na
  27. @move "%%a" %FIN%
  28. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement