Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -i input.ts -i input2.mov -i input3.ts \
- -c:v libx264 -c:a aac \
- -b:v 3M -b:a 64k \
- -filter_complex " \
- color=black:600x55[blank];
- [0:v]scale=-2:620[main]; \
- [1:v]scale=-2:720[bg]; \
- [blank]setsar=1,drawtext=text='#hashtag':fontsize=50:fontfile=Diodrum-Semibold.otf:fontcolor=white:x='(w-tw)/2':y='(h-th)/2',split[txt][alpha]; \
- [txt][alpha]alphamerge,rotate=-0.1:ow=rotw(-0.1):oh=roth(-0.1):c=black@0,format=yuva420p[txt]; \
- [bg][main]overlay=0:0:shortest=1[v]; \
- [v][txt]overlay=1040-(w/2):660-(h/2):shortest=1[v]; \
- [v][2]concat=2:1[v];
- [0:a][2:a]concat=2:0:1[a]" \
- -map "[v]" -map "[a]" \
- -t 2 \
- -y output.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement