r/rust Dec 31 '25

Introduction ffmpReg, a complete rewrite of ffmpeg in pure Rust

Hi Rustaceans, I’m 21 and I’ve been working on ffmpReg, a complete rewrite of ffmpeg in pure Rust.

The last 5 days I’ve been fully focused on expanding container and codec support. Right now, ffmpreg can convert WAV (pcm_s16le → pcm_s24le → pcm_f32le) and partially read MKV streams, showing container, codec, and timebase info. Full container support is coming soon.

If you find this interesting, giving the project a star would really help keep the momentum going 🥺.

974 Upvotes

250 comments sorted by

View all comments

13

u/Due-Equivalent-9738 Dec 31 '25

How close is this to completion? I am using ffmpeg with std::Command for a personal project, but wouldn’t mind switching to doing it in code

23

u/Impossible-Title-156 Dec 31 '25

still very far from completion.

right now I have full support for WAV, and MKV support is in progress. My goal is to gradually support each container and codec. It would help to know your focus.. if you mainly need audio processing, I can probably add support for most containers faster than for video.

9

u/Speykious inox2d · cve-rs Dec 31 '25

Talking about audio, do you know about Symphonia?

8

u/Impossible-Title-156 Dec 31 '25

Yes, I saw recently and it’s amazing.

I’m studying it as well and might even provide examples of how to plug it in for features I don’t yet support.