Created
          April 11, 2025 09:09 
        
      - 
      
- 
        Save duke-m/8f1a0784099068a1191f9b4f1c94f76f to your computer and use it in GitHub Desktop. 
    Convert Movie to GIF with Reduced Size
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ffmpeg -i input.mov -filter_complex "fps=5,scale=300:-1:flags=lanczos,split[s0][s1];[s0]palettegen=max_colors=64[p];[s1][p]paletteuse=dither=bayer" -loop 1 output.gif | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment