Skip to content

Instantly share code, notes, and snippets.

@s4y
Last active July 16, 2018 13:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save s4y/a11d048a8e3f919aff6d4429141d6f55 to your computer and use it in GitHub Desktop.
Save s4y/a11d048a8e3f919aff6d4429141d6f55 to your computer and use it in GitHub Desktop.
youtube-dl -o htba VaL-KP6QOUI && (textargs='borderw=3:font=Arial Black:fontcolor=white:fontsize=40:x=40:y=h-lh-20' ; ffmpeg -ss 38 -t 2.85 -i htba.* -lavfi 'scale=502:-1 , drawtext='"$textargs"':enable=between(t\,1.5\,1.8):text=I , drawtext='"$textargs"':enable=between(t\,1.8\,2.1):text=I RESPECT , drawtext='"$textargs"':enable=gte(t\,2.1):text=I RESPECT WOMEN , split=3[mp4out][s1][s2] ; [s1]palettegen[p], [s2]fifo[s2], [s2][p]paletteuse[gifout]' -map '[mp4out]' -pix_fmt yuv420p -map 0:1 i_respect_women.mp4 -map '[gifout]' i_respect_women.gif)
View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment