asy666 当前离线
列兵
wanghan519 当前离线
二级士官
ffmpeg -i b.gif -i a.mp3 -shortest -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -y video.mp4复制代码
TOP
877 当前离线
@echo off cd /d "%~dp0" for %%i in (*.mp3) do ( set "InputMp3=%%i" set "Output=A-%%~ni_ok%%~xi" for %%j in (*.gif) do ( set "InputGif=%%j" ffmpeg.exe -i "%InputMp3%" -i "%InputGif%" -map 0:v -map 1:a -shortest -af apad "%Output%" ) )复制代码