I want to combine two videos such that we can see them on one screen. i.e. half screen for one video. Now my question is that is it possible using ffmpeg? if it is than what is the right way to do this.
Qasim Khan wrote:
I want to combine two videos such that we can see them on one screen. i.e. half screen for one video. Now my question is that is it possible using ffmpeg? if it is than what is the right way to do this.
No. The nearest ffmpeg can get to that, is to transform each video in a sequence of images; then you would use some command-line image processing tool to combine each copuple of images in one image. Then ffmpeg can be used to convert the sequence of joined images to a video. -- Michel Bardiaux R&D Director T +32 [0] 2 790 29 41 F +32 [0] 2 790 29 02 E mailto:mbardiaux at mediaxim.be Mediaxim NV/SA Vorstlaan 191 Boulevard du Souverain Brussel 1160 Bruxelles http://www.mediaxim.com/
Hi,
Qasim Khan wrote:
I want to combine two videos such that we can see them on one screen. i.e. half screen for one video. Now my question is that is it possible using ffmpeg? if it is than what is the right way to do this.
No. The nearest ffmpeg can get to that, is to transform each video in a sequence of images; then you would use some command-line image processing tool to combine each copuple of images in one image. Then ffmpeg can be used to convert the sequence of joined images to a video.
Another way would be to use the pip vhook. It didn't pass the approval process, but the source is archived in the ffmpeg-devel mail list. Just look for pip.c Regards, V?ctor
participants (3)
-
mbardiaux@mediaxim.be -
qasemkhan@gmail.com -
wzrlpy@arsystel.com