Mercurial > codedump
comparison god.bat @ 104:2e115eb60be8
god.bat: does the file even exist?
committer: GitHub <noreply@github.com>
| author | Paper <37962225+mrpapersonic@users.noreply.github.com> |
|---|---|
| date | Thu, 22 Sep 2022 08:33:37 -0400 |
| parents | 1cc4f545a260 |
| children |
comparison
equal
deleted
inserted
replaced
| 103:1cc4f545a260 | 104:2e115eb60be8 |
|---|---|
| 20 REM godawful container. :D | 20 REM godawful container. :D |
| 21 | 21 |
| 22 setlocal EnableDelayedExpansion | 22 setlocal EnableDelayedExpansion |
| 23 call :argparser %* | 23 call :argparser %* |
| 24 if %count% LSS 3 goto usage | 24 if %count% LSS 3 goto usage |
| 25 if not exist "%inputmp4%" ( | |
| 26 call :error "Input MP4 file doesn't exist!" | |
| 27 goto usage | |
| 28 ) | |
| 29 if not exist "%inputwav%" ( | |
| 30 call :error "Input WAV file doesn't exist!" | |
| 31 goto usage | |
| 32 ) | |
| 33 if exist "%outputmp4%" call :warning "Output MP4 file already exists!" | |
| 25 REM mp4 barely supports flac, matroska ftw | 34 REM mp4 barely supports flac, matroska ftw |
| 26 REM | 35 REM |
| 27 REM vegas pro sucks and has barely any support | 36 REM vegas pro sucks and has barely any support |
| 28 REM for different codecs in MP4s (see: yuv 4:4:4), | 37 REM for different codecs in MP4s (see: yuv 4:4:4), |
| 29 REM and really *only* supports AAC. this sucks, | 38 REM and really *only* supports AAC. this sucks, |
