{"id":24654,"library":"static-ffmpeg","title":"static-ffmpeg","description":"Provides a static download of ffmpeg for cross-platform use, ensuring a consistent ffmpeg binary across different systems. Current version 3.0, updated irregularly.","status":"active","version":"3.0","language":"python","source_language":"en","source_url":"https://github.com/aminvs/static-ffmpeg","tags":["ffmpeg","cross-platform","binary","static"],"install":[{"cmd":"pip install static-ffmpeg","lang":"bash","label":"Install"}],"dependencies":[{"reason":"Used for downloading ffmpeg binary","package":"requests","optional":false}],"imports":[{"wrong":"from static_ffmpeg import FFmpeg","symbol":"add_paths","correct":"from static_ffmpeg import add_paths"},{"wrong":"from static_ffmpeg import FFmpeg","symbol":"run","correct":"from static_ffmpeg import run"}],"quickstart":{"code":"from static_ffmpeg import FFmpeg\nff = FFmpeg()\nff.execute(['-version'])\n# ff.execute(['-i', 'input.mp4', 'output.mp4'])","lang":"python","description":"Initialize and run ffmpeg commands with automatic binary download if not cached."},"warnings":[{"fix":"Pre-download using static_ffmpeg.download() or set STATIC_FFMPEG_AUTO_DOWNLOAD=False to manage manually.","message":"First invocation downloads a large ffmpeg binary (~50-100MB). Ensure internet connectivity and sufficient disk space.","severity":"gotcha","affected_versions":"all"},{"fix":"Always pass a list: ff.execute(['-i', 'in.mp4', 'out.mp4'])","message":"The execute() method expects a list of arguments, not a single string. Passing a string (e.g., '-i in.mp4 -out out.mp4') will break.","severity":"gotcha","affected_versions":"all"},{"fix":"Use ff.execute() instead of ff.run().","message":"The 'run()' method was renamed to 'execute()' in version 1.5. 'run()' still works but logs a deprecation warning.","severity":"deprecated","affected_versions":">=1.5"}],"env_vars":null,"search_vec":"'3.0':25 'across':20 'binari':19,32 'consist':17 'cross':12,30 'cross-platform':11,29 'current':23 'differ':21 'download':7 'ensur':15 'ffmpeg':3,9,18,28 'irregular':27 'platform':13,31 'provid':4 'static':2,6,33 'static-ffmpeg':1 'system':22 'updat':26 'use':14 'version':24","created_at":"2026-05-01T08:14:13.845406+00:00","updated_at":"2026-05-01T08:14:13.845406+00:00","problems":null,"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/static-ffmpeg/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops","data"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-08-02","install_tag":null}}