[FFmpeg-trac] #1070(undetermined:new): Volume not working as documented (fails in dB)

FFmpeg trac at avcodec.org
Thu Mar 15 04:23:54 CET 2012


#1070: Volume not working as documented (fails in dB)
-------------------------------------+-------------------------------------
             Reporter:  ramitbhalla  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 According to the ffmpeg documentation in section 21.12 vol can accept
 either an integer or a decimal with a dB suffix. The integer works fine
 but when I use a decimal or a dB suffix it fails.

 When I try to use a decimal number or use the dB suffix ffmpeg fails.

 Here is the command I'm using:
 -drc_scale 0.8 -i "D:\Himoe_USA_File.ts" -vcodec libx264 -b 2000000
 -acodec libvo_aacenc -ab 160k -ac 2 -vol 26dB "D:\Himoe_USA_File.mp4"

 This is the output:
 --> ffmpeg version N-37915-g6cb2085 Copyright (c) 2000-2012 the FFmpeg
 developers
 -->   built on Feb 15 2012 20:47:20 with gcc 4.6.2
 -->   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-
 frei0r --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg
 --enable-librtmp --enable-libschroedinger --enable-libspeex --enable-
 libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
 --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid
 --enable-zlib
 -->   libavutil      51. 39.100 / 51. 39.100
 -->   libavcodec     54.  3.100 / 54.  3.100
 -->   libavformat    54.  1.100 / 54.  1.100
 -->   libavdevice    53.  4.100 / 53.  4.100
 -->   libavfilter     2. 62.100 /  2. 62.100
 -->   libswscale      2.  1.100 /  2.  1.100
 -->   libswresample   0.  6.100 /  0.  6.100
 -->   libpostproc    52.  0.100 / 52.  0.100
 --> [mpeg2video @ 02FA65E0] mpeg_decode_postinit() failure
 -->     Last message repeated 19 times
 --> [mpegts @ 01C0D660] PES packet size mismatch
 --> Input #0, mpegts, from 'D:\Himoe_USA_File.ts':
 -->   Duration: 00:00:51.70, start: 30981.471378, bitrate: 9754 kb/s
 --> Video duration=51.7
 -->   Program 1009
 -->   No Program
 -->     Stream #0:0[0x7c0]: Video: mpeg2video (Main), yuv420p, 1280x720
 [SAR 1:1 DAR 16:9], 17782 kb/s, 64.74 fps, 59.94 tbr, 90k tbn, 119.88 tbc
 -->     Stream #0:1[0x7c1]: Audio: ac3, 48000 Hz, 5.1(side), s16, 384 kb/s
 --> Please use -b:a or -b:v, -b is ambiguous
 --> Expected int64 for vol but found 26dB

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1070>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list