<p>FFmpeg, a command line tool, can accomplish this, via this command.</p>

<pre><code>ffmpeg -i left -i right -lavfi [0:v][1:v]hstack -pix_fmt yuv420p -an combinedvideo.mp4
</code></pre>

<p>Replace <code>left</code> with filename of video to be positioned left. Same with <code>right</code>.</p>

<p>ffmpeg (32bit static build) can be downloaded from <a href="http://ffmpeg.zeranoe.com/builds/" rel="nofollow">here</a>. The ffmpeg.exe is in the <code>bin</code> folder of the archive.</p>

CC BY-SA 3.0
2015-12-09T19:16:51.680Z
This looks promising. I was able to make a quick test with it. Is there a recommended codec I should use? I tried to play the output .mp4 with Windows Media Player and it didn't work, but it played fine with ffplay. I should also resize the videos before doing this because the output was a bit huge (couldn't fit it on my screen in a mice way)
icebp
CC BY-SA 3.0
2015-12-09T19:34:38.647Z
To resize the output, you can chain on a scale filter, like this: `-lavfi [0:v][1:v]hstack,scale=1920:-1` This will produce an output 1920 pixels wide and of proportional height so the video isn't stretched or squashed. The default codec, when one isn't specified explicitly, is H.264, so it's strange that WMP doesn't play it.
Gyan
CC BY-SA 3.0
2015-12-09T19:47:06.800Z
I think something it's missing from my PC. When the output isn't .mp4 WMP plays it with no problems. Thanks :)
icebp
CC BY-SA 3.0
2015-12-09T19:49:08.960Z
If you have Quicktime installed, you can just change the final mp4 to mov
Gyan
CC BY-SA 3.0
2015-12-09T18:48:16.747Z
2015-12-09T18:48:16.747Z
Gyan
<p>I have two videos of the same length and I want to create one video with those 2 in a split screen manner. </p>

<p>I'm totally new to this field and I will probably never need to do this ever again so I'm looking for a quick and easy way that involves free software. </p>

<p>I tried VirtualDub but I'm lost in it's options and settings and I don't even know if it can do what I want to do. </p>

<p>EDIT: Context: each video is a recording of a PC screen. I want to show them in a split screen manner in order to display the way one PC influences the other. Audio is of no importance. </p>

CC BY-SA 3.0
2015-12-09T17:55:37.627Z
Do you want to show the full frame of both videos or only a portion?
Gyan
CC BY-SA 3.0
2015-12-09T18:23:36.683Z
I want to show the full frame of both
icebp
CC BY-SA 3.0
2015-12-09T18:29:03.423Z
What about the audio of each?
Gyan
CC BY-SA 3.0
2015-12-09T18:33:23.360Z
Audio is not important.
icebp
<freeware>
Creating a split screen effect
icebp
# Creating a split screen effect

(Asked by: username_0 on 2015-12-09)

I have two videos of the same length and I want to create one video with those 2 in a split screen manner.

I'm totally new to this field and I will probably never need to do this ever again so I'm looking for a quick and easy way that involves free software.

I tried VirtualDub but I'm lost in it's options and settings and I don't even know if it can do what I want to do.

EDIT: Context: each video is a recording of a PC screen. I want to show them in a split screen manner in order to display the way one PC influences the other. Audio is of no importance.

**Tags:** freeware

> **Comments:**
> **username_1**: Do you want to show the full frame of both videos or only a portion?  
> **username_0**: I want to show the full frame of both  
> **username_1**: What about the audio of each?  
> **username_0**: Audio is not important.  

---

## 1 answers

### Answer by username_1 on 2015-12-09. Score: 2 | Accepted answer

FFmpeg, a command line tool, can accomplish this, via this command.
ffmpeg -i left -i right -lavfi [0:v][1:v]hstack -pix_fmt yuv420p -an combinedvideo.mp4

Replace left with filename of video to be positioned left. Same with right.
ffmpeg (32bit static build) can be downloaded from here. The ffmpeg.exe is in the bin folder of the archive.

> **Comments:**
> **username_0**: This looks promising. I was able to make a quick test with it. Is there a recommended codec I should use? I tried to play the output .mp4 with Windows Media Player and it didn't work, but it played fine with ffplay. I should also resize the videos before doing this because the output was a bit huge (couldn't fit it on my screen in a mice way)  
> **username_1**: To resize the output, you can chain on a scale filter, like this: `-lavfi [0:v][1:v]hstack,scale=1920:-1` This will produce an output 1920 pixels wide and of proportional height so the video isn't stretched or squashed. The default codec, when one isn't specified explicitly, is H.264, so it's strange that WMP doesn't play it.  
> **username_0**: I think something it's missing from my PC. When the output isn't .mp4 WMP plays it with no problems. Thanks :)  
> **username_1**: If you have Quicktime installed, you can just change the final mp4 to mov  

---

