Last active
August 22, 2018 14:00
-
-
Save lilithebowman/6f4b7c11278b6d6193653d0feb321635 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 | |
echo Usage: | |
echo jpg2mp4.bat 12345 | |
echo (where 12345 is the sequence number the JPG sequence begins on) | |
SET num=%1 | |
IF "%num%"=="" (SET num=0) | |
@echo on | |
ffmpeg -r 1/5 -i G%07d.JPG -start_number %num% -c:v libx264 -r 30 -pix_fmt yuv420p out.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment