Advertisement
zarko

Startconvert.bat and Convert-to-MP4.bat

Jan 16th, 2015
271
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Startconvert.bat
  2. for %%i IN (*.mpg) DO (convert-to-mp4.bat "%%i")
  3. pause
  4.  
  5. Convert-to-MP4.bat
  6. IF EXIST "%1.mp4" GOTO exit
  7.  
  8. @echo Conversion for %1 started on %DATE% %TIME%
  9. ffmpeg -i %1 -c:v libx264 -preset slow -crf 18 -c:a aac -strict experimental -b:a 128k %1.mp4
  10.  
  11. :exit
  12. @echo %1.mp4 already exists
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement