-
-
Save typomedia/10577138 to your computer and use it in GitHub Desktop.
Libav batch converter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
ECHO Copyright 2014 Typomedia Foundation. All rights reserved. | |
ECHO Released under GPL version 3. | |
ECHO Libav Transcoding Script 1.0beta | |
PAUSE | |
SET input="\\SERVER\Movies" | |
SET ftype=*.rip.mkv | |
SET suffix="h264.mkv" | |
REM Loop all files with the specified FTYPE | |
FOR /R %input% %%A IN (%ftype%) DO avconv -i "%%A" -map 0 -c:v libx264 -preset slow -crf 20 -c:a copy -c:s copy "%%A.%suffix%" | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment