r/coolgithubprojects • • 6d ago

ZeroConverter: rename a file in Windows Explorer and it actually converts (Rust + Tauri, MIT)

Post image

I built this because I wanted the childhood trick to work: rename clip.mp4 to clip.mp3 in File Explorer and get a real MP3.

While it runs, it watches your folders and converts on rename: images, audio, game textures and video (through FFmpeg). A few extras live in the name itself:

  • photo.jpg@1080 resizes while converting
  • a trailing & keeps the original (otherwise it goes to the Recycle Bin)
  • renaming a folder to Album.webp converts every image inside

There's also a right-click menu, a regular app window for batches, and a command line tool. Rust core, Tauri + React UI, interface in 12 languages. Everything runs locally: no account, no uploads, no telemetry.

Repo: https://github.com/zerofoundry/ZeroConverter

Download: https://github.com/zerofoundry/ZeroConverter/releases/latest

Trailer: https://www.youtube.com/watch?v=qcFnY5N6h3Y

It's the first release (0.1.0) and the installer isn't code-signed yet, so SmartScreen may warn you. Issues and feedback are very welcome, especially if something breaks.

28 Upvotes

11 comments sorted by

2

u/T_rex2700 6d ago

sounds neat. can I just make it remember custom command?
cause not every file with the same extension are created equal.

1

u/Winter_Barnacle2466 6d ago

Not yet. Right now you can end the name with + (like photo.webp+) and it asks for quality and size before converting, but it doesn't remember your choice.

Saved presets are a great idea though. I've opened an issue for it, feel free to add what you'd want there: https://github.com/zerofoundry/ZeroConverter/issues/6

2

u/T_rex2700 6d ago

just being able to use ffmpeg args would be fine.
for now I will just stick to using cli but loooking forward to the feature addition

2

u/this_for_loona 6d ago

This is insanely clever. How do you handle the video parameters? Like if I have a 4k mkv and I rename it to an mp4 what does it use for the conversion parameters?

1

u/Winter_Barnacle2466 6d ago

Thanks! For a container change it doesn't re-encode at all if it can avoid it. A 4K MKV with H.264/HEVC/AV1 video and AAC audio just gets its streams copied into the MP4: same quality, same resolution, done in a second or two.

Only the streams the new container can't hold get re-encoded, one by one: video to H.264 (using your GPU encoder if there is one), audio to AAC. Resolution stays the same either way.

1

u/this_for_loona 6d ago

How about subtitles in the conversion?

1

u/Winter_Barnacle2466 6d ago

Yep. Text subtitles (SRT, ASS) get converted to MP4's own subtitle format. Image-based ones like Blu-ray PGS can't go into MP4, so those are dropped and it tells you. Rename to .mkv instead and every subtitle type comes along as is.

2

u/this_for_loona 6d ago

This is amazingly clever. Thank you for sharing.

1

u/[deleted] 6d ago

since windwos 98 you can use bach for this work like 2 -10 KB file!

2

u/Winter_Barnacle2466 6d ago

True, if you're comfortable with scripts, a .bat with ffmpeg or ImageMagick does the job. This is for people who'd rather just rename the file and be done, no scripts or command line needed.

1

u/Adro_95 6d ago

Bach? I swear i have never heard of it