kkroening/ffmpeg-python
View on GitHub ↗ ★ 11,010 Python
Python bindings for FFmpeg - with complex filtering support
14 mentions on Hacker News by 13 people: 2 stories, 12 comments · first 2018-02-04 · latest 2026-03-20
20082026
-
…ffmpeg commands. And if you want something more verbose / easier to read you can use something like https://github.com/kkroening/ffmpeg-python (with LLMs) as well
comment by jack_pp · 2026-03-20 · in Drawvg Filter for FFmpeg -
There's a python module for this: https://pypi.org/project/ffmpeg-python/ https://github.com/kkroening/ffmpeg-python >>> import ffmpeg >>> video_metadata = ffmpeg.probe('test.mp4') >>> print(video_metadata['streams'][0]['codec_name']) h264
comment by sparklysoup · 2025-12-07 · in Detecting AV1-encoded videos with Python -
I agree, I suggest using this instead : https://github.com/kkroening/ffmpeg-python . While not perfect once you figure it out it is far easier to use and you can wrap more complicated workflows and reuse them later.
comment by jack_pp · 2025-11-04 · in Chaining FFmpeg with a Browser Agent -
▲ 4
FFmpeg in Python: library to manipulate video and audiostory by datelligence · 2024-05-06 · 0 comments
-
…method of constructing ffmpeg pipelines. [1] https://github.com/jiaaro/pydub/issues/135 [2] https://github.com/kkroening/ffmpeg-python/tree/master/examp...
comment by orbisvicis · 2023-02-28 · in FFmpeg 6.0 -
…) .output('output.mp4', pix_fmt='yuv420p') .run() ) stitching [0], [1], and [2] [0] https://github.com/kkroening/ffmpeg-python#quickstart [1] https://kkroening.github.io/ffmpeg-python/#ffmpeg.zoompan [2]…
comment by Diris · 2022-06-09 · in Shotcut is a free, open-source, cross-platform video editor -
…you, and you can write sane python code vs. trying to deal with the crazy default ffmpeg syntax. https://github.com/kkroening/ffmpeg-python
comment by res0nat0r · 2022-06-01 · in Ffmpeg Buddy -
….drawbox(50, 50, 120, 120, color='red', thickness=5) .output('out.mp4') .run() ) [0] https://github.com/kkroening/ffmpeg-python
comment by molticrystal · 2021-03-07 · in FFMPEG from Zero to Hero -
…Python one[1] is pretty good and it lets you build complex pipelines represented with graphs. [1] https://github.com/kkroening/ffmpeg-python
comment by heavyset_go · 2020-12-20 · in FFmpeg is 20 years old today -
…aren't limited by shell argument parsing. Compare the CLI and python invocation in this example: https://github.com/kkroening/ffmpeg-python#complex-filter-gr... For some subsets of ffmpeg functionality (e.g. creating webm videos from other…
comment by the8472 · 2020-06-16 · in FFmpeg 4.3 -
…Python bindings [0] provides wrapper for filter_complex which simplifies its use a lot ! [0]: https://github.com/kkroening/ffmpeg-python
comment by feinte · 2020-03-23 · in Ffcms – FFmpeg's -filter_complex made simple -
…preview window, and then use GTK to embed the window wherever you wanted it. [0] But not all [1] https://github.com/kkroening/ffmpeg-python/issues/190
comment by shakna · 2019-12-29 · in Ffmpeg-Python: Python bindings for FFmpeg – with complex filtering support -
▲ 220
Ffmpeg-Python: Python bindings for FFmpeg – with complex filtering supportstory by brudgers · 2019-12-29 · 29 comments
-
…And all FFmpeg filters can be used, it is a thin layer over FFmpeg, just much more readable. [1] https://github.com/kkroening/ffmpeg-python [2] https://github.com/kkroening/ffmpeg-python#complex-filter-gr...
comment by 153957 · 2018-02-04 · in Video editing with Python