I need to join two video files file1 and file2.
File1 has to be converted to get the properties of file2 and then the two are supposed to be joined together into one file.
If the properties like codec, resolution etc are different, it is impossible to merge the two files.
Is there an easy way to copy the properties of file2 and then merge the files?
I have to do the same thing with many different files.
Neo
2
Well, you forgot to specify anything about the computer system you are using.
For example, on a Debian-based system:
apt-get install mediainfo
Example:
$ mediainfo "The Blues Brothers.mp4" | grep -E 'Duration|Format |Width|Height' | sort | uniq
Duration : 2h 27mn
Format : AAC
Format : AVC
Format : MPEG-4
Height : 688 pixels
Width : 1 280 pixels
Neo
4
So, you have your answer already then
(You're Welcome)
colt
5
Did you solve it already? If not I can show you how to do with ffmpeg.