q2749194210大佬:
FFmpeg幻灯片 网上找到的,不会用 不是批处理,
想知道怎么用
- ffmpeg -y -framerate 2/3 -i "pics/%03d.jpg" -i audio.mp3 -loop 1 -i watermark.png
- -filter_complex
- "[0:v]scale=iw*min(3840/iw\,2160/ih):ih*min(3840/iw\,2160/ih),
- pad=3840:2160:(3840-iw)/2:(2160-ih)/2[ss];
- [ss][2:v] overlay=main_w-overlay_w-10:main_h-overlay_h-10:shortest=1[out]"
- -map "[out]" -map 1:a
- -c:v libx264 -r 24 -preset veryfast -tune stillimage -pix_fmt yuv420p
- -c:a copy
- vid.mkv
评论前必须登录!
注册