Skip to content

Tools for work creating animating gifs for the OLED #9

@glowmouse

Description

@glowmouse

I'm not sure if we need any specialised tools for creating animating gifs. So far I've been using ffmpeg for proof of concept stuff. Maybe treat this issue as an investigation/ process documentation ticket.

Some ffmpeg commands that I found useful enough to record

Recipe for a horizontal flip.

ffmpeg -i "1.mp4" -vf hflip -i audio1.mp3 -map 0:v -map 1:a -c:v copy -shortest "C:\Users\Admin\Desktop\Replaced Mp3\1.mp4"

Recipe to merge two animations and put them side by side. Useful when your display is short and wide.

ffmpeg -i left.mp4 -i right.mp4 -filter_complex hstack output.mp4

Recipe for conversion to black and white of a 1280x720 input image

ffmpeg -i main_1280x720.mp4 -f lavfi -i color=gray:s=1280x720 -f lavfi -i color=black:s=1280x720 -f lavfi -i color=white:s=1280x720 -filter_complex threshold output.mkv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions