{"id":37064374,"url":"https://github.com/gautam8404/ffmpeg-py","last_synced_at":"2026-01-14T07:31:20.211Z","repository":{"id":183912833,"uuid":"671016130","full_name":"gautam8404/ffmpeg-py","owner":"gautam8404","description":"Simple FFmpeg bindings for python","archived":false,"fork":false,"pushed_at":"2023-08-15T23:27:59.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-27T23:12:55.323Z","etag":null,"topics":["ffmpeg","ffmpeg-wrapper","python-ffmpeg"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/ffmpeg-py/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gautam8404.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,"governance":null}},"created_at":"2023-07-26T10:53:17.000Z","updated_at":"2023-08-07T06:24:33.000Z","dependencies_parsed_at":"2023-07-26T11:12:02.990Z","dependency_job_id":null,"html_url":"https://github.com/gautam8404/ffmpeg-py","commit_stats":null,"previous_names":["gautam8404/ffmpeg-py"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gautam8404/ffmpeg-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautam8404%2Fffmpeg-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautam8404%2Fffmpeg-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautam8404%2Fffmpeg-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautam8404%2Fffmpeg-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gautam8404","download_url":"https://codeload.github.com/gautam8404/ffmpeg-py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gautam8404%2Fffmpeg-py/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413349,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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","ffmpeg-wrapper","python-ffmpeg"],"created_at":"2026-01-14T07:31:19.546Z","updated_at":"2026-01-14T07:31:20.197Z","avatar_url":"https://github.com/gautam8404.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Simple FFmpeg binding for python, mainly created for personal use. But i do plant to modify it for professional use.\n\n## Installation using pip\n```bash\npip install ffmpeg-py\n```\n\nExample:\n```python\nfrom FFmpeg.ffmpeg import FFmpeg\nimport subprocess\n\nffmpeg = FFmpeg()\nff = (\n    ffmpeg\n    .OverwriteOutput()\n    .addInput(\"video1.webm\")\n    .addInput(\"./logo.png\")\n    .addInput(\"video2.webm\")\n    .videoCodec(\"libx264\")\n    .audioCodec(\"aac\")\n    .videoFramerate(30)\n    .videoResolution(resString=\"1920x1080\")\n    .scale2refFilter(2, 0, \"oh*mdar:ih*0.2\", \"camera\", \"video\")  # resize camera to 20% of screen height\n    .overlayFilter(\"video\", \"1\", \"W-w-10\", \"H-h-10\", \"v\")  # overlay logo on bottom right\n    .overlayFilter(\"v\", \"camera\", \"10\", \"10\")  # overlay camera on top left\n    .output(\"output.mp4\")  # output file\n)\ncode, stdout, stderr = ff.execute(stderr=subprocess.STDOUT, shell=False)\nprint(code, stdout, stderr)\n```\n\n## INFO\n\n- FFmpeg.ffmpeg.FFmpeg() - Main class, contains logic for executing command using subprocess\n- FFmpeg.ffmpegCommandBuilder.FFmpegCommandBuilder() - Class for building ffmpeg command, contains all methods for ffmpeg filters, codecs and other options\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgautam8404%2Fffmpeg-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgautam8404%2Fffmpeg-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgautam8404%2Fffmpeg-py/lists"}