Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
downgoon opened this issue 5 years ago · comments
ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" -ac 2 sidebyside.mp4
输入:left.mp4 和 right.mp4 两个视频 输出:sidebyside.mp4 样例:
https://stackoverflow.com/questions/42255139/ffmpeg-merge-two-videos-into-one-with-side-by-side-same-quality-output