I have tried to concatenate 2 video files (avi) into one sigle video:
cat input1.avi input2.avi | ffmpeg -f avi -i - -vcodec copy -acodec copy final.avi
.. but this does not concatenate the videos. The duration of the final video is not the sum of the input videos.
How can this be done correctly?