Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #60891

Re: normalize audio

From Emanuel Berg <moasenwood@zoho.eu>
Newsgroups alt.os.linux
Subject Re: normalize audio
Date 2019-11-28 06:51 +0100
Organization Aioe.org NNTP Server
Message-ID <86eexs1rbg.fsf@zoho.eu> (permalink)
References <86eexwbh1o.fsf@zoho.eu> <qrfupe$7qj$1@dont-email.me> <86r21t512x.fsf@zoho.eu> <qrlno1$9ls$2@dont-email.me>

Show all headers | View raw


Paul wrote:

> What does ffprobe tell you about the "before"
> and "after" files ?
>
>    ffprobe some.mp3
>
> The codec used should be listed.

Size: 3.1M -> 157M

Encoder: google/video-file -> Lavf57.56.101 and dLavc57.64.101 pcm_s16le

Before:

 10 ~/mm/ed ll rollergirl-dear-jessie.webm 
-rw-r--r-- 1 incal incal 3.1M Jul 31 15:32 rollergirl-dear-jessie.webm
 10 ~/mm/ed ffprobe rollergirl-dear-jessie.webm 
ffprobe version 3.2.14-1~deb9u1 Copyright (c) 2007-2019 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, matroska,webm, from 'rollergirl-dear-jessie.webm':
  Metadata:
    encoder         : google/video-file
  Duration: 00:03:33.38, start: -0.007000, bitrate: 121 kb/s
    Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)

After:

 10 ~/mm/ed cd normalized
 10 ~/mm/ed/normalized ls
rollergirl-dear-jessie.mkv
 10 ~/mm/ed/normalized ll rollergirl-dear-jessie.mkv 
-rw-r--r-- 1 incal incal 157M Nov 28 06:45 rollergirl-dear-jessie.mkv
 10 ~/mm/ed/normalized ffprobe rollergirl-dear-jessie.mkv 
ffprobe version 3.2.14-1~deb9u1 Copyright (c) 2007-2019 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
  configuration: --prefix=/usr --extra-version='1~deb9u1' --toolchain=hardened --libdir=/usr/lib/arm-linux-gnueabihf --incdir=/usr/include/arm-linux-gnueabihf --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 34.101 / 55. 34.101
  libavcodec     57. 64.101 / 57. 64.101
  libavformat    57. 56.101 / 57. 56.101
  libavdevice    57.  1.100 / 57.  1.100
  libavfilter     6. 65.100 /  6. 65.100
  libavresample   3.  1.  0 /  3.  1.  0
  libswscale      4.  2.100 /  4.  2.100
  libswresample   2.  3.100 /  2.  3.100
  libpostproc    54.  1.100 / 54.  1.100
Input #0, matroska,webm, from 'rollergirl-dear-jessie.mkv':
  Metadata:
    ENCODER         : Lavf57.56.101
  Duration: 00:03:33.38, start: 0.000000, bitrate: 6146 kb/s
    Stream #0:0(eng): Audio: pcm_s16le, 192000 Hz, 2 channels, s16, 6144 kb/s (default)
    Metadata:
      ENCODER         : Lavc57.64.101 pcm_s16le
      DURATION        : 00:03:33.375000000

> It would probably help, to specify the codec
> when re-encoding the file with the normalize
> command. My guess is, it's been converted
> into PCM or something.

Yes, PCM is mentioned in the normalized file:
pcm_s16le (twice). PCM = Pulse-code modulation,
<https://en.wikipedia.org/wiki/Pulse-code_modulation>

> There has to be an answer in there.

The truth is out there :)

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal

Back to alt.os.linux | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-25 07:34 +0100
  Re: normalize audio Paul <nospam@needed.invalid> - 2019-11-25 02:10 -0500
    Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-27 06:40 +0100
      Re: normalize audio Paul <nospam@needed.invalid> - 2019-11-27 06:47 -0500
        Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-28 06:51 +0100
          Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-28 07:04 +0100
            Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-28 07:07 +0100
              Re: normalize audio Paul <nospam@needed.invalid> - 2019-11-28 06:29 -0500
                Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-29 06:58 +0100
                Re: normalize audio Emanuel Berg <moasenwood@zoho.eu> - 2019-11-29 07:05 +0100
                Re: normalize audio Johann Beretta <beretta@nun-ya-bizness.com> - 2019-12-25 02:10 -0800
  Re: normalize audio William Unruh <unruh@invalid.ca> - 2019-11-25 13:57 +0000

csiph-web