Portál AbcLinuxu, 5. května 2024 07:23


Dotaz: Mplayer ignoruje replay gain

6.4.2022 12:53 gsnak | skóre: 22 | blog: gsnak
Mplayer ignoruje replay gain
Přečteno: 343×
Odpovědět | Admin
MPlayer 1.3.0 (ubuntu 20.04.4) ignoruje replay gain ktory nastavim na mp3 subory.
sox -r 48000 -n -b 16 -c 2 1.wav synth 30 sin 1000 vol -10dB
sox -r 48000 -n -b 16 -c 2 2.wav synth 30 sin 1000 vol -20dB
lame -b 128 1.wav
lame -b 128 2.wav
normalize-audio --id3-compat 1.mp3 2.mp3
mplayer 1.mp3 2.mp3
Ked to spustim 1 a 2 ma vyrazne inu hlasitost. Neviete ci sa s stym da nieco robit aby to neignoroval?
Čo Rys, to vrah!

Řešení dotazu:


Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

Řešení 1× (gsnak (tazatel))
Gréta avatar 6.4.2022 19:24 Gréta | skóre: 36 | blog: Grétin blogísek | 🇮🇱==❤️ , 🇵🇸==💩 , 🇪🇺==☭
Rozbalit Rozbalit vše Re: Mplayer ignoruje replay gain
Odpovědět | | Sbalit | Link | Blokovat | Admin

použít mp3gain misto normalize-audio

to mi fungovalo :D

oslavná píseň na pana soudruha generalisima prezidentčíka Petra Pavla Pávka 🎶🫡🦚🎶
6.4.2022 21:38 gsnak | skóre: 22 | blog: gsnak
Rozbalit Rozbalit vše Re: Mplayer ignoruje replay gain
Funguje, ja som ho najprv nenasiel lebo balik bol odstraneny z ubuntu. Ale teraz som si vsimol ze z toho spravili snap.

mp3gain -r 1.mp3 2.mp3
Čo Rys, to vrah!
14.4.2022 14:46 unreg
Rozbalit Rozbalit vše Re: Mplayer ignoruje replay gain
Odpovědět | | Sbalit | Link | Blokovat | Admin

viz bod 5. v README k normalize-audio:

http://normalize.nongnu.org/README.html
Can normalize operate directly on mp3 files? Version 0.7 and up can operate directly on MPEG audio files. An mp3 file is decoded (using Robert Leslie's MAD library) and analyzed on the fly, without the need for large temporary WAV files. The mp3 file is then "adjusted" by setting its relative volume adjustment information (technically, an "RVA2" frame is set in its ID3v2 tag). The advantage of this method is that the audio data doesn't need to be touched, and you don't incur the cost of re-encoding. The disadvantage is that your mp3 player needs to read and use relative volume adjustment ID3 frames. The normalize distribution now includes a plugin for xmms that honors volume adjustment frames. If you use an mp3 player other than xmms, you'll have to bug the author to support RVA2 frames in ID3 tags. If you'd rather change the volume of the mp3 audio data itself, you still have to decode to WAV, normalize the WAV, and re-encode. A script, normalize-mp3, is included in the normalize distribution to do this for you.

.. tedy bez rekomprese to uklada do ID3v2 tagu jako metadata

nu a mplayer? otazka z 2007:

https://marc.info/?l=mplayer-users&m=118838419631940
> Hello,
> 
> Just wondering if there is any way to adjust the volume of an mp3
> file using the RVA2 id3 tag under mplayer.  The other players I use
> (mpg123 and mpd) both support RVA so mp3s play at the same volume but
> when I play a file with mplayer, it comes over quite loud.

Probably not.

> If mplayer doesn't directly support RVA, can a DB gain be supplied on
> the commandline?  I could then write a script to extract the RVA and
> feed it to mplayer.

-af volume

Pokud tedy mplayer prehrava oba soubory s jinou hlasitosti, tak se dle vseho od 2007 v podpore RVA2 nic nezmenilo

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.