'FFMPEG how to increase the volume of copied audio?
I‘m combining video A.mp4 and B.mp4, producing video C.mp4, using A.mp4's audio:
ffmpeg \
-i A.mp4 \
-i B.mp4 \
-filter_complex "[0:v]pad=iw*2:ih[v_wide];[v_wide][1:v]overlay=W/2:0[out_video]" \
-map "[out_video]" \
-c:v libx265 \
-crf 28 \
-map 0:a:0 \
-c:a copy -y \
./C.mp4
But due to some reason, the audio of A.mp4 is too quiet, so I use the following procedure to increase its DB:
ffmpeg -i C.mp4 -af volume=20dB -c:v libx265 C_high_volume.mp4
The question is, can I combine the two steps into one (i.e. increasing the audio volume while coping it to C.mp4) so that I can save some processing time?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
