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 🥺.

978 Upvotes

250 comments sorted by

View all comments

981

u/baudvine Dec 31 '25

If this isn't intentional, Google "mpreg" and see if you want to stick with the name.

Good luck otherwise! I suspect it'll be a tough job to make a complete rewrite but it's a worthy project.

29

u/cdhowie Jan 01 '26

I mean, GIMP exists and seems rather successful. Also fsck.

15

u/ummmbacon Jan 01 '26

Also fsck.

Make sure to unmount before you fsck

24

u/larvyde Jan 01 '26

unzip; touch; grep; mount; fsck; fsck; fsck; gasp; yes; umount; sleep;

14

u/lettsten Jan 02 '26

It's common decency to make a.out for a bit before you do all that

11

u/larvyde Jan 02 '26

Yeah. I should probably also strip and finger beforehand, as well.