[FFmpeg-user] Increase volume while using amerge

Nicolas George nicolas.george at normalesup.org
Thu Aug 29 15:25:14 CEST 2013


Le duodi 12 fructidor, an CCXXI, Alex a écrit :
> Stream mapping:
>   Stream #0:1 (pcm_s24le) -> amerge:in0 (graph 0)
>   Stream #0:2 (pcm_s24le) -> amerge:in1 (graph 0)
>   volume (graph 0) -> Stream #0:0 (mp2)
>   Stream #0:0 -> #0:1 (mpeg2video -> mpeg2video)
> 
> Is there a way to put the video to the first and the audio to the second
> stream?

You need to give a name for the pads in your filter chain and specify the
mapping:

  -lavfi '[0:1][0:2]amerge,volume[a]' -map 0:0 -map '[a]'

Specifying the inputs you want is good practice too IMHO.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130829/f2118b87/attachment.asc>


More information about the ffmpeg-user mailing list