C
C
Castiel2015-03-27 21:18:33
fmpeg
Castiel, 2015-03-27 21:18:33

FFMpeg merge two videos?

Actually how to merge two video files into one?
and then the question - is it possible to do this with two different files in terms of format and image size?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
monah_tuk, 2015-04-05
@monah_tuk

Depending on what you mean by merging:
1. You can create a file with two video tracks, similar to audio, but not all container formats can do this
2. You can merge files
For the second option, everything is simple:
https://trac.ffmpeg.org /wiki/Concatenate
In the case of different video parameters, here you need to look at the capabilities of the container. MPEG-TS allows this. But it can also be "glued" with a simple cat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question