Jump to content

Recommended Posts

benris
Posted

Hey everyone,

I wanted to share a small tool I developed (with some help of AI 😅) to help organize the audio tracks in my media collection before adding them to Emby. I thought it might be useful for others here as well.

MediaFixer is a lightweight desktop tool designed specifically for cleaning up audio tracks within video containers (like MKV or MP4).

Please note: This is not for editing standalone audio files; it is strictly for patching the audio streams inside your video files.

Why use it? If you are tired of seeing "Unknown" language flags in Emby, dealing with incompatible audio codecs that trigger unnecessary transcoding, or seeing messy track titles (like "Encoded by..."), this tool is built to fix those issues.

Key Features:

  • Fix Language Flags: Batch-apply the correct language tags (e.g., German, English) to entire seasons or folders so Emby automatically selects the right track.

  • Bulk Audio Patching: Convert audio tracks in a folder to a specific codec (AC3, AAC, MP3), change bitrates, or force a stereo downmix for better compatibility with your client devices.

  • Metadata Scrubbing: Easily rename track titles or completely clear out hidden "handler_name" tags often left behind by encoders.

  • Safe Simulation Mode: The tool includes a detailed simulation mode that previews every planned change before a single byte is written to your drive.

  • Easy Setup: No need to manually install FFmpeg or mess with terminal paths. On Windows, the built-in setup wizard can automatically download the required portable binaries for you.

The UI supports both English and German natively and features a simple dark-mode interface.

Screenshots & Download: You can find the source code, further documentation, and pre-compiled binaries for Windows and Linux on GitHub. There is a /screenshots folder in the repository if you want to see the UI in action.

GitHub Link: https://github.com/sirbenris/MediaFixer

The application is built on Python and utilizes FFmpeg and MediaInfo for processing. Since I used PyInstaller for the standalone executables, Windows Defender might flag it as "unrecognized" (a common false positive for unsigned Python tools), but the code is fully open-source for your inspection.

I hope this helps some of you keep your libraries a bit cleaner. I’d love to hear your feedback or any suggestions for future features!

Best regards, Benny (benris)

MediaFixer_single_eng.png

MediaFixer_bulk_eng.png

MediaFixer_single_deu.png

MediaFixer_bulk_deu.png

  • Like 3
yocker
Posted

Looking at the screenshots.

Is there a limiter so that remuxing/multiplex wont take all CPU/Transcoding power and preventing videos from playing for users?

benris
Posted

Hello there, 

That's a great question.

Right now, there is no internal resource governor or thread limiter in the UI, but here is how it works:

Remuxing/Patching without conversion: If you use the 'Copy' setting for codecs, the process mostly depends on your disk's I/O speed. The CPU load stays very low, so it shouldn't affect other users watching videos.

Transcoding: When converting audio to a different codec, like AC3 or AAC, FFmpeg will try to use available CPU cycles to finish the task quickly.

Recommendation:

Since MediaFixer is made to be a pre-processing tool, you should use it before adding the files to your Emby library. The intended workflow is to fix your files on a workstation or during maintenance windows.

I've also noted the idea of a low-priority mode or a thread limiter for the roadmap. This would let you run it in the background on the same machine as your server without any concerns!

greedz benris

benris
Posted
44 minutes ago, yocker said:

Looking at the screenshots.

Is there a limiter so that remuxing/multiplex wont take all CPU/Transcoding power and preventing videos from playing for users?

Will be added in next release, thanks for your advise!!

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...