My mp4 videos have the same encoding: h264
I know because I ran this command on them:
ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 a.mp4
Now I combine them using the following command:
ffmpeg -loglevel quiet -f concat -safe 0 -i video-list.txt -c copy video-final.mp4
my video-list.txt file looks like this:
file 'a.mp4'
file 'b.mp4'
file 'c.mp4'
Now the video-final.mp4 which is the combined video actually has duration which is equal to the sum of its' component videos and also is quite larger in size. The issue is that when I play the video, it only plays the first video then stops.
What's going on here? Any insight would be appreciated.
I've looked at: ffmpeg: Combine/merge multiple mp4 videos not working, output only contains the first video and the answers suggested there are the ones I'm using: specifically, concating from a text file containing the component videos.