Quote:
Virtual dub in wine. you will need to install the windows codecs first.
|
I don't have any idea why a Linux user would do that as long as ffmpeg is on the earth.
If the 2 videos are the same size, bitrate, framerate etc.
confile.txt
Code:
file 'video1.mp4'
file 'Video2.mp4'
file 'video3.mp4'
Code:
ffmpeg -f concat -i confile.txt -c:a copy -c:v copy Output.mp4
If they are different size, bitrate, framerate, etc.
Then you'll need to dump them to transport stream first
Code:
ffmpeg -i Video1.mp4 -c:a copy -c:v copy -bsf:v h264_mp4toannexb out1.ts
ffmpeg -i Video2.mp4 -c:a copy -c:v copy -bsf:v h264_mp4toannexb out2.ts
echo -e "file 'out1.ts'\nfile 'out2.ts'" > confile.txt
ffmpeg -f concat -i confile.txt -c:a copy -c:v copy Out.ts
ffmpeg -i Out.ts -c:a copy -c:v copy Out.mp4
That's one example.
When you have a free 2 hours, read:
man ffmpeg