Skip to content

Instantly share code, notes, and snippets.

@misode
Last active June 29, 2024 23:02
Show Gist options
  • Save misode/3dd8d635b6cdeb9ea1b1b3e0223cc3f5 to your computer and use it in GitHub Desktop.
Save misode/3dd8d635b6cdeb9ea1b1b3e0223cc3f5 to your computer and use it in GitHub Desktop.

Semantic coloring

image

Diagnostics

ffmpeg -ss 00:00:02 -to 00:00:12 -i Code_PfzjrlljPt.mp4 -vf "fps=5,split[s0][s1];[s0]palettegen=max_colors=32[p];[s1][p]paletteuse=dither=none" -loop 0 diagnostics.gif

diagnostics

Document link

ffmpeg -i Code_ccE63u3V6U.mp4 -filter_complex "[0:v]drawbox=x=170:y=70:w=70:h=35:color=#1e1e1e@1:t=fill:enable='between(t,11.3,14)'[v]" -map "[v]" -ss 3 -to 14 -map 0:a -c:v libx264 -c:a copy document-link.mp4
ffmpeg -i document-link.mp4 -vf "fps=5,split[s0][s1];[s0]palettegen=max_colors=64[p];[s1][p]paletteuse=dither=none" -loop 0 document-link.gif

document-link

Nbt path completions

ffmpeg -ss 2 -to 22 -i Code_tvV7FyVKDA.mp4 -vf "setpts=PTS/1.5,fps=5,split[s0][s1];[s0]palettegen=max_colors=64[p];[s1][p]paletteuse=dither=none" -loop 0 nbt-path-completions.gif

nbt-path-completions

Nbt tag completions

ffmpeg -ss 0 -to 15 -i Code_TiGPEQwnST.mp4 -vf "fps=5,split[s0][s1];[s0]palettegen=max_colors=64[p];[s1][p]paletteuse=dither=none" -loop 0 nbt-tag-completions.gif

nbt-tag-completions

Peek references

image

JSON completions

ffmpeg -ss 1 -to 22 -i Code_aVALSAhJQ6.mp4 -vf "setpts=PTS/1.3,fps=5,split[s0][s1];[s0]palettegen=max_colors=64[p];[s1][p]paletteuse=dither=none" -loop 0 loot-table-completions.gif

loot-table-completions

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