Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.
Create animated GIF and WebP from videos using FFmpeg
21–30 of 54 posts
Re: Create animated GIF and WebP from videos using FFmpeg
#22Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.
Agreed. I think people see little video clips and think "oh, a GIF" without realizing that imgur, giphy, etc. don't actually use GIFs.
Re: Create animated GIF and WebP from videos using FFmpeg
#23Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.
Re: Create animated GIF and WebP from videos using FFmpeg
#24Perhaps it's time to start a collection of ffmpeg commands for every situation, similar to bro pages [1]. I feel like I have to look at my old projects every time I need to use it. It took me a lot of trial and error to write an all-purpose ffmpeg command. This is how I convert videos to 720p web-playable videos (if it's not already web-playable): https://github.com/nicbou/homeserver/blob/22c0a160f9df5f4c34... This i…
I use a collection of commands in a dotfiles [1] repo I share around a few machines.
This [2] command, compresses any video into a small web-playable file with relatively high quality so you can quickly share HD footage.
ffcompress INPUT.mp4
# creates INPUT.compressed.mp4
[1] https://github.com/benwinding/dotfiles[2] https://github.com/benwinding/dotfiles/blob/master/bin/ffcom...
Re: Create animated GIF and WebP from videos using FFmpeg
#25Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.
Will the file autoplay and loop according to the same rules everywhere I view it after I right-click and save it? Because that is what people liked about animated gifs. It's like you're telling people to drive a car instead of riding a bike. They have some crossover in functionality but they're not the same thing.
Re: Create animated GIF and WebP from videos using FFmpeg
#26Perhaps it's time to start a collection of ffmpeg commands for every situation, similar to bro pages [1]. I feel like I have to look at my old projects every time I need to use it. It took me a lot of trial and error to write an all-purpose ffmpeg command. This is how I convert videos to 720p web-playable videos (if it's not already web-playable): https://github.com/nicbou/homeserver/blob/22c0a160f9df5f4c34... This i…
Re: Create animated GIF and WebP from videos using FFmpeg
#27WTF is an animated WebP? Shouldn't it be just a normal WebM video?
Re: Create animated GIF and WebP from videos using FFmpeg
#28Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.
There are still situations where you want a gif. Your approach works fine if you're writing your own code, but if I want to embed a looping animation on a Confluence page, it isn't a viable option.
Re: Create animated GIF and WebP from videos using FFmpeg
#29Re: Create animated GIF and WebP from videos using FFmpeg
#30Oh please no. Why would you ever do this? Please use the tag to embed your actual video with a GIF fallback if you wish. Why are we using an ancient 8-bit lossless format for video when pretty much all browsers support video embeds these days? With H.264 or any modern codec you'll get 24-bit color and smaller file sizes than GIF. It's better in every way I can imagine.