ffmpeg command use one command : logo, text, mask, audio process

#suker-2016-06-06 19:25, #logo, text, mask, audio
time ffmpeg -y -i src.mp4 -i mask.mp4 -i a.png  -i vs.png   -i b.png   -i logo.png -i new.aac -filter_complex "\
 [0:v]format=rgb24,setsar=sar=1/1[mv];\
 [1:v]format=rgb24,setsar=sar=1/1[in];\
 [in][mv]blend=all_mode='addition':all_opacity=1,format=rgb24,
 overlay=x=W/2-180:y=H-140,overlay=x=W/2-40:y=H-120,overlay=x=W/2+100:y=H-140,overlay=x=W-120:y=10,\
 drawtext=text='哇塞打得好棒!':fontsize=60:fontcolor=white:x=w-50*t-text_w:y=60:fix_bounds=1:box=1:boxborderw=10:boxcolor= [email protected],\
 drawtext=text='FC Barcelona':fontsize=22:fontcolor=white:x=w/2-220:y=h-40:fontfile=jinxing/NotoSansCJK-Bold.otf:fix_bounds=1:box=1:boxborderw=10:boxcolor= [email protected],\
 drawtext=text='Read Madrid':fontsize=22:fontcolor=white:x=w/2+80:y=h-40:fontfile=jinxing/NotoSansCJK-Bold.otf:fix_bounds=1:box=1:boxborderw=10:boxcolor= [email protected]" \
 -c:a aac -strict experimental -map 0v0 -map 6a0 out-ok.mp4

real 0m4.928s
user 0m14.704s
sys 0m0.476s

你可能感兴趣的:(ffmpeg command use one command : logo, text, mask, audio process)