Created
March 13, 2013 16:06
-
-
Save ssg/5153571 to your computer and use it in GitHub Desktop.
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 | |
rem this converts a recorded gource ppm stream along with a mp3 soundtrack to a youtube compatible format | |
rem with decent quality and file size | |
rem usage: ppm2youtube <ppmfile> <mp3file> <outputfile> | |
set FFMPEG_DIR=d:\ffmpeg | |
%FFMPEG_DIR\bin\ffmpeg -y -f image2pipe -vcodec ppm -i "%1" -i "%2" -map 0 -map 1 -c:v libx264 -c:a libvo_aacenc -preset slow -pix_fmt yuv420p -threads 8 -bf 0 "%3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment