Video 3D support


3D Video is one of the buzzwords in home entertainment this year. TV and projectors get 3D ready. Blueray has 3D support (via H264 MVC [1]). HDMI got 3D support (in 1.4a [2]). There are 3D still image cameras [3].


Videostreams in GStreamer need to be enhanced to support interleaving for stereoscopic video. Right now we have flags for interlaced video only [4]. 3D video can be packaged as interlaced or side by side. In the case of side by side, it can be left/right or top/bottom packing. Left/right is popular for images as it also allows parallel or cross-eyed viewing. Top/bottom is more efficient as one can process the video without strides. This is discussed in bug #611157

Once the video buffer metadata flags have been agreed on and added, we need conversion plugins:

  • video3d-interleave: take two input streams of same caps and produce a 3D stream with correct buffer metadata according to variant selected via element property
  • video3d-deinterleave: take a 3D videostream and split into two separate streams
  • video3d-anaglyph: mix-down a 3D stream to a anaglyph rendering (red-green or red-cyan) As a result of the GSoc project it would be nice to be able to capture from two same v4l2 cameras and show the result as anaglyph video on the screen.

Another idea would be to write a 2d to 3d converter plugin based on the avisynth script [5].


  1. H264 Multi View Coding (MVC) (Implementation #1 Implementation #2)
  2. HDMI 1.4 3D
  3. FinePix REAL 3D W1
  4. Video Buffer Flags
  5. 2d to 3d converter
  6. Stereoscopy @ Wikipedia Mentor: Stefan Kost - ensonic on IRC (others welcome)

Back to TaskList

?CategoryGSOC2010 ?CategoryTasks