[AppleScript] 纯文本查看 复制代码 ~/multimedia/ffmpeg/dash/ffmpeg -i ~/Movies/objectC/bbs.chinaffmpeg.com孙悟空 ~/Movies/objectC/bbs.chinaffmpeg.com孙悟空1.mp4 -f lavfi -i color=c=white:s=1280x200 -filter_complex "[2:v]drawtext=fontfile=/System/Library/Fonts/STHeiti\ Medium.ttc: text='悟空广告时间':fontsize=48:fontcolor=Black@0.5:shadowy=2:x=(w-text_w)/2:y=(h-text_h)/2[t1];[0:a]afade=t=out:start_time=2:d=2[a0];[0:v] zoompan=z='if(lte(in,85),zoom,min(max(zoom,pzoom)+0.8, 9))':d=1:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)',fade=t=out:start_time=2:d=2:c=White[v0];[1:a]afade=t=in:d=2,adelay=5000|5000|5000[a1];[1:v]fade=d=2:c=White,setpts=PTS+5/TB [v1]; [v0][v1]overlay=x=0:y=0 [o]; [a1][a0]amerge=inputs=2[ao];[t1]setpts=PTS+3.5/TB,colorkey=White:0.01:0.1 [v2];[o][v2]overlay=y='if(gte(t,1), max(H-(t-2)*270, H/2-h/2), NAN)':x=W/2-w/2:enable='between(t,2,5)' [ovv]" -map '[ovv]' -map '[ao]' -ac 2 -movflags faststart -t 9 -vcodec libx264 -b:v 1000k -y test.mp4
给你一个多中切换组合的命令吧,你自己摘出来吧 |