You are not logged in.

#1 2009-05-23 09:31:06

elflord
Member
From: France
Registered: 2008-11-09
Posts: 51

how to combine several videos into one side by side

Hi all:

I have 3 video clips showing the result of an experiment
i would like to show the 3 videos simultaneously so i would like to "merge" the 3 clips into one video that is wider in size.

what is the simplest way to achieve this ? i dont have matlab on my machine so i would prefer some common tools found on a archlinux box
i've checked pymedia but not yet found anything related

thanks

Offline

#2 2009-05-23 16:36:03

darthaxul
Member
Registered: 2008-09-24
Posts: 156

Re: how to combine several videos into one side by side

I saw this
http://www.linux.com/archive/feature/141593

I've only tried istanbul like last year, and it sucked royally. I dont know if there is a newer version now but u might try those three.

Offline

#3 2009-05-23 17:14:13

bintang
Member
Registered: 2009-04-15
Posts: 5

Re: how to combine several videos into one side by side

mencoder -oac copy -ovc copy -idx -o merged.avi clip1.avi clip2.avi clip3.avi

Offline

#4 2009-05-24 17:42:43

elflord
Member
From: France
Registered: 2008-11-09
Posts: 51

Re: how to combine several videos into one side by side

hi bintang
your command doesn't seem to work
the merged.avi merely links the three videos one after another
instead of putting them side by side

Offline

#5 2009-05-25 11:39:33

elflord
Member
From: France
Registered: 2008-11-09
Posts: 51

Re: how to combine several videos into one side by side

no one knows about it ?
imagemagick can combine images but they only seem to put images directly ontop of another

Offline

#6 2009-05-25 13:43:20

biloky
Member
Registered: 2008-03-02
Posts: 61

Re: how to combine several videos into one side by side

This might not be the proper way to do it, but... big_smile

Source: 01.mp4, 02.mp4 (both 320x240)
Output: out.avi (640x240)

$ mencoder -oac copy -ovc raw -vf expand=640:240:0:0 -o left.mp4 01.mp4 
$ mencoder -oac copy -ovc raw -vf expand=640:240:320:0 -o right.mp4 02.mp4
$ ffmpeg -i left.mp4 -vhook "/usr/lib/vhook/watermark.so -m 0 -t 000000 -f right.mp4" out.avi

Last edited by biloky (2009-05-25 13:43:57)

Offline

#7 2009-05-25 19:14:19

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: how to combine several videos into one side by side

It looks like cinelerra-cv can do it. Check out section 7.2 of the manual found here:

http://cinelerra.org/docs/

If that doesn't work for you, I can let you know how to do it with FFmpeg and montage (from Imagemagick). It won't be pretty and will take a ton of hard drive space, but it is possible.

Offline

#8 2013-08-11 00:11:35

pasc
Member
Registered: 2013-08-11
Posts: 1

Re: how to combine several videos into one side by side

skottish wrote:

It looks like cinelerra-cv can do it. Check out section 7.2 of the manual found here:

http://cinelerra.org/docs/

If that doesn't work for you, I can let you know how to do it with FFmpeg and montage (from Imagemagick). It won't be pretty and will take a ton of hard drive space, but it is possible.

Could you still let us know how to do this ?

Offline

#9 2013-08-11 00:18:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: how to combine several videos into one side by side


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB