<p>This depends entirely on what kind of 3d video you want.  There are numerous formats for 3d video.  Some are as simple as placing the left and right images either side by side or one on top of the other (typically compressing them spatially to still take up the original space, for example 1080p video done like this ends up being wither 540 vertical pixels per eye or 960 horizontal ones.)  Others involve doubling the frame rate and interweaving the frames alternating between left and right.  Still other formats store the video files separately and stream them in parallel, possibly combined via timecode.  Some even use entirely separate files and just synchronize the players via the timecode (such as with 3d projection with dual projectors).</p>

<p>The split video is the easiest way to do it.  Most of the interwoven options involve special authoring (for things like 3D bluray) and I've only ever seen authoring options for 3D bluray on pretty high end (and expensive) authoring software.  The split option is easy to do and most 3D displays support it, the only downside is the resolution loss and the fact it typically has to be manually configured for playback.  It's by far the simplest and cheapest approach though.</p>

CC BY-SA 3.0
2013-09-03T15:53:33.717Z
2013-09-03T15:53:33.717Z
AJ Henderson
<p>I've got two video files, each created with ffmpeg from a series of JPEG images, which I've obtained from rendering with a stereo camera in Maya.</p>

<p>I would like to somehow merge together these videos to form a single stereoscopic video file, but I can't find anything that would do it. </p>

<p>I've looked at as much of the documentation for ffmpeg as I could find, but haven't found anything. Is there some way of doing it with ffmpeg, or should I be looking for some other piece of software.</p>

<p>An alternative solution would be to turn the two sets of jpeg files into a single set of .mpo files (a 3d image format), and then merge them into a 3d video, but I haven't had much luck working out how to do that either.</p>

<p>Thanks!</p>

CC BY-SA 3.0
2013-09-03T17:37:16.680Z
See the [`stereo3d`](https://ffmpeg.org/ffmpeg-filters.html#stereo3d) video filter, and also see [Stereoscopic 3D movies with ffmpeg](https://trac.ffmpeg.org/wiki/Stereoscopic).
llogan
<video><ffmpeg><3d>
Creating stereoscopic video from two video files
AdamHarries
# Creating stereoscopic video from two video files

(Asked by: username_0 on 2013-09-03)

I've got two video files, each created with ffmpeg from a series of JPEG images, which I've obtained from rendering with a stereo camera in Maya.

I would like to somehow merge together these videos to form a single stereoscopic video file, but I can't find anything that would do it.

I've looked at as much of the documentation for ffmpeg as I could find, but haven't found anything. Is there some way of doing it with ffmpeg, or should I be looking for some other piece of software.

An alternative solution would be to turn the two sets of jpeg files into a single set of .mpo files (a 3d image format), and then merge them into a 3d video, but I haven't had much luck working out how to do that either.

Thanks!

**Tags:** video, ffmpeg, 3d

> **Comments:**
> **username_1**: See the [`stereo3d`](https://ffmpeg.org/ffmpeg-filters.html#stereo3d) video filter, and also see [Stereoscopic 3D movies with ffmpeg](https://trac.ffmpeg.org/wiki/Stereoscopic).  

---

## 1 answers

### Answer by username_2 on 2013-09-03. Score: 3

This depends entirely on what kind of 3d video you want. There are numerous formats for 3d video. Some are as simple as placing the left and right images either side by side or one on top of the other (typically compressing them spatially to still take up the original space, for example 1080p video done like this ends up being wither 540 vertical pixels per eye or 960 horizontal ones.) Others involve doubling the frame rate and interweaving the frames alternating between left and right. Still other formats store the video files separately and stream them in parallel, possibly combined via timecode. Some even use entirely separate files and just synchronize the players via the timecode (such as with 3d projection with dual projectors).

The split video is the easiest way to do it. Most of the interwoven options involve special authoring (for things like 3D bluray) and I've only ever seen authoring options for 3D bluray on pretty high end (and expensive) authoring software. The split option is easy to do and most 3D displays support it, the only downside is the resolution loss and the fact it typically has to be manually configured for playback. It's by far the simplest and cheapest approach though.


---

