Morphex's blogologue (Life, technology, music, politics, business, mental health and more)

This is the blog of Morten W. Petersen, aka. morphex in various places. I blog about my life, and what I find interesting and/or important. This is a personal blog without any editor or a lot of oversight so treat it as such. :)

My email is

I am

An OGG/Vorbis player, implemented in Javascript.

My Kiva bragging page
My shared (open source) code on GitHub

Morphex's Blogodex

Me on Instagram

Zope hosting by Nidelven IT

Morten Petersen on Linkedin

Morten Petersen on Facebook

Morten Petersen on SoundCloud

Morten Petersen on MixCloud

Blogologue on Twitter

Older entries

Atom - Subscribe - Categories

Facebook icon Share on Facebook Google+ icon Share on Google+ Twitter icon Share on Twitter LinkedIn icon Share on LinkedIn

Creating Instagram video out of an animated gif using ffmpeg

I like to play around with images and video, and one thing I'm on about these days are negative images.

I caught a bunch of images of a small waterfall the other day, and Google Photo created an animation of it.

I looked for an app that could convert it into a video Instagram would accept, but ended up having to use ffmpeg through Termux to create a video Instagram would treat as a video.

The command was

$ ffmpeg -f gif -i IMG_20200407_173651_1CS-ANIMATION.gif -vf negate -pix_fmt yuv420p out.mp4

Key command line argument was "-pix_fmt yuv420p".

[Edit shortly after posting..]

BTW, the video I created is here:

[Update the day after..]

Here's the animation of falling water from Google Photos.

[Permalink] [By morphex] [All (Atom feed)] [08 Apr 21:08 Europe/Oslo]