Convert transparent MOV to GIF

I currently have a transparent mov file. I am trying to convert it to a GIF, and am using the command

ffmpeg -i file.mov file.gif

But the resulting GIF is not transparent.

1 Answer

You need to use additional option to set the palette:

ffmpeg -i file.mov -f gif -lavfi split[v],palettegen,[v]paletteuse file.gif

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like