Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- ffmpeg -i ost.flac -i background.png -filter_complex \
- "\
- [0:a]\
- showfreqs=\
- mode=line:\
- ascale=sqrt:\
- fscale=log:\
- win_func=poisson:\
- overlap=1:\
- win_size=512:\
- colors=#ffffff|#554455:\
- s=320x180:\
- r=30,\
- scale=\
- 1920x1080:\
- flags=neighbor,\
- ass=\
- f=ost.ass,\
- format=yuv420p\
- [x];\
- [1:v]\
- scale=1920x1080\
- [y];
- [y][x]
- blend=all_mode=average
- [v];" \
- -map '[v]' -map '0:a' -y \
- -c:v libx264 -profile:v high \
- -bf 2 -g 30 -crf 18 -pix_fmt yuv420p \
- -c:a libfdk_aac -profile:a aac_low -b:a 384k \
- -movflags +faststart \
- test2.mp4
Advertisement
Add Comment
Please, Sign In to add comment