[FFmpeg-user] Increase volume while using amerge

Alex doenerbudenchef at yahoo.de
Thu Jul 11 13:33:53 CEST 2013


Hi all, 

I've tried to increase the volume of my output file. But when I use the
amerge parameter to merge my mono audio streams the volume filter does not
work.

Output:

C:\>ffmpeg -i different.mxf -s 640x360  -aspect 16:9 -y -vb 1500k -bt 1500k
-vcodec libx264 -r 25 -vf yadif -pix_fmt yuv420p -f flv -filter_complex
amerge -af volume=15.8dB -strict experimental -acodec aac -ab 128k -ar 44100
-ss 0 -pass 1 -fastfirstpass 1 different.flv && ffmpeg -i different.mxf -s
640x360  -aspect 16:9 -y -vb 1500k -bt 1500k -vcodec libx264 -r 25 -vf yadif
-pix_fmt yuv420p -f flv -filter_complex amerge -af volume=15.8dB -strict
experimental -acodec aac -ab 128k -ar 44100 -ss 0 -pass 2 -fastfirstpass 0
different.flv

ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --ena
ble-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 17.100 / 55. 17.100
  libavformat    55. 10.100 / 55. 10.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Guessed Channel Layout for  Input Stream #0.6 : mono
Guessed Channel Layout for  Input Stream #0.7 : mono
Guessed Channel Layout for  Input Stream #0.8 : mono
Input #0, mxf, from 'different.mxf':
  Metadata:
    uid             : 90798c31-2fe4-11e2-b193-00e081d26969
    generation_uid  : 90798c32-2fe4-11e2-9f65-00e081d26969
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Premiere Pro
    product_version : 5.0.0
    application_platform: win32
    product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
    modification_date: 2012-11-16 11:55:49
    timecode        : 00:00:00:00
  Duration: 00:05:00.48, start: 0.000000, bitrate: 59264 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR
16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
[Parsed_amerge_0 @ 00000000024ad500] No channel layout for input 1
[Parsed_amerge_0 @ 00000000024ad500] Input channel layouts overlap: output
layout will be determined by the number of distinct input channels
[libx264 @ 0000000002523900] using SAR=1/1
[libx264 @ 0000000002523900] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 0000000002523900] profile Main, level 3.0
[libx264 @ 0000000002523900] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC
codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:
cabac=1 ref=1 deblock=1:0:0 analyse=0x1:0 me=dia subme=2 psy=1
psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0
cqm=0 deadzone
=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=2
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahead=40
 rc=abr mbtree=1 bitrate=1500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'different.flv':
  Metadata:
    uid             : 90798c31-2fe4-11e2-b193-00e081d26969
    generation_uid  : 90798c32-2fe4-11e2-9f65-00e081d26969
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Premiere Pro
    product_version : 5.0.0
    application_platform: win32
    product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
    modification_date: 2012-11-16 11:55:49
    timecode        : 00:00:00:00
    encoder         : Lavf55.10.100
    Stream #0:0: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo,
fltp, 128 kb/s
    Stream #0:1: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p,
640x360 [SAR 1:1 DAR 16:9], q=-1--1, pass 1, 1500 kb/s, 1k tbn, 25 tbc
Stream mapping:
  Stream #0:1 (pcm_s24le) -> amerge:in0 (graph 0)
  Stream #0:2 (pcm_s24le) -> amerge:in1 (graph 0)
  amerge (graph 0) -> Stream #0:0 (aac)
  Stream #0:0 -> #0:1 (mpeg2video -> libx264)
Press [q] to stop, [?] for help
[mpeg2video @ 00000000024ac8a0] warning: first frame is no keyframe
    Last message repeated 1 times
frame= 7512 fps= 67 q=-1.0 Lsize=   59746kB time=00:05:00.49
bitrate=1628.8kbits/s
video:54679kB audio:4704kB subtitle:0 global headers:0kB muxing overhead
0.610088%
[libx264 @ 0000000002523900] frame I:117   Avg QP:11.66  size: 30327
[libx264 @ 0000000002523900] frame P:4401  Avg QP:15.46  size:  9736
[libx264 @ 0000000002523900] frame B:2994  Avg QP:17.18  size:  3205
[libx264 @ 0000000002523900] consecutive B-frames: 32.3% 38.9% 14.4% 14.4%
[libx264 @ 0000000002523900] mb I  I16..4: 36.9%  0.0% 63.1%
[libx264 @ 0000000002523900] mb P  I16..4: 28.9%  0.0%  0.0%  P16..4: 60.4% 
0.0%  0.0%  0.0%  0.0%    skip:10.7%
[libx264 @ 0000000002523900] mb B  I16..4:  3.6%  0.0%  0.0%  B16..8: 36.8% 
0.0%  0.0%  direct:22.1%  skip:37.5%  L0:27.8% L1:38.1% BI:34.2%
[libx264 @ 0000000002523900] final ratefactor: 14.89
[libx264 @ 0000000002523900] coded y,uvDC,uvAC intra: 52.5% 38.9% 22.6%
inter: 34.7% 19.5% 2.3%
[libx264 @ 0000000002523900] i16 v,h,dc,p: 48% 15% 27% 10%
[libx264 @ 0000000002523900] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 24% 17% 13%  7% 
8%  8%  7%  8%  7%
[libx264 @ 0000000002523900] i8c dc,h,v,p: 67% 12% 17%  4%
[libx264 @ 0000000002523900] Weighted P-Frames: Y:9.5% UV:1.6%
[libx264 @ 0000000002523900] kb/s:1490.71
ffmpeg version N-54207-ge59fb3f Copyright (c) 2000-2013 the FFmpeg
developers
  built on Jun 25 2013 21:55:00 with gcc 4.7.3 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass --enable-libbluray
--enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc
--enable-libmodplug --ena
ble-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libopus --enable-librtmp
--enable-libschroedinger --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvo-aacenc
--enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
  libavutil      52. 37.101 / 52. 37.101
  libavcodec     55. 17.100 / 55. 17.100
  libavformat    55. 10.100 / 55. 10.100
  libavdevice    55.  2.100 / 55.  2.100
  libavfilter     3. 77.101 /  3. 77.101
  libswscale      2.  3.100 /  2.  3.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  3.100 / 52.  3.100
Guessed Channel Layout for  Input Stream #0.1 : mono
Guessed Channel Layout for  Input Stream #0.2 : mono
Guessed Channel Layout for  Input Stream #0.3 : mono
Guessed Channel Layout for  Input Stream #0.4 : mono
Guessed Channel Layout for  Input Stream #0.5 : mono
Guessed Channel Layout for  Input Stream #0.6 : mono
Guessed Channel Layout for  Input Stream #0.7 : mono
Guessed Channel Layout for  Input Stream #0.8 : mono
Input #0, mxf, from 'different.mxf':
  Metadata:
    uid             : 90798c31-2fe4-11e2-b193-00e081d26969
    generation_uid  : 90798c32-2fe4-11e2-9f65-00e081d26969
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Premiere Pro
    product_version : 5.0.0
    application_platform: win32
    product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
    modification_date: 2012-11-16 11:55:49
    timecode        : 00:00:00:00
  Duration: 00:05:00.48, start: 0.000000, bitrate: 59264 kb/s
    Stream #0:0: Video: mpeg2video (4:2:2), yuv422p, 1920x1080 [SAR 1:1 DAR
16:9], 25 fps, 25 tbr, 25 tbn, 50 tbc
    Stream #0:1: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:2: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:3: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:4: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:5: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:6: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:7: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
    Stream #0:8: Audio: pcm_s24le, 48000 Hz, mono, s32, 1152 kb/s
[Parsed_amerge_0 @ 00000000024d4aa0] No channel layout for input 1
[Parsed_amerge_0 @ 00000000024d4aa0] Input channel layouts overlap: output
layout will be determined by the number of distinct input channels
[libx264 @ 00000000047753a0] using SAR=1/1
[libx264 @ 00000000047753a0] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2 AVX
[libx264 @ 00000000047753a0] profile High, level 3.0
[libx264 @ 00000000047753a0] 264 - core 133 r2334 a3ac64b - H.264/MPEG-4 AVC
codec - Copyleft 2003-2013 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 dead
zone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1
sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0
constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1
weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40
intra_refresh=0 rc_lookahe
ad=40 rc=2pass mbtree=1 bitrate=1500 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69
qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00
Output #0, flv, to 'different.flv':
  Metadata:
    uid             : 90798c31-2fe4-11e2-b193-00e081d26969
    generation_uid  : 90798c32-2fe4-11e2-9f65-00e081d26969
    company_name    : Adobe Systems Incorporated
    product_name    : Adobe Premiere Pro
    product_version : 5.0.0
    application_platform: win32
    product_uid     : 10ab07a9-e89e-7510-a923-ea9220524153
    modification_date: 2012-11-16 11:55:49
    timecode        : 00:00:00:00
    encoder         : Lavf55.10.100
    Stream #0:0: Audio: aac ([10][0][0][0] / 0x000A), 44100 Hz, stereo,
fltp, 128 kb/s
    Stream #0:1: Video: h264 (libx264) ([7][0][0][0] / 0x0007), yuv420p,
640x360 [SAR 1:1 DAR 16:9], q=-1--1, pass 2, 1500 kb/s, 1k tbn, 25 tbc
Stream mapping:
  Stream #0:1 (pcm_s24le) -> amerge:in0 (graph 0)
  Stream #0:2 (pcm_s24le) -> amerge:in1 (graph 0)
  amerge (graph 0) -> Stream #0:0 (aac)
  Stream #0:0 -> #0:1 (mpeg2video -> libx264)
Press [q] to stop, [?] for help
[mpeg2video @ 00000000024abaa0] warning: first frame is no keyframe
    Last message repeated 1 times
frame= 7512 fps= 60 q=-1.0 Lsize=   60088kB time=00:05:00.49
bitrate=1638.1kbits/s
video:55022kB audio:4704kB subtitle:0 global headers:0kB muxing overhead
0.606587%
[libx264 @ 00000000047753a0] frame I:117   Avg QP:13.20  size: 27204
[libx264 @ 00000000047753a0] frame P:4401  Avg QP:15.57  size:  9706
[libx264 @ 00000000047753a0] frame B:2994  Avg QP:17.51  size:  3488
[libx264 @ 00000000047753a0] consecutive B-frames: 32.3% 38.9% 14.4% 14.4%
[libx264 @ 00000000047753a0] mb I  I16..4: 13.5% 69.2% 17.3%
[libx264 @ 00000000047753a0] mb P  I16..4:  1.0%  7.0%  1.2%  P16..4: 37.3%
30.2% 15.1%  0.0%  0.0%    skip: 8.2%
[libx264 @ 00000000047753a0] mb B  I16..4:  0.0%  0.7%  0.1%  B16..8: 45.6%
12.2%  2.9%  direct: 4.1%  skip:34.4%  L0:40.2% L1:45.2% BI:14.6%
[libx264 @ 00000000047753a0] 8x8 transform intra:75.0% inter:66.6%
[libx264 @ 00000000047753a0] coded y,uvDC,uvAC intra: 81.7% 64.3% 45.8%
inter: 38.6% 23.9% 3.7%
[libx264 @ 00000000047753a0] i16 v,h,dc,p: 47% 18%  6% 29%
[libx264 @ 00000000047753a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 10% 27%  5% 
7%  9%  6%  8%  6%
[libx264 @ 00000000047753a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 26% 14% 14%  6% 
9% 10%  8%  7%  5%
[libx264 @ 00000000047753a0] i8c dc,h,v,p: 58% 14% 19%  8%
[libx264 @ 00000000047753a0] Weighted P-Frames: Y:9.5% UV:1.6%
[libx264 @ 00000000047753a0] ref P L0: 60.0% 11.9% 18.7%  9.0%  0.5%
[libx264 @ 00000000047753a0] ref B L0: 78.2% 19.4%  2.5%
[libx264 @ 00000000047753a0] ref B L1: 94.8%  5.2%
[libx264 @ 00000000047753a0] kb/s:1500.05

Thanks,
Alex





--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Increase-volume-while-using-amerge-tp4659924.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list