{"id":37841089,"url":"https://github.com/gitrust/moviepy","last_synced_at":"2026-01-16T16:00:17.861Z","repository":{"id":204953360,"uuid":"116149994","full_name":"gitrust/moviepy","owner":"gitrust","description":"Moviepy scripts","archived":false,"fork":false,"pushed_at":"2023-02-24T23:01:45.000Z","size":19824,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2023-11-01T19:33:10.267Z","etag":null,"topics":["ffmpeg","moviepy","python","python3","video","video-processing"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitrust.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-01-03T15:05:31.000Z","updated_at":"2023-11-01T19:33:11.890Z","dependencies_parsed_at":null,"dependency_job_id":"c0032991-6e58-46de-9479-9f58817d9b88","html_url":"https://github.com/gitrust/moviepy","commit_stats":null,"previous_names":["gitrust/moviepy"],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/gitrust/moviepy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fmoviepy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fmoviepy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fmoviepy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fmoviepy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitrust","download_url":"https://codeload.github.com/gitrust/moviepy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitrust%2Fmoviepy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ffmpeg","moviepy","python","python3","video","video-processing"],"created_at":"2026-01-16T16:00:13.332Z","updated_at":"2026-01-16T16:00:17.637Z","avatar_url":"https://github.com/gitrust.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collection of moviepy experiments\n\n\n## Videoeditor moviepy (based on python)\n\nhttp://zulko.github.io/moviepy\n\n\n## Run examples\n\nTo run examples using Docker\n\n1. install docker\n2. build docker image by `make build`\n3. run docker image by `make run`\n4. now run examples, e.g. `python src/text/concat-text.py`\n\n\n## Howto\n\n### List available fonts\n\n```\nimport moviepy.editor as mpy\n\nprint(mpy.TextClip.list('font'))\n```\n\n### List background colors\n\n```\nimport moviepy.editor as mpy\n\nprint(mpy.TextClip.list('color'))\n```\n\n### Preparing sample videos\n\nCut videos to 5 seconds, remove audio and resize to 500:300\n\n```\nffmpeg -i input.mp4 -to 00:00:05 -an -vf scale=500:300 final.mp4\n```\n\n## Video Codec\n\nhttps://zulko.github.io/moviepy/ref/VideoClip/VideoClip.html\n\nCodec to use for image encoding. Can be any codec supported by ffmpeg. \nIf the filename is has extension ‘.mp4’, ‘.ogv’, ‘.webm’, the codec will be set \naccordingly, but you can still set it if you don’t like the default. \nFor other extensions, the output filename must be set accordingly.\n\nSome examples of codecs are:\n\n* 'libx264' (default codec for file extension .mp4) makes well-compressed videos (quality tunable using ‘bitrate’)\n* 'mpeg4' (other codec for extension .mp4) can be an alternative to 'libx264', and produces higher quality videos by default\n* 'rawvideo' (use file extension .avi) will produce a video of perfect quality, of possibly very huge size\n* png (use file extension .avi) will produce a video of perfect quality, of smaller size than with rawvideo\n* 'libvorbis' (use file extension .ogv) is a nice video format, which is completely free/ open source. However not everyone has the codecs installed by default on their machine\n* 'libvpx' (use file extension .webm) is tiny a video format well indicated for web videos (with HTML5). Open source\n\n## rule of thumb for video size\n\n\tfilesize (in MB) = (bitrate in Mbit/s / 8) * (video length in seconds)\n\n## ffmpeg options for hiqh quality encoding\n\n* https://trac.ffmpeg.org/wiki/Encode/H.264\n\n## Used libraries\n\n- OpenCV\n- Numpy\n- Scipy\n- Pillow\n\n## Notes\n\n- OpenCV works with numpy arrays\n\n## Render examples\n\n### Original\n![](render/bee1.jpg)\n\n### Cartoonify\n![](render/cartoonify.gif.jpg)\n\n### Pixelate\n\n![](render/pixelate.gif.jpg)\n\n### Sketchy\n\n![](render/sketchy.gif.jpg)\n\n### Zoom\n\n![](render/zoom.gif.jpg)\n\n# References\n\n- Some sample videos are taken from https://www.pexels.com\n- https://github.com/AditiRastogi250701/Image-Cartoonifier/blob/main/Image%20Cartoonifier.py\n- https://www.pexels.com/video/close-up-view-of-a-lava-lamp-2000817/\n- https://www.pexels.com/video/water-abstract-art-oil-drops-4156092/\n- https://gist.github.com/hashABCD/58f7c94bc5b22c0bd3e1192a7690e1d1#file-img2sketch\n- https://pixabay.com/videos/jellyfish-sea-dangerous-underwater-26818/\n- https://pixabay.com/videos/skate-sport-water-action-exercise-110734/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitrust%2Fmoviepy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitrust%2Fmoviepy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitrust%2Fmoviepy/lists"}