Skip to content

Suggestions Regarding Video File Tags and rsgain #153

@NinjaMilez

Description

@NinjaMilez

I've been trying to write a script that applies ReplayGain tags to my video and audio library. After using FFmpeg and realising it's loudnorm option is not the appropriate solution for this, I recently found rsgain and it works perfectly for my FLAC and MP3 files.

My video library consists of MP4, WEBM and MKV files and my video player of choice is mpv since it can use ReplayGain tags from video files and apply the gain adjustment during playback.

One issue is that rsgain adds the tags to the 'General' section of the video metadata, rather than on the audio track which is what mpv reads. I'd need to save the csv output and use another program like mkvpropedit read the csv and apply tags. I can probably do it but was wondering if there could be an option to have rsgain do this automatically, perhaps as a user-configurable option as I assume other video players don't check the Audio track tags? I assume this is because the way it currently applies tags is iTunes compatible or something?

The next is that it doesn't currently support WEBM and MKV files. Would it be possible to do so?

My video library partly consists of ripped Blu-ray discs (to MKV) that typically contain multiple audio tracks. Is it possible to implement rsgain to scan each audio track of an MKV and embed resulting ReplayGain tags to each one?

Lastly, does rsgain support multi-channel, i.e. 5.1, 7.1, Atmos/DTS:X etc, that are above 1.0 mono & 2.0 stereo? BS.1770 does have information regarding multi-channel audio. I don't have any multi-channel MP4 video files to test it myself.

Just a disclaimer, I don't mean to sound like I'm demanding anything at all! I completely understand if some of these suggestions are completely outside the scope of the project.

Thank you very much for the program. Even if I'm unable to use it for my video files then I'll absolutely still be using for my music library!

Edit: Sorry, one more thing. The ReplayGain option in Foobar2000 has the option of manually setting the up-sampling factor during scanning for improved inter-sample peak detection. Is this something that could possibly be implemented into rsgain?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions