ReplayGain in videos

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
CyberTootie
New Cone
New Cone
Posts: 5
Joined: 22 Apr 2012 18:16

ReplayGain in videos

Postby CyberTootie » 22 Apr 2012 18:24

Hello.

I'm trying to get ReplayGain to work with videos in VLC. What do I need to do in order to trigger ReplayGain processing of videos or is this behavior not intended?

ReplayGain is enabled to track gain and I've tried direct RG tagging of MKV and MP4 containers to no avail as well as the tagging of a FLAC stream within the MKV container.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: ReplayGain in videos

Postby Rémi Denis-Courmont » 23 Apr 2012 11:55

VLC could not care less if there is a video track. Replay gain applies anyway. Either there is a bug or the tagging mechanism is not supported. Patch welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

CyberTootie
New Cone
New Cone
Posts: 5
Joined: 22 Apr 2012 18:16

Re: ReplayGain in videos

Postby CyberTootie » 23 Apr 2012 14:14

Well here are the ReplayGain tagging standards:
http://wiki.hydrogenaudio.org/index.php ... n#Metadata

AFAIK, foobar2000 strictly heeds these standards and this is what I use to embed the ReplayGain tagging. Here are a few example files for testing purposes. foobar2000 recognizes the ReplayGain values and utilizes them accordingly. (Well, it should, it wrote the data!)

These have a tag attached to the MKV container with ReplayGain values:
http://cybertootie.net/downloads/RainDirectTagRG.mkv
http://cybertootie.net/downloads/GroundDirectTagRG.mkv

These have ReplayGain data embedded into their respective FLAC audio streams:
http://cybertootie.net/downloads/RainAudioTagRG.mkv
http://cybertootie.net/downloads/GroundAudioTagRG.mkv

It is important to note though that it doesn't appear that there is a standard for tagging Matroska (MKA, MKV) files. But like I said in the OP, I have tried with an MP4 video and that did not work.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: ReplayGain in videos

Postby Jean-Baptiste Kempf » 23 Apr 2012 19:11

According to the VLC source code, we support ReplayGain in Vorbis comments, but not in ape, nor in id3v2.
Samples are welcome to improve this.

However, I do not see how you can put RG in MKV if there is no spec.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

CyberTootie
New Cone
New Cone
Posts: 5
Joined: 22 Apr 2012 18:16

Re: ReplayGain in videos

Postby CyberTootie » 23 Apr 2012 23:18

I'm mistaken, Matroska does have a specification for ReplayGain, it's just not listed on the article I previously linked to.
http://matroska.org/technical/specs/tagging/index.html

I whipped up some samples of ReplayGained MP4 videos:
http://cybertootie.net/downloads/SweetshopRG.mp4 (-9.5 dB)
http://cybertootie.net/downloads/FireworkRG.mp4 (-0.25 dB)


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests