Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -i input1.mp4 -i input2.mp4 -f lavfi -i color=black -filter_complex \
- "[0:v]format=pix_fmts=yuva420p,fade=t=out:st=4:d=1:alpha=1,setpts=PTS-STARTPTS[va0];\
- [1:v]format=pix_fmts=yuva420p,fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS+4/TB[va1];\
- [2:v]scale=1920x1080,trim=duration=9[over];\
- [over][va0]overlay[over1];\
- [over1][va1]overlay=format=yuv420[outv]" \
- -vcodec libx264 -map [outv] out.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement