FFmpeg command line

The video output of the specified width and height

#>ffmpeg -i input.mp4 -s 480×360 output.mp4

The plurality of videos into one video

Two right and left video # 
# > FFmpeg Touch1.avi -i -i Touch2.avi -filter_complex " [0: V] = PAD IW * 2: the IH [A]; [A] [. 1: V] = W overlay " TouchLR .avi
#四个视频田字
#>ffmpeg -i Touch1.avi -i Touch2.avi -i Touch3.avi -i Touch4.avi
  -filter_complex "[0:v]pad=iw*2:ih*2[a];[a][1:v]overlay=w[b];[b][2:v]overlay=0:h[c];[c][3:v]overlay=w:h" TouchTBLR.avi

 

Guess you like

Origin www.cnblogs.com/diaoss/p/11583253.html