I am trying to combine audio and video using ffmpeg-python. my video file is 40mb and my audio file is 5mb but when i combine them i am getting 90mb which is abnormal. i was expecting the output file to be the size of the video file + the size of the audio file. My question is, how can I maintain the size of the output file to be equal to the size of the input video and audio file?
import ffmpeg
input_video = ffmpeg.input('video.mp4) input_audio = ffmpeg.input('audio.mp4')
ffmpeg.concat(input_video, input_audio, v=1, a=1).output('finished_video.mp4').run()