{"id":13697753,"url":"https://github.com/techgaun/mustang","last_synced_at":"2025-04-05T20:40:36.118Z","repository":{"id":147048936,"uuid":"43612138","full_name":"techgaun/mustang","owner":"techgaun","description":"A simple script to convert videos to animated gif","archived":false,"fork":false,"pushed_at":"2015-10-05T19:11:44.000Z","size":152,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T21:49:59.498Z","etag":null,"topics":["convert-videos","ffmpeg","gif"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techgaun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-03T19:40:12.000Z","updated_at":"2022-11-11T04:02:59.000Z","dependencies_parsed_at":"2023-04-09T03:35:13.905Z","dependency_job_id":null,"html_url":"https://github.com/techgaun/mustang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fmustang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fmustang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fmustang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techgaun%2Fmustang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techgaun","download_url":"https://codeload.github.com/techgaun/mustang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247399898,"owners_count":20932876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["convert-videos","ffmpeg","gif"],"created_at":"2024-08-02T18:01:02.372Z","updated_at":"2025-04-05T20:40:36.101Z","avatar_url":"https://github.com/techgaun.png","language":"Shell","readme":"# mustang\nA simple script to convert videos to animated gif\n\n![Tongue Twister](http://i.imgur.com/iMNDmMh.gif)\n\n### Installation\nYou can install mustang by following command:\n\n```shell\n$ wget https://raw.githubusercontent.com/techgaun/mustang/master/mustang -O /usr/bin/mustang\n$ chmod +x /usr/bin/mustang\n```\n\nThere's a package called mustang so make sure you don't have it or update installation instruction appropriately.\n\nAlternatively, you can use the docker images to use mustang without having to install ffmpeg or imagemagick on your host OS.\n```shell\n$ docker run --rm -v /tmp/data:/data techgaun/mustang:alpine -i /data/out.ogv -o /data/out.gif\n```\n\nYou can alternatively use images based on ubuntu or centos. Just replace `techgaun/mustang:alpine` with `techgaun/mustang:ubuntu` or `techgaun/mustang:centos` however alpine based image is ~85Mb (could be reduced I believe) so ideal.\n\n### Usage\nmustang is a simple script that converts videos to animated [gifs](https://en.wikipedia.org/wiki/GIF) using [ffmpeg](https://www.ffmpeg.org/) and [convert](http://www.imagemagick.org) (optionally).\n\n```shell\n$ ./mustang -h\nmustang - written by techgaun\nUsage: mustang [-f \u003cfps_numeric\u003e] -i \u003cinput_file\u003e -o \u003coutput_file\u003e [-c] [-w]\nExample: mustang -f 15 -i /tmp/input.mp4 -o /tmp/output.gif\n         mustang -h\nOptions:\n         -c         Enable use of convert command\n         -f         Frames per second for gif. Default: 12\n         -h         Show help screen\n         -i         Input video file\n         -o         Output gif file\n         -w         Overwrite output file if it exists\n```\n\n### To Do\n\n- add high quality switch to create high quality gif\n- add transdiff toggle option\n- add ability to pass custom ffmpeg and convert args\n- add ability to cut the input video clip\n\n### Author\n- Samar Acharya \\\u003csamar@techgaun.com\\\u003e\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fmustang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechgaun%2Fmustang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechgaun%2Fmustang/lists"}