[libav-bugs] [Bug 706] New: port volumedetect filter

bugzilla at libav.org bugzilla at libav.org
Sat Jun 21 13:30:52 CEST 2014


http://bugzilla.libav.org/show_bug.cgi?id=706

           Summary: port volumedetect filter
           Product: Libav
           Version: 9
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: libavfilter
        AssignedTo: bugzilla at libav.org
        ReportedBy: alexis.tsvetkov at gmail.com


I am trying to get peak volume for a track, in order to increase volume later
when transcoding using volume filter. This has been possible with ffmpeg filter
volumedetect: http://patchwork.libav.org/patch/26254/.



$ avconv -i sample.mp3 -af volumedetect -f null /dev/null
avconv version 9.13-6:9.13-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav
developers
  built on May  9 2014 13:34:03 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
[mp3 @ 0x9a6e00] max_analyze_duration reached
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, mp3, from 'sample.mp3':
  Metadata:
    title           : Trio (1949) Violin, Clarinet And Piano
    album           : Unknown Title
    artist          : Galina Ustvolskaya
    track           : 01
  Duration: 00:15:26.06, start: 0.000000, bitrate: 319 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16p, 319 kb/s
[AVFilterGraph @ 0x9a90c0] No such filter: 'volumedetect'
Error opening filters!



$ avconv -v 9 -loglevel 99 -i sample.mp3 
avconv version 9.13-6:9.13-0ubuntu0.14.04.1, Copyright (c) 2000-2014 the Libav
developers
  built on May  9 2014 13:34:03 with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
  configuration: --arch=amd64 --enable-pthreads --enable-runtime-cpudetect
--extra-version='6:9.13-0ubuntu0.14.04.1' --libdir=/usr/lib/x86_64-linux-gnu
--prefix=/usr --enable-bzlib --enable-libdc1394 --enable-libfreetype
--enable-frei0r --enable-gnutls --enable-libgsm --enable-libmp3lame
--enable-librtmp --enable-libopenjpeg --enable-libopus --enable-libpulse
--enable-libschroedinger --enable-libspeex --enable-libtheora --enable-vaapi
--enable-vdpau --enable-libvorbis --enable-libvpx --enable-zlib --enable-gpl
--enable-swscale --enable-libcdio --enable-x11grab --enable-libx264
--enable-libxvid --shlibdir=/usr/lib/x86_64-linux-gnu --enable-shared
--disable-static
  libavutil     52.  3. 0 / 52.  3. 0
  libavcodec    54. 35. 0 / 54. 35. 0
  libavformat   54. 20. 4 / 54. 20. 4
  libavdevice   53.  2. 0 / 53.  2. 0
  libavfilter    3.  3. 0 /  3.  3. 0
  libavresample  1.  0. 1 /  1.  0. 1
  libswscale     2.  1. 1 /  2.  1. 1
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set libav* logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set libav* logging
level) with argument '99'.
Reading option '-i' ... matched as input file with argument 'sample.mp3'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set libav* logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input file sample.mp3.
Successfully parsed a group of options.
Opening an input file: sample.mp3.
[mp3 @ 0x7496c0] Probed with size=4096 and score=51
[mp3 @ 0x7496c0] max_analyze_duration reached
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, mp3, from 'sample.mp3':
  Metadata:
    title           : Trio (1949) Violin, Clarinet And Piano
    album           : Unknown Title
    artist          : Galina Ustvolskaya
    track           : 01
  Duration: 00:15:26.06, start: 0.000000, bitrate: 319 kb/s
    Stream #0.0, 194, 1/14112000: Audio: mp3, 44100 Hz, stereo, s16p, 319 kb/s
Successfully openened the file.
At least one output file must be specified

-- 
Configure bugmail: http://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list