1
0
Files
settings/Batch/image2video.cmd
Stian Lund db136b4ee2 added files
2023-12-12 18:23:56 +01:00

14 lines
373 B
Batchfile
Executable File

:: image2video - Add still image and music file to make music video
@echo off
set argC=0
set ffmpeg="d:\bin\ffmpeg\bin\ffmpeg.exe"
for %%x in (%*) do set /A argC+=1
if %argC% == 0 (
echo Usage: %~n0 ^<imagefile^> ^<audiofile^> ^<outfile^>
exit /b 0
)
%ffmpeg% -loop 1 -i %1 -i %2 -c:v libx264 -tune stillimage -c:a copy -strict experimental -shortest %3