[gst-devel] Video 3D support

Stefan Kost ensonic at hora-obscura.de
Fri May 21 11:31:32 CEST 2010


Am 18.05.2010 10:12, schrieb Martin Bisson:
> Hi,
> 
> I'm currently working on adding video 3D support for GStreamer, and I
> need a little advice from the community.
> 
> To summarize, I'm basically (starting by) developing a plugin that would
> take 2 video streams and convert them into one single stream.  The way I
> see it, this plugin would be made in the way of this example
> http://www.youtube.com/profile?v=UTOwV5IJq48&user=inouek3D
> <http://www.youtube.com/profile?v=UTOwV5IJq48&user=inouek3D> (see the
> "3D" drop down at the bottom right of the video).  This means that there
> would be a property in the plugin controlling the format of the output :
> the two streams could be merged side-to-side, one-on-top-of-the-other,
> interleaved, in a red-green combined video, etc.
> 
> My work is based on the proposal made for Google Summer of Code :
> http://gstreamer.freedesktop.org/wiki/Video3DSupport , and I would like
> to discuss the issue discussed in
> https://bugzilla.gnome.org/show_bug.cgi?id=611157.  I'm actually trying
> to get input on what needs to be added to GStreamer in order to provide
> proper 3D video support, by adding info to the 3D stream.  The different
> options could be any combination of:
> 
> 1) doing nothing : the resulting stream would just be treated as a
> "normal" video stream
> 2) adding caps : the caps could have information about the 3D video
> information (left-right, top-bottom, red-green, etc.)
> 3) adding buffer flags : the info would be in the buffer flags, like
> audio streams (number of "channels" (left/right video streams seen as
> left/right sound channels), etc.)
> 
> I would like to hear from interested people to know what would be the
> best way to add the 3D video info to the stream.  As a fairly new user
> to GStreamer, I think the simplest solution (consider the merged stream
> as a simple, normal, video stream) is viable, but I guess adding
> information to the stream might be useful when it comes to send this
> stream to 3D devices or to encoders.  That's why I'm asking you guys
> what flags and/or caps you think would be useful.
> 
As no one replied yet, please start with the last proposal in the comment. (caps
and buffer flags).

> Up 'till know, I have implemented a simple plugin stacking 2 streams one
> on top of the other using GstCollectPads.  If it can be any use to the
> discussion, I'll gladly send it (after cleaning up a little bit of my
> experimental dirt).  Also, if I'm not being clear, please say so and
> I'll do my best to make it clearer.

Please set up a github/gitourious barnch of gst-plugin-bad, there are several
people on irc then can help. Thats the most easiest way for us to follow. Don't
worry about having commented parts in the code for now :)

Stefan

> 
> Hope to hear back from you guys,
> 
> Martin
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> 
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list