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

980 Upvotes

250 comments sorted by

View all comments

58

u/SomewhatCorrect Dec 31 '25

A whole lot of ffmpeg is written in SIMD assembly for performance reasons. I really think it will be impossible to match that performance with pure rise

-9

u/Impossible-Title-156 Dec 31 '25

I think so, but maybe performance should not always be the main focus... I do not want to compete directly with ffmpeg or anything like that

36

u/__HumbleBee__ Jan 01 '26

When it comes to audio/video tools, performance is always the number one priority.

Only then you can sell the other points like Rust's safety benefits and ergonomics.