ffmpeg – convert mp4 to gif – gif not moving

I am using this command to convert my mp4 to gif

ffmpeg -i out.mp4 -pix_fmt rgb24 output.gif

but the resulting gif does not move. I also get many of this message

[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 46, current: 16; changing to 47. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 47, current: 16; changing to 48. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 48, current: 16; changing to 49. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 49, current: 17; changing to 50. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 50, current: 17; changing to 51. This may result in incorrect timestamps in the output file.
[gif @ 000002809f53ef00] Non-monotonous DTS in output stream 0:0; previous: 51, current: 17; changing to 52. This may result in incorrect timestamps in the output file.

My video is 300 fps

python – Is there any way to stop the lag in this Gif opener?

Recently, I made this gif opener using tkinter:

import tkinter as tk
from tkinter import filedialog as fd
import time
import threading

def getfile():
     file = fd.askopenfilename()
     window = tk.Toplevel()
     def run_gif():
          i = 0
          while True:
               try:
                    photo = tk.PhotoImage(file = file,format="gif -index" +' '+ str(i))
                    gif = tk.Label(window, image=photo)
                    gif.grid(row=0,column=0)
                    i += 1
                    time.sleep(0.0001)
               except:
                    i = 0
     gif_thread=threading.Thread(target=run_gif)
     gif_thread.start()
     window.mainloop()
          
          
def display():
     root = tk.Tk()
     root.title(".gif opener")
     root.geometry('50x100')
     root.configure(bg = "lightgreen")
     label = tk.Label(root, text = ".gif opener")
     label.pack()
     button = tk.Button(root, text = "File", command = getfile)
     button.place(x = "50", y= "50")
     root.mainloop()

display()

However, every time I open a gif, the animation is really laggy.

Is there any way to make the gifs flow smoother? Any help will be appreciated.

bash – convert-im6.q16: memory allocation failed for converting from gif to bmp

I am trying to convert a file from .gif to .bmp using this command:

convert -coalesce pixels8.gif out.bmp

While doing this i get this error:

convert-im6.q16: memory allocation failed `pixels8.gif' @ error/gif.c/ReadGIFImage/1303.
convert-im6.q16: no images defined `out.bmp' @ error/convert.c/ConvertImageCommand/3258.

I am not sure what the problem is. I have taken this command from https://github.com/glouw/paperview. My system has 8GB ram.

pixels8.gif
Type: ‘image/gif’
Size: 4.6 MB (46,42,849 bytes)
Resolution: 1920×1080

web application – Is GIF safe to display inside HTML tag?

If my site let user to provide any link to GIF file then display it in image tag like follow. <img src="https://security.stackexchange.com/user_provided_url.gif" alt="some_alt" title="some_title">.

Assume that my site correctly filters out all attack coming from messing with URL text, such as XSS. Can a GIF be crafted in a way that it can harm my site by just display it?

Make a Motion Video Animation From a Still Photo for $40

Make a Motion Video Animation From a Still Photo

Nowadays everyone adds a cool video effect to the STILL IMAGE. Such effects are called Plotagraph.

I will convert your still image into a cool video. Turn any static photo into an eye-catching dynamic masterpiece, adding motion and giving any image a “Live Photo” feel with moving water, fire, snow, cloud movement, and more.

Tell your story in a fun and unique way with animated images that can now be shared on most of your favorite social media platforms as a looping video.

Why choose me?

✔️There will be a cool effect and a great High-Quality photo

✔️Fast Delivery

✔️1 Images + Music 10s duration

Please note:

– To avoid any inconvenience please send me your photo before ordering

– This is not for creating animation from the scratch, I add motion to the existing elements with some additions if needed

– Lots of images? Contact me for a Great Deal

Thanks

.

macos – Create animated gif screen captures

In macOS Catalina simply press ⇧⌘5 (Shift-Command-5) and you can choose from the following:

  • Capture Entire Screen
  • Capture Selected Window
  • Capture Selected Portion
  • Record Entire Screen
  • Record Selected Portion

Afterwards, if you want to convert the MOV file into a GIF, you can use brew install gifski (gifski is free at the time of this post) or GIF Brewery 3, which is 4.99 (sorry, it used to be free) on the Mac App Store.