

They do not have any audio stream to them, so when I try to concat these videos the output file duration is smaller than the original videos combined.īelow is the metadata for the input files, Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file1.mp4':Ĭomment : vid:v09044eb0000bhte9i09pog20dbdosn0ĭuration: 00:00:15.12, start: 0.000000, bitrate: 797 kb/s Below is the ffmpeg command, ffmpeg -f concat -safe 0 -i input.txt -c copy video.mp4Īll the videos in input file have been split from a big file and converted using the below command, ffmpeg -i file1.mp4 -vcodec libx264 -filter_complex "scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -map "" -strict experimental _file1.mp4

I'm trying to merge multiple videos using ffmpeg but the output of concat is half the size of original videos.
