Skip to content

Instantly share code, notes, and snippets.

View SubCoder1's full-sized avatar
🏠
Working from home

Souma Kanti Ghosh SubCoder1

🏠
Working from home
  • Bangalore, India
  • 11:42 (UTC +05:30)
View GitHub Profile
@skywodd
skywodd / resize_gif.py
Created November 3, 2017 12:48
Resize GIF image using Python Pillow library
from PIL import Image, ImageSequence
# Output (max) size
size = 320, 240
# Open source
im = Image.open("in.gif")
# Get sequence iterator
frames = ImageSequence.Iterator(im)

Direct copy of pre-encoded file:

$ ffmpeg -i filename.mp4 -codec: copy -start_number 0 -hls_time 10 -hls_list_size 0 -f hls filename.m3u8

@PurpleBooth
PurpleBooth / README-Template.md
Last active November 22, 2024 07:19
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites