Guest User

Untitled

a guest
May 11th, 2024
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.68 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. ffmpeg -i ost.flac -i background.png -filter_complex \
  4. "\
  5. [0:a]\
  6.    showfreqs=\
  7.        mode=line:\
  8.        ascale=sqrt:\
  9.        fscale=log:\
  10.        win_func=poisson:\
  11.        overlap=1:\
  12.        win_size=512:\
  13.        colors=#ffffff|#554455:\
  14.        s=320x180:\
  15.        r=30,\
  16.    scale=\
  17.        1920x1080:\
  18.        flags=neighbor,\
  19.    ass=\
  20.        f=ost.ass,\
  21.    format=yuv420p\
  22. [x];\
  23. [1:v]\
  24.    scale=1920x1080\
  25. [y];
  26. [y][x]
  27.    blend=all_mode=average
  28. [v];" \
  29. -map '[v]' -map '0:a' -y \
  30. -c:v libx264 -profile:v high \
  31. -bf 2 -g 30 -crf 18 -pix_fmt yuv420p \
  32. -c:a libfdk_aac -profile:a aac_low -b:a 384k \
  33. -movflags +faststart \
  34. test2.mp4
  35.  
Advertisement
Add Comment
Please, Sign In to add comment