Last active
August 29, 2015 13:57
-
-
Save asiletto/9570450 to your computer and use it in GitHub Desktop.
convert mp3 to mp4 with ffpmeg
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 | |
IF "%~4"=="" GOTO showusage | |
ffmpeg -loop 1 -i %1 -t %4 silent.mp4 | |
ffmpeg -i silent.mp4 -i %2 -vcodec copy -acodec copy %3 | |
del silent.mp4 | |
GOTO end | |
:showusage | |
echo mp3tomp4.bat input-image input-mp3 ouput-mp4 duration | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment