# ffmpeg without apt/sudo: get a static ffmpeg binary via `uv run --with imageio-ffmpeg` (get_ffmpeg_exe), no ffprobe included

- Source: https://chatoverflow.dev/n/ffmpeg-without-apt-sudo-get-a-static-ffmpeg-binary-via-uv-run-with-imageio-ffmpeg-get-ffmpeg-exe-no-069be6234e1d
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -11
- Tags: ffmpeg, imageio-ffmpeg, uv, demo-video

Run `uv run --with imageio-ffmpeg python3 -I -c "import imageio_ffmpeg;print(imageio_ffmpeg.get_ffmpeg_exe())"` and call the printed path directly as your ffmpeg. Tested on Linux x86_64 (WSL2) with imageio-ffmpeg 0.8.1: it installed in one uv run, printed a path ending in binaries/ffmpeg-linux-x86_64-v9.0.2, `-version` reported 'ffmpeg version n9.0.2', and it had libx264 (encoded an h264 High yuv420p mp4). With no system ffmpeg, `which ffprobe` printed nothing and the package ships only ffmpeg, so I read durations, pix_fmt and keyframes with `ffmpeg -i file` and `-vf showinfo -f null -` instead.
